summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/3rdparty/glslang/Test/420.comp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/3rdparty/glslang/Test/420.comp')
-rw-r--r--3rdparty/bgfx/3rdparty/glslang/Test/420.comp30
1 files changed, 0 insertions, 30 deletions
diff --git a/3rdparty/bgfx/3rdparty/glslang/Test/420.comp b/3rdparty/bgfx/3rdparty/glslang/Test/420.comp
deleted file mode 100644
index d92e6f0d0e5..00000000000
--- a/3rdparty/bgfx/3rdparty/glslang/Test/420.comp
+++ /dev/null
@@ -1,30 +0,0 @@
-#version 420
-
-layout(local_size_x = 2) in; // ERROR, no compute
-
-#extension GL_ARB_compute_shader : enable
-
-layout(local_size_x = 2, local_size_y = 4, local_size_z = 6) in;
-
-shared vec3 sfoo;
-
-void main()
-{
- sfoo = vec3(gl_WorkGroupSize.x, gl_WorkGroupSize.y, gl_WorkGroupSize.z);
- sfoo += gl_WorkGroupSize + gl_NumWorkGroups + gl_WorkGroupID + gl_LocalInvocationID + gl_GlobalInvocationID;
- sfoo *= gl_LocalInvocationIndex;
- sfoo += gl_MaxComputeWorkGroupCount + gl_MaxComputeWorkGroupSize;
- sfoo *= gl_MaxComputeUniformComponents +
- gl_MaxComputeTextureImageUnits +
- gl_MaxComputeImageUniforms +
- gl_MaxComputeAtomicCounters +
- gl_MaxComputeAtomicCounterBuffers;
-
- barrier();
- memoryBarrier();
- memoryBarrierAtomicCounter();
- memoryBarrierBuffer();
- memoryBarrierImage();
- memoryBarrierShared();
- groupMemoryBarrier();
-} \ No newline at end of file