Modify atomic_uint binding check
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.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user