projects
/
platform
/
upstream
/
glslang.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
EndStreamPrimitive not supported when there is #extension GL_ARB_gpu_shader5
[platform/upstream/glslang.git]
/
Test
/
negativeWorkGroupSize.comp
1
#version 460
2
3
void fn(){
4
uvec3 wgs = gl_WorkGroupSize; // error: fixed workgroup size has not been declared
5
}
6
7
layout(local_size_x = 64) in; // declare workgroup size
8
9
void main(){
10
fn();
11
uvec3 wgs = gl_WorkGroupSize; // valid
12
}