glslang: Bug 13724: ES global initializers must be constant.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30990 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
ERROR: 0:3: '{ } style initializers' : not supported with this profile: es
|
||||
ERROR: 0:3: 'initializer' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:3: 'array initializer' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:3: 'non-constant global initializer' : not supported with this profile: es
|
||||
ERROR: 0:4: '#version' : must occur first in shader
|
||||
ERROR: 0:7: 'attribute' : not supported in this stage: fragment
|
||||
ERROR: 0:7: 'float' : type requires declaration of default precision qualifier
|
||||
@@ -82,9 +83,10 @@ ERROR: 0:192: '.' : cannot apply to an array: nothing
|
||||
ERROR: 0:193: '.length' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:194: '.' : cannot apply to an array: method
|
||||
ERROR: 0:194: 'a' : can't use function syntax on variable
|
||||
ERROR: 0:214: 'non-constant global initializer' : not supported with this profile: es
|
||||
ERROR: 0:3000: '#error' : line of this error should be 3000
|
||||
ERROR: 0:3002: '' : syntax error
|
||||
ERROR: 76 compilation errors. No code generated.
|
||||
ERROR: 78 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 100
|
||||
@@ -352,6 +354,29 @@ ERROR: node is still EOpNull!
|
||||
0:193 5 (const int)
|
||||
0:194 Constant:
|
||||
0:194 0.000000
|
||||
0:199 Function Definition: fooinittest( (global mediump float)
|
||||
0:199 Function Parameters:
|
||||
0:201 Sequence
|
||||
0:201 Branch: Return with expression
|
||||
0:201 Function Call: fooinit( (global mediump float)
|
||||
0:209 Function Definition: fooinit( (global mediump float)
|
||||
0:209 Function Parameters:
|
||||
0:211 Sequence
|
||||
0:211 Branch: Return with expression
|
||||
0:211 Constant:
|
||||
0:211 12.000000
|
||||
0:214 Sequence
|
||||
0:214 move second child to first child (temp mediump int)
|
||||
0:214 'init1' (global mediump int)
|
||||
0:214 Test condition and select (temp mediump int)
|
||||
0:214 Condition
|
||||
0:214 'gl_FrontFacing' (gl_FrontFacing bool)
|
||||
0:214 true case
|
||||
0:214 Constant:
|
||||
0:214 1 (const int)
|
||||
0:214 false case
|
||||
0:214 Constant:
|
||||
0:214 2 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'a' (global 3-element array of mediump int)
|
||||
0:? 'uint' (global mediump int)
|
||||
@@ -376,6 +401,13 @@ ERROR: node is still EOpNull!
|
||||
0:? 'f124' (global mediump float)
|
||||
0:? 'sCube' (uniform lowp samplerCube)
|
||||
0:? 's' (smooth in structure{global mediump float f})
|
||||
0:? 'fi1' (const mediump float)
|
||||
0:? 3.000000
|
||||
0:? 'fi2' (const mediump float)
|
||||
0:? 4.000000
|
||||
0:? 'fi3' (const mediump float)
|
||||
0:? 5.000000
|
||||
0:? 'init1' (global mediump int)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
@@ -646,6 +678,29 @@ ERROR: node is still EOpNull!
|
||||
0:193 5 (const int)
|
||||
0:194 Constant:
|
||||
0:194 0.000000
|
||||
0:199 Function Definition: fooinittest( (global mediump float)
|
||||
0:199 Function Parameters:
|
||||
0:201 Sequence
|
||||
0:201 Branch: Return with expression
|
||||
0:201 Function Call: fooinit( (global mediump float)
|
||||
0:209 Function Definition: fooinit( (global mediump float)
|
||||
0:209 Function Parameters:
|
||||
0:211 Sequence
|
||||
0:211 Branch: Return with expression
|
||||
0:211 Constant:
|
||||
0:211 12.000000
|
||||
0:214 Sequence
|
||||
0:214 move second child to first child (temp mediump int)
|
||||
0:214 'init1' (global mediump int)
|
||||
0:214 Test condition and select (temp mediump int)
|
||||
0:214 Condition
|
||||
0:214 'gl_FrontFacing' (gl_FrontFacing bool)
|
||||
0:214 true case
|
||||
0:214 Constant:
|
||||
0:214 1 (const int)
|
||||
0:214 false case
|
||||
0:214 Constant:
|
||||
0:214 2 (const int)
|
||||
0:? Linker Objects
|
||||
0:? 'a' (global 3-element array of mediump int)
|
||||
0:? 'uint' (global mediump int)
|
||||
@@ -670,4 +725,11 @@ ERROR: node is still EOpNull!
|
||||
0:? 'f124' (global mediump float)
|
||||
0:? 'sCube' (uniform lowp samplerCube)
|
||||
0:? 's' (smooth in structure{global mediump float f})
|
||||
0:? 'fi1' (const mediump float)
|
||||
0:? 3.000000
|
||||
0:? 'fi2' (const mediump float)
|
||||
0:? 4.000000
|
||||
0:? 'fi3' (const mediump float)
|
||||
0:? 5.000000
|
||||
0:? 'init1' (global mediump int)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user