projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #2908 from Biswa96/cmake-spirv-remap
[platform/upstream/glslang.git]
/
Test
/
spv.1.6.specConstant.comp
1
#version 450
2
3
layout(local_size_x_id = 18, local_size_z_id = 19) in;
4
layout(local_size_x = 32, local_size_y = 32) in;
5
6
buffer bn {
7
uint a;
8
} bi;
9
10
void foo(uvec3 wgs)
11
{
12
bi.a = wgs.x * gl_WorkGroupSize.y * wgs.z;
13
}
14
15
void main()
16
{
17
foo(gl_WorkGroupSize);
18
}