glslang/Test/baseResults/array100.frag.out
John Kessenich cf0206c341 Restore r26245 and all tests and test results since 4/1:
r26245: Remove "not yet complete" warning for versions 130 and 140, after tidying up a bit and adding tests.  Token pasting is the only known missing feature, and gives its own message now on use.


git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26226 e7fa87d3-cd2b-0410-9028-fcbf551c1848
2014-04-14 15:46:40 +00:00

297 lines
16 KiB
Plaintext

array100.frag
ERROR: 0:3: 'float' : type requires declaration of default precision qualifier
ERROR: 0:3: '' : array size required
ERROR: 0:9: 'arrayed type' : not supported for this version or the enabled extensions
ERROR: 0:9: 'arrayed type' : not supported for this version or the enabled extensions
ERROR: 0:9: 'array in function return type' : not supported for this version or the enabled extensions
ERROR: 0:11: 'arrayed constructor' : not supported for this version or the enabled extensions
ERROR: 0:21: '[' : array index out of range '2'
ERROR: 0:24: 'array assignment' : not supported for this version or the enabled extensions
ERROR: 0:25: 'array assignment' : not supported for this version or the enabled extensions
ERROR: 0:25: 'assign' : cannot convert from '4-element array of mediump float' to '5-element array of mediump float'
ERROR: 0:26: 'array assignment' : not supported for this version or the enabled extensions
ERROR: 0:26: 'assign' : cannot convert from '4-element array of mediump float' to 'implicitly-sized array of mediump float'
ERROR: 0:28: 'foo' : no matching overloaded function found
ERROR: 0:31: 'arrayed constructor' : not supported for this version or the enabled extensions
ERROR: 0:31: 'array comparison' : not supported for this version or the enabled extensions
ERROR: 0:35: '[' : array index out of range '5'
ERROR: 0:38: '[' : array index out of range '1000'
ERROR: 0:39: '[' : index out of range '-1'
ERROR: 0:53: 'array in function return type' : not supported for this version or the enabled extensions
ERROR: 0:66: 'array assignment' : not supported for this version or the enabled extensions
ERROR: 0:68: 'array assignment' : not supported for this version or the enabled extensions
ERROR: 0:69: 'array initializer' : not supported for this version or the enabled extensions
ERROR: 22 compilation errors. No code generated.
Shader version: 100
ERROR: node is still EOpNull!
0:9 Function Definition: foo(f1[5]; (4-element array of mediump float)
0:9 Function Parameters:
0:9 'a' (in 5-element array of mediump float)
0:11 Sequence
0:11 Branch: Return with expression
0:11 Construct float (4-element array of float)
0:11 direct index (mediump float)
0:11 'a' (in 5-element array of mediump float)
0:11 Constant:
0:11 0 (const int)
0:11 direct index (mediump float)
0:11 'a' (in 5-element array of mediump float)
0:11 Constant:
0:11 1 (const int)
0:11 direct index (mediump float)
0:11 'a' (in 5-element array of mediump float)
0:11 Constant:
0:11 2 (const int)
0:11 direct index (mediump float)
0:11 'a' (in 5-element array of mediump float)
0:11 Constant:
0:11 3 (const int)
0:14 Function Definition: bar(f1[5]; (void)
0:14 Function Parameters:
0:14 '' (in 5-element array of mediump float)
0:16 Function Definition: main( (void)
0:16 Function Parameters:
0:? Sequence
0:? Sequence
0:21 move second child to first child (mediump float)
0:21 direct index (mediump float)
0:21 'gu' (2-element array of mediump float)
0:21 Constant:
0:21 2 (const int)
0:21 Constant:
0:21 4.000000
0:24 move second child to first child (4-element array of mediump float)
0:24 'g4' (4-element array of mediump float)
0:24 Function Call: foo(f1[5]; (4-element array of mediump float)
0:24 'g5' (5-element array of mediump float)
0:25 'g5' (5-element array of mediump float)
0:26 'gu' (implicitly-sized array of mediump float)
0:28 Constant:
0:28 0.000000
0:29 Function Call: bar(f1[5]; (void)
0:29 'g5' (5-element array of mediump float)
0:31 Test condition and select (void)
0:31 Condition
0:31 Compare Equal (bool)
0:31 Constant:
0:31 1.000000
0:31 2.000000
0:31 3.000000
0:31 4.000000
0:31 'g4' (4-element array of mediump float)
0:31 true case
0:32 move second child to first child (mediump float)
0:32 direct index (mediump float)
0:32 'gu' (implicitly-sized array of mediump float)
0:32 Constant:
0:32 0 (const int)
0:32 Constant:
0:32 2.000000
0:35 move second child to first child (mediump float)
0:35 direct index (mediump float)
0:35 'u' (5-element array of mediump float)
0:35 Constant:
0:35 5 (const int)
0:35 Constant:
0:35 5.000000
0:36 Function Call: foo(f1[5]; (4-element array of mediump float)
0:36 'u' (5-element array of mediump float)
0:38 move second child to first child (mediump 4-component vector of float)
0:38 direct index (mediump 4-component vector of float)
0:38 'gl_FragData' (fragColor 32-element array of mediump 4-component vector of float)
0:38 Constant:
0:38 1000 (const int)
0:38 Constant:
0:38 1.000000
0:38 1.000000
0:38 1.000000
0:38 1.000000
0:39 move second child to first child (mediump 4-component vector of float)
0:39 direct index (mediump 4-component vector of float)
0:39 'gl_FragData' (fragColor 32-element array of mediump 4-component vector of float)
0:39 Constant:
0:39 -1 (const int)
0:39 Constant:
0:39 1.000000
0:39 1.000000
0:39 1.000000
0:39 1.000000
0:40 move second child to first child (mediump 4-component vector of float)
0:40 direct index (mediump 4-component vector of float)
0:40 'gl_FragData' (fragColor 32-element array of mediump 4-component vector of float)
0:40 Constant:
0:40 3 (const int)
0:40 Constant:
0:40 1.000000
0:40 1.000000
0:40 1.000000
0:40 1.000000
0:53 Function Definition: bar9( (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:53 Function Parameters:
0:? Sequence
0:56 Branch: Return with expression
0:56 's' (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:59 Function Definition: bar10(struct-SB-vf4-struct-SA-vf3-vf2[4]11; (void)
0:59 Function Parameters:
0:59 's' (in structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:63 Function Definition: bar11( (void)
0:63 Function Parameters:
0:? Sequence
0:66 move second child to first child (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:66 's1' (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:66 's2' (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:67 Function Call: bar10(struct-SB-vf4-struct-SA-vf3-vf2[4]11; (void)
0:67 's1' (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:68 move second child to first child (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:68 's2' (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:68 Function Call: bar9( (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:69 Sequence
0:69 move second child to first child (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:69 'initSb' (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:69 's1' (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:? Linker Objects
0:? 'gu' (implicitly-sized array of mediump float)
0:? 'g4' (4-element array of mediump float)
0:? 'g5' (5-element array of mediump float)
0:? 'a' (uniform mediump int)
Linked fragment stage:
Shader version: 100
ERROR: node is still EOpNull!
0:9 Function Definition: foo(f1[5]; (4-element array of mediump float)
0:9 Function Parameters:
0:9 'a' (in 5-element array of mediump float)
0:11 Sequence
0:11 Branch: Return with expression
0:11 Construct float (4-element array of float)
0:11 direct index (mediump float)
0:11 'a' (in 5-element array of mediump float)
0:11 Constant:
0:11 0 (const int)
0:11 direct index (mediump float)
0:11 'a' (in 5-element array of mediump float)
0:11 Constant:
0:11 1 (const int)
0:11 direct index (mediump float)
0:11 'a' (in 5-element array of mediump float)
0:11 Constant:
0:11 2 (const int)
0:11 direct index (mediump float)
0:11 'a' (in 5-element array of mediump float)
0:11 Constant:
0:11 3 (const int)
0:14 Function Definition: bar(f1[5]; (void)
0:14 Function Parameters:
0:14 '' (in 5-element array of mediump float)
0:16 Function Definition: main( (void)
0:16 Function Parameters:
0:? Sequence
0:? Sequence
0:21 move second child to first child (mediump float)
0:21 direct index (mediump float)
0:21 'gu' (2-element array of mediump float)
0:21 Constant:
0:21 2 (const int)
0:21 Constant:
0:21 4.000000
0:24 move second child to first child (4-element array of mediump float)
0:24 'g4' (4-element array of mediump float)
0:24 Function Call: foo(f1[5]; (4-element array of mediump float)
0:24 'g5' (5-element array of mediump float)
0:25 'g5' (5-element array of mediump float)
0:26 'gu' (1-element array of mediump float)
0:28 Constant:
0:28 0.000000
0:29 Function Call: bar(f1[5]; (void)
0:29 'g5' (5-element array of mediump float)
0:31 Test condition and select (void)
0:31 Condition
0:31 Compare Equal (bool)
0:31 Constant:
0:31 1.000000
0:31 2.000000
0:31 3.000000
0:31 4.000000
0:31 'g4' (4-element array of mediump float)
0:31 true case
0:32 move second child to first child (mediump float)
0:32 direct index (mediump float)
0:32 'gu' (1-element array of mediump float)
0:32 Constant:
0:32 0 (const int)
0:32 Constant:
0:32 2.000000
0:35 move second child to first child (mediump float)
0:35 direct index (mediump float)
0:35 'u' (5-element array of mediump float)
0:35 Constant:
0:35 5 (const int)
0:35 Constant:
0:35 5.000000
0:36 Function Call: foo(f1[5]; (4-element array of mediump float)
0:36 'u' (5-element array of mediump float)
0:38 move second child to first child (mediump 4-component vector of float)
0:38 direct index (mediump 4-component vector of float)
0:38 'gl_FragData' (fragColor 32-element array of mediump 4-component vector of float)
0:38 Constant:
0:38 1000 (const int)
0:38 Constant:
0:38 1.000000
0:38 1.000000
0:38 1.000000
0:38 1.000000
0:39 move second child to first child (mediump 4-component vector of float)
0:39 direct index (mediump 4-component vector of float)
0:39 'gl_FragData' (fragColor 32-element array of mediump 4-component vector of float)
0:39 Constant:
0:39 -1 (const int)
0:39 Constant:
0:39 1.000000
0:39 1.000000
0:39 1.000000
0:39 1.000000
0:40 move second child to first child (mediump 4-component vector of float)
0:40 direct index (mediump 4-component vector of float)
0:40 'gl_FragData' (fragColor 32-element array of mediump 4-component vector of float)
0:40 Constant:
0:40 3 (const int)
0:40 Constant:
0:40 1.000000
0:40 1.000000
0:40 1.000000
0:40 1.000000
0:53 Function Definition: bar9( (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:53 Function Parameters:
0:? Sequence
0:56 Branch: Return with expression
0:56 's' (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:59 Function Definition: bar10(struct-SB-vf4-struct-SA-vf3-vf2[4]11; (void)
0:59 Function Parameters:
0:59 's' (in structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:63 Function Definition: bar11( (void)
0:63 Function Parameters:
0:? Sequence
0:66 move second child to first child (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:66 's1' (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:66 's2' (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:67 Function Call: bar10(struct-SB-vf4-struct-SA-vf3-vf2[4]11; (void)
0:67 's1' (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:68 move second child to first child (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:68 's2' (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:68 Function Call: bar9( (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:69 Sequence
0:69 move second child to first child (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:69 'initSb' (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:69 's1' (structure{mediump 4-component vector of float v4, structure{mediump 3-component vector of float v3, 4-element array of mediump 2-component vector of float v2} sa})
0:? Linker Objects
0:? 'gu' (1-element array of mediump float)
0:? 'g4' (4-element array of mediump float)
0:? 'g5' (5-element array of mediump float)
0:? 'a' (uniform mediump int)