Implement atomic counter offset semantics.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27760 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -38,9 +38,10 @@ ERROR: 0:119: 'r8ui' : does not apply to signed integer images
|
||||
ERROR: 0:128: 'atomic_uint' : samplers and atomic_uints cannot be output parameters
|
||||
ERROR: 0:130: 'return' : type does not match, or is not convertible to, the function's return type
|
||||
ERROR: 0:136: 'atomic_uint' : atomic_uints can only be used in uniform variables or function parameters: non_uniform_counter
|
||||
ERROR: 0:136: 'atomic_uint' : layout(binding=X) is required
|
||||
ERROR: 0:141: 'atomic_uint' : atomic counters can only be highp
|
||||
ERROR: 0:141: 'binding' : cannot be greater-than-or-equal to gl_MaxAtomicCounterBindings
|
||||
ERROR: 0:143: 'binding' : cannot be greater-than-or-equal to gl_MaxAtomicCounterBindings
|
||||
ERROR: 0:141: 'binding' : atomic_uint binding is too large; see gl_MaxAtomicCounterBindings
|
||||
ERROR: 0:143: 'binding' : atomic_uint binding is too large; see gl_MaxAtomicCounterBindings
|
||||
ERROR: 0:149: '[]' : scalar integer expression required
|
||||
ERROR: 0:166: 'precision' : can only apply highp to atomic_uint
|
||||
ERROR: 0:168: 'precise' : Reserved word.
|
||||
@@ -56,7 +57,7 @@ ERROR: 0:173: '' : image variables not declared 'writeonly' must have a format l
|
||||
ERROR: 0:174: 'uimage2DMSArray' : Reserved word.
|
||||
ERROR: 0:174: 'sampler/image' : type requires declaration of default precision qualifier
|
||||
ERROR: 0:174: '' : image variables not declared 'writeonly' must have a format layout qualifier
|
||||
ERROR: 56 compilation errors. No code generated.
|
||||
ERROR: 57 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 310
|
||||
@@ -174,10 +175,10 @@ ERROR: node is still EOpNull!
|
||||
0:128 'c' (out highp atomic_uint)
|
||||
0:130 Sequence
|
||||
0:130 Branch: Return with expression
|
||||
0:130 'counter' (layout(binding=0 ) uniform highp atomic_uint)
|
||||
0:130 'counter' (layout(binding=0 offset=0 ) uniform highp atomic_uint)
|
||||
0:131 Branch: Return with expression
|
||||
0:131 Function Call: atomicCounter(au1; (highp uint)
|
||||
0:131 'counter' (layout(binding=0 ) uniform highp atomic_uint)
|
||||
0:131 'counter' (layout(binding=0 offset=0 ) uniform highp atomic_uint)
|
||||
0:134 Function Definition: mainAC( (void)
|
||||
0:134 Function Parameters:
|
||||
0:? Sequence
|
||||
@@ -185,15 +186,15 @@ ERROR: node is still EOpNull!
|
||||
0:137 move second child to first child (highp uint)
|
||||
0:137 'val' (highp uint)
|
||||
0:137 Function Call: atomicCounter(au1; (highp uint)
|
||||
0:137 'counter' (layout(binding=0 ) uniform highp atomic_uint)
|
||||
0:137 'counter' (layout(binding=0 offset=0 ) uniform highp atomic_uint)
|
||||
0:138 Function Call: atomicCounterDecrement(au1; (highp uint)
|
||||
0:138 'counter' (layout(binding=0 ) uniform highp atomic_uint)
|
||||
0:138 'counter' (layout(binding=0 offset=0 ) uniform highp atomic_uint)
|
||||
0:146 Function Definition: opac( (void)
|
||||
0:146 Function Parameters:
|
||||
0:? Sequence
|
||||
0:149 indirect index (highp int)
|
||||
0:149 'a' (3-element array of highp int)
|
||||
0:149 'counter' (layout(binding=0 ) uniform highp atomic_uint)
|
||||
0:149 'counter' (layout(binding=0 offset=0 ) uniform highp atomic_uint)
|
||||
0:150 direct index (layout(binding=2 offset=4 ) highp atomic_uint)
|
||||
0:150 'countArr' (layout(binding=2 offset=4 ) uniform 4-element array of highp atomic_uint)
|
||||
0:150 Constant:
|
||||
@@ -270,7 +271,7 @@ ERROR: node is still EOpNull!
|
||||
0:? 'i4bad' (layout(r8_snorm ) uniform highp iimage2D)
|
||||
0:? 'i5bad' (layout(rgba32ui ) uniform highp iimage2D)
|
||||
0:? 'i6bad' (layout(r8ui ) uniform highp iimage2D)
|
||||
0:? 'counter' (layout(binding=0 ) uniform highp atomic_uint)
|
||||
0:? 'counter' (layout(binding=0 offset=0 ) uniform highp atomic_uint)
|
||||
0:? 'counterBad' (layout(binding=1 ) uniform mediump atomic_uint)
|
||||
0:? 'countArr' (layout(binding=2 offset=4 ) uniform 4-element array of highp atomic_uint)
|
||||
0:? 'i' (uniform highp int)
|
||||
@@ -402,10 +403,10 @@ ERROR: node is still EOpNull!
|
||||
0:128 'c' (out highp atomic_uint)
|
||||
0:130 Sequence
|
||||
0:130 Branch: Return with expression
|
||||
0:130 'counter' (layout(binding=0 ) uniform highp atomic_uint)
|
||||
0:130 'counter' (layout(binding=0 offset=0 ) uniform highp atomic_uint)
|
||||
0:131 Branch: Return with expression
|
||||
0:131 Function Call: atomicCounter(au1; (highp uint)
|
||||
0:131 'counter' (layout(binding=0 ) uniform highp atomic_uint)
|
||||
0:131 'counter' (layout(binding=0 offset=0 ) uniform highp atomic_uint)
|
||||
0:134 Function Definition: mainAC( (void)
|
||||
0:134 Function Parameters:
|
||||
0:? Sequence
|
||||
@@ -413,15 +414,15 @@ ERROR: node is still EOpNull!
|
||||
0:137 move second child to first child (highp uint)
|
||||
0:137 'val' (highp uint)
|
||||
0:137 Function Call: atomicCounter(au1; (highp uint)
|
||||
0:137 'counter' (layout(binding=0 ) uniform highp atomic_uint)
|
||||
0:137 'counter' (layout(binding=0 offset=0 ) uniform highp atomic_uint)
|
||||
0:138 Function Call: atomicCounterDecrement(au1; (highp uint)
|
||||
0:138 'counter' (layout(binding=0 ) uniform highp atomic_uint)
|
||||
0:138 'counter' (layout(binding=0 offset=0 ) uniform highp atomic_uint)
|
||||
0:146 Function Definition: opac( (void)
|
||||
0:146 Function Parameters:
|
||||
0:? Sequence
|
||||
0:149 indirect index (highp int)
|
||||
0:149 'a' (3-element array of highp int)
|
||||
0:149 'counter' (layout(binding=0 ) uniform highp atomic_uint)
|
||||
0:149 'counter' (layout(binding=0 offset=0 ) uniform highp atomic_uint)
|
||||
0:150 direct index (layout(binding=2 offset=4 ) highp atomic_uint)
|
||||
0:150 'countArr' (layout(binding=2 offset=4 ) uniform 4-element array of highp atomic_uint)
|
||||
0:150 Constant:
|
||||
@@ -498,7 +499,7 @@ ERROR: node is still EOpNull!
|
||||
0:? 'i4bad' (layout(r8_snorm ) uniform highp iimage2D)
|
||||
0:? 'i5bad' (layout(rgba32ui ) uniform highp iimage2D)
|
||||
0:? 'i6bad' (layout(r8ui ) uniform highp iimage2D)
|
||||
0:? 'counter' (layout(binding=0 ) uniform highp atomic_uint)
|
||||
0:? 'counter' (layout(binding=0 offset=0 ) uniform highp atomic_uint)
|
||||
0:? 'counterBad' (layout(binding=1 ) uniform mediump atomic_uint)
|
||||
0:? 'countArr' (layout(binding=2 offset=4 ) uniform 4-element array of highp atomic_uint)
|
||||
0:? 'i' (uniform highp int)
|
||||
|
||||
Reference in New Issue
Block a user