Merge pull request #1124 from xorgy/check-inner-implicit-atomic-uint
GLSL: Check for implicit inner dimension in array of atomic_uint.
This commit is contained in:
commit
b5b0846244
4 changed files with 25 additions and 1 deletions
21
Test/baseResults/implicitInnerAtomicUint.frag.out
Normal file
21
Test/baseResults/implicitInnerAtomicUint.frag.out
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
implicitInnerAtomicUint.frag
|
||||
ERROR: 0:2: '[]' : only outermost dimension of an array of arrays can be implicitly sized
|
||||
ERROR: 0:2: 'atomic_uint' : array must be explicitly sized
|
||||
ERROR: 2 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 460
|
||||
ERROR: node is still EOpNull!
|
||||
0:? Linker Objects
|
||||
0:? 'c' (layout( binding=0 offset=0) uniform 1-element array of implicitly-sized array of atomic_uint)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
||||
ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point
|
||||
|
||||
Shader version: 460
|
||||
ERROR: node is still EOpNull!
|
||||
0:? Linker Objects
|
||||
0:? 'c' (layout( binding=0 offset=0) uniform 1-element array of implicitly-sized array of atomic_uint)
|
||||
|
||||
2
Test/implicitInnerAtomicUint.frag
Normal file
2
Test/implicitInnerAtomicUint.frag
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#version 460
|
||||
layout(binding = 0) uniform atomic_uint c[1][];
|
||||
Loading…
Add table
Add a link
Reference in a new issue