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 #2892 from greg-lunarg/mb
[platform/upstream/glslang.git]
/
Test
/
spv.subgroup.tesc
1
#version 450
\r
2
#extension GL_KHR_shader_subgroup_basic: enable
\r
3
layout(vertices=1) out;
\r
4
layout(set = 0, binding = 0, std430) buffer Output
\r
5
{
\r
6
uvec4 result[];
\r
7
};
\r
8
\r
9
void main (void)
\r
10
{
\r
11
result[gl_PrimitiveID] = uvec4(gl_SubgroupSize, gl_SubgroupInvocationID, 0, 0);
\r
12
}
\r