GLSL: Disallow unsized arrays of atomic_uint.

This tracks Khronos-private specification bug 15945.
This commit is contained in:
John Kessenich
2017-06-08 10:07:14 -06:00
parent 885443c788
commit c5f2ab965f
2 changed files with 4 additions and 8 deletions

View File

@@ -2,8 +2,8 @@
ERROR: 0:4: 'redeclaration' : all redeclarations must use the same depth layout on gl_FragDepth
ERROR: 0:11: 'layout qualifier' : can only apply depth layout to gl_FragDepth
ERROR: 0:12: 'gl_FragDepth' : cannot redeclare after use
WARNING: 0:14: 'atomic_uint' : implicitly sized atomic_uint array treated as having one element for tracking the default offset
ERROR: 3 compilation errors. No code generated.
ERROR: 0:14: 'atomic_uint' : array must be explicitly sized
ERROR: 4 compilation errors. No code generated.
Shader version: 420