mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-10 04:20:06 +00:00
891ec09c62
Modify atomic_uint binding check. Currently, when not declared with offset, default atomic_unint won't check whether its binding is valid or not more than its limit value.
10 lines
207 B
Plaintext
10 lines
207 B
Plaintext
#version 450 core
|
|
layout(local_size_x = 0) in; // ERROR, 0 not allowed
|
|
|
|
layout(binding=10000) uniform atomic_uint; // ERROR
|
|
|
|
void main()
|
|
{
|
|
shared float f; // ERROR shared must be global
|
|
}
|