repo.or.cz
/
glslang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump github/codeql-action from 3.27.1 to 3.27.4
[glslang.git]
/
Test
/
negativeWorkGroupSize.comp
blob
1f007d0c19b39093e9a274c4cd2a6ac13954bf5d
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
}