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,14 +1,15 @@
|
||||
450.comp
|
||||
ERROR: 0:2: 'local_size_x' : must be at least 1
|
||||
ERROR: 0:5: 'shared' : not allowed in nested scope
|
||||
ERROR: 2 compilation errors. No code generated.
|
||||
ERROR: 0:4: 'binding' : atomic_uint binding is too large
|
||||
ERROR: 0:8: 'shared' : not allowed in nested scope
|
||||
ERROR: 3 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 450
|
||||
local_size = (1, 1, 1)
|
||||
ERROR: node is still EOpNull!
|
||||
0:3 Function Definition: main( ( global void)
|
||||
0:3 Function Parameters:
|
||||
0:6 Function Definition: main( ( global void)
|
||||
0:6 Function Parameters:
|
||||
0:? Linker Objects
|
||||
|
||||
|
||||
@@ -18,7 +19,7 @@ Linked compute stage:
|
||||
Shader version: 450
|
||||
local_size = (1, 1, 1)
|
||||
ERROR: node is still EOpNull!
|
||||
0:3 Function Definition: main( ( global void)
|
||||
0:3 Function Parameters:
|
||||
0:6 Function Definition: main( ( global void)
|
||||
0:6 Function Parameters:
|
||||
0:? Linker Objects
|
||||
|
||||
|
||||
Reference in New Issue
Block a user