Turn on ESSL 3.1 for most features:
- images: load/store, memory qualifiers - buffer blocks - compute shaders - atomic counters - texture gather - SSO - uniform locations - all the numeric-based version # comparisons git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27710 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -19,11 +19,11 @@ ERROR: 0:85: 'dvec3' : Reserved word.
|
||||
ERROR: 0:85: 'double vector' : not supported with this profile: es
|
||||
ERROR: 0:86: 'dvec4' : Reserved word.
|
||||
ERROR: 0:86: 'double vector' : not supported with this profile: es
|
||||
ERROR: 0:101: 'arrays of arrays' : not supported with this profile: es
|
||||
ERROR: 0:102: 'arrays of arrays' : not supported with this profile: es
|
||||
ERROR: 0:102: 'arrays of arrays' : not supported with this profile: es
|
||||
ERROR: 0:103: 'arrays of arrays' : not supported with this profile: es
|
||||
ERROR: 0:100: 'arrays of arrays' : not supported with this profile: es
|
||||
ERROR: 0:101: 'arrays of arrays' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:102: 'arrays of arrays' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:102: 'arrays of arrays' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:103: 'arrays of arrays' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:100: 'arrays of arrays' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:111: 'variable indexing fragment shader ouput array' : not supported with this profile: es
|
||||
ERROR: 0:119: '==' : can't use with samplers or structs containing samplers
|
||||
ERROR: 0:120: '!=' : can't use with samplers or structs containing samplers
|
||||
|
||||
@@ -16,8 +16,8 @@ ERROR: 0:18: 'uniform' : too many storage qualifiers
|
||||
ERROR: 0:56: '#error' : GL_ES is set
|
||||
ERROR: 0:62: '' : array size required
|
||||
ERROR: 0:63: '' : array size required
|
||||
ERROR: 0:65: '' : array size required
|
||||
ERROR: 0:64: '' : array size required
|
||||
ERROR: 0:65: 'implicitly-sized array in a block' : not supported with this profile: es
|
||||
ERROR: 0:67: '' : array size required
|
||||
ERROR: 0:76: 'invariant' : cannot change qualification after use
|
||||
ERROR: 0:78: 'invariant' : can only apply to an output: invIn
|
||||
@@ -38,7 +38,8 @@ ERROR: 0:149: 'float' : cannot apply precision statement to this type; use 'floa
|
||||
ERROR: 0:168: 'Binst' : cannot add storage, auxiliary, memory, interpolation, layout, or precision qualifier to an existing variable
|
||||
ERROR: 0:169: 'Bblock' : cannot add storage, auxiliary, memory, interpolation, layout, or precision qualifier to an existing variable
|
||||
ERROR: 0:170: 'Bfoo' : cannot add storage, auxiliary, memory, interpolation, layout, or precision qualifier to an existing variable
|
||||
ERROR: 39 compilation errors. No code generated.
|
||||
ERROR: 0:173: '' : array size required
|
||||
ERROR: 40 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 300
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
300layout.frag
|
||||
ERROR: 0:4: 'location qualifier on input' : not supported in this stage: fragment
|
||||
ERROR: 0:4: 'location qualifier on input' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:18: 'location' : overlapping use of location 41
|
||||
ERROR: 0:19: 'location' : overlapping use of location 40
|
||||
ERROR: 3 compilation errors. No code generated.
|
||||
ERROR: 4 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 300
|
||||
|
||||
@@ -13,11 +13,12 @@ ERROR: 0:23: 'bad3' : member of block cannot have a packing layout qualifier
|
||||
ERROR: 0:31: 'T3' : nameless block contains a member that already has a name at global scope
|
||||
ERROR: 0:38: 'output block' : not supported with this profile: es
|
||||
ERROR: 0:42: 'location qualifier on output' : not supported in this stage: vertex
|
||||
ERROR: 0:50: 'shared' : not supported with this profile: es
|
||||
ERROR: 0:42: 'location qualifier on output' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:50: 'shared' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:50: 'shared' : not supported in this stage: vertex
|
||||
ERROR: 0:54: 'layout' : cannot specify packing on a variable declaration
|
||||
ERROR: 0:57: 'location' : overlapping use of location 40
|
||||
ERROR: 18 compilation errors. No code generated.
|
||||
ERROR: 19 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 300
|
||||
|
||||
@@ -2,7 +2,7 @@ atomic_uint.frag
|
||||
Warning, version 420 is not yet complete; most version-specific features are present, but some are missing.
|
||||
ERROR: 0:10: 'atomic_uint' : samplers and atomic_uints cannot be output parameters
|
||||
ERROR: 0:12: 'return' : type does not match, or is not convertible to, the function's return type
|
||||
ERROR: 0:17: 'atomic_uint' : atomic_uints can only be used in uniform variables or function parameters: non_uniform_counter
|
||||
ERROR: 0:18: 'atomic_uint' : atomic_uints can only be used in uniform variables or function parameters: non_uniform_counter
|
||||
ERROR: 3 compilation errors. No code generated.
|
||||
|
||||
|
||||
@@ -21,16 +21,19 @@ ERROR: node is still EOpNull!
|
||||
0:12 Sequence
|
||||
0:12 Branch: Return with expression
|
||||
0:12 'counter' (layout(binding=0 ) uniform atomic_uint)
|
||||
0:15 Function Definition: main( (void)
|
||||
0:15 Function Parameters:
|
||||
0:13 Branch: Return with expression
|
||||
0:13 Function Call: atomicCounter(au1; (uint)
|
||||
0:13 'counter' (layout(binding=0 ) uniform atomic_uint)
|
||||
0:16 Function Definition: main( (void)
|
||||
0:16 Function Parameters:
|
||||
0:? Sequence
|
||||
0:18 Sequence
|
||||
0:18 move second child to first child (uint)
|
||||
0:18 'val' (uint)
|
||||
0:18 Function Call: atomicCounter(au1; (uint)
|
||||
0:18 'counter' (layout(binding=0 ) uniform atomic_uint)
|
||||
0:19 Function Call: atomicCounterDecrement(au1; (uint)
|
||||
0:19 'counter' (layout(binding=0 ) uniform atomic_uint)
|
||||
0:19 Sequence
|
||||
0:19 move second child to first child (uint)
|
||||
0:19 'val' (uint)
|
||||
0:19 Function Call: atomicCounter(au1; (uint)
|
||||
0:19 'counter' (layout(binding=0 ) uniform atomic_uint)
|
||||
0:20 Function Call: atomicCounterDecrement(au1; (uint)
|
||||
0:20 'counter' (layout(binding=0 ) uniform atomic_uint)
|
||||
0:? Linker Objects
|
||||
0:? 'counter' (layout(binding=0 ) uniform atomic_uint)
|
||||
|
||||
@@ -53,16 +56,19 @@ ERROR: node is still EOpNull!
|
||||
0:12 Sequence
|
||||
0:12 Branch: Return with expression
|
||||
0:12 'counter' (layout(binding=0 ) uniform atomic_uint)
|
||||
0:15 Function Definition: main( (void)
|
||||
0:15 Function Parameters:
|
||||
0:13 Branch: Return with expression
|
||||
0:13 Function Call: atomicCounter(au1; (uint)
|
||||
0:13 'counter' (layout(binding=0 ) uniform atomic_uint)
|
||||
0:16 Function Definition: main( (void)
|
||||
0:16 Function Parameters:
|
||||
0:? Sequence
|
||||
0:18 Sequence
|
||||
0:18 move second child to first child (uint)
|
||||
0:18 'val' (uint)
|
||||
0:18 Function Call: atomicCounter(au1; (uint)
|
||||
0:18 'counter' (layout(binding=0 ) uniform atomic_uint)
|
||||
0:19 Function Call: atomicCounterDecrement(au1; (uint)
|
||||
0:19 'counter' (layout(binding=0 ) uniform atomic_uint)
|
||||
0:19 Sequence
|
||||
0:19 move second child to first child (uint)
|
||||
0:19 'val' (uint)
|
||||
0:19 Function Call: atomicCounter(au1; (uint)
|
||||
0:19 'counter' (layout(binding=0 ) uniform atomic_uint)
|
||||
0:20 Function Call: atomicCounterDecrement(au1; (uint)
|
||||
0:20 'counter' (layout(binding=0 ) uniform atomic_uint)
|
||||
0:? Linker Objects
|
||||
0:? 'counter' (layout(binding=0 ) uniform atomic_uint)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user