mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-24 19:59:40 +00:00
1c62806468
Fix 2479.
13 lines
240 B
Plaintext
13 lines
240 B
Plaintext
#version 460
|
|
|
|
void fn(){
|
|
uvec3 wgs = gl_WorkGroupSize; // error: fixed workgroup size has not been declared
|
|
}
|
|
|
|
layout(local_size_x = 64) in; // declare workgroup size
|
|
|
|
void main(){
|
|
fn();
|
|
uvec3 wgs = gl_WorkGroupSize; // valid
|
|
}
|