diff options
Diffstat (limited to 'chromium/third_party/glslang/src/Test/spv.specConstant.comp')
-rw-r--r-- | chromium/third_party/glslang/src/Test/spv.specConstant.comp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/spv.specConstant.comp b/chromium/third_party/glslang/src/Test/spv.specConstant.comp new file mode 100644 index 00000000000..e50f40d847e --- /dev/null +++ b/chromium/third_party/glslang/src/Test/spv.specConstant.comp @@ -0,0 +1,13 @@ +#version 450 + +layout(local_size_x_id = 18, local_size_z_id = 19) in; +layout(local_size_x = 32, local_size_y = 32) in; + +buffer bn { + uint a; +} bi; + +void main() +{ + bi.a = gl_WorkGroupSize.x * gl_WorkGroupSize.y * gl_WorkGroupSize.z; +} |