mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-14 22:01:04 +00:00
5134b9cf57
Also made all tests in testlist include linker tests. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24156 e7fa87d3-cd2b-0410-9028-fcbf551c1848
118 lines
5.1 KiB
Plaintext
118 lines
5.1 KiB
Plaintext
../../LunarGLASS/test/variableArrayIndex.frag
|
|
Warning, version 130 is not yet complete; most features are present, but a few are missing.
|
|
WARNING: 0:3: varying deprecated in version 130; may be removed in future release
|
|
|
|
0:? Sequence
|
|
0:29 Function Definition: main( (void)
|
|
0:29 Function Parameters:
|
|
0:? Sequence
|
|
0:32 Sequence
|
|
0:32 move second child to first child (int)
|
|
0:32 'iLocal' (int)
|
|
0:32 'Count' (uniform int)
|
|
0:34 Test condition and select (void)
|
|
0:34 Condition
|
|
0:34 Compare Greater Than (bool)
|
|
0:34 i: direct index for structure (int)
|
|
0:34 direct index (structure{i,f,s1_1})
|
|
0:34 s2_1: direct index for structure (3-element array of structure{i,f,s1_1})
|
|
0:34 'foo3' (uniform structure{s2_1,i,f,s1_1})
|
|
0:34 Constant:
|
|
0:34 0 (const int)
|
|
0:34 Constant:
|
|
0:34 1 (const int)
|
|
0:34 Constant:
|
|
0:34 0 (const int)
|
|
0:34 Constant:
|
|
0:34 0 (const int)
|
|
0:34 true case
|
|
0:35 move second child to first child (float)
|
|
0:35 'scale' (float)
|
|
0:35 f: direct index for structure (float)
|
|
0:35 s1_1: direct index for structure (structure{i,f})
|
|
0:35 indirect index (structure{i,f,s1_1})
|
|
0:35 'foo2' (uniform 5-element array of structure{i,f,s1_1})
|
|
0:35 add (int)
|
|
0:35 add (int)
|
|
0:35 i: direct index for structure (int)
|
|
0:35 indirect index (structure{i,f,s1_1})
|
|
0:35 s2_1: direct index for structure (3-element array of structure{i,f,s1_1})
|
|
0:35 'foo3' (uniform structure{s2_1,i,f,s1_1})
|
|
0:35 Constant:
|
|
0:35 0 (const int)
|
|
0:35 i: direct index for structure (int)
|
|
0:35 'foo' (uniform structure{i,f})
|
|
0:35 Constant:
|
|
0:35 0 (const int)
|
|
0:35 Constant:
|
|
0:35 0 (const int)
|
|
0:35 Constant:
|
|
0:35 2 (const int)
|
|
0:35 Pre-Increment (int)
|
|
0:35 'iLocal' (int)
|
|
0:35 Constant:
|
|
0:35 2 (const int)
|
|
0:35 Constant:
|
|
0:35 1 (const int)
|
|
0:34 false case
|
|
0:37 move second child to first child (float)
|
|
0:37 'scale' (float)
|
|
0:37 f: direct index for structure (float)
|
|
0:37 s1_1: direct index for structure (structure{i,f})
|
|
0:37 direct index (structure{i,f,s1_1})
|
|
0:37 s2_1: direct index for structure (3-element array of structure{i,f,s1_1})
|
|
0:37 'foo3' (uniform structure{s2_1,i,f,s1_1})
|
|
0:37 Constant:
|
|
0:37 0 (const int)
|
|
0:37 Constant:
|
|
0:37 0 (const int)
|
|
0:37 Constant:
|
|
0:37 2 (const int)
|
|
0:37 Constant:
|
|
0:37 1 (const int)
|
|
0:43 move second child to first child (4-component vector of float)
|
|
0:43 'gl_FragColor' (fragColor 4-component vector of float)
|
|
0:43 vector-scale (4-component vector of float)
|
|
0:43 'scale' (float)
|
|
0:43 Function Call: texture2D(s21;vf2; (4-component vector of float)
|
|
0:43 'sampler' (uniform sampler2D)
|
|
0:43 'coord' (smooth in 2-component vector of float)
|
|
0:45 Sequence
|
|
0:45 move second child to first child (3-element array of 2-component vector of float)
|
|
0:45 'constructed' (3-element array of 2-component vector of float)
|
|
0:45 Construct vec2 (3-element array of 2-component vector of float)
|
|
0:45 'coord' (smooth in 2-component vector of float)
|
|
0:45 Construct vec2 (2-component vector of float)
|
|
0:45 'scale' (float)
|
|
0:45 Constant:
|
|
0:45 1.000000
|
|
0:45 2.000000
|
|
0:46 add second child into first child (4-component vector of float)
|
|
0:46 'gl_FragColor' (fragColor 4-component vector of float)
|
|
0:46 Construct vec4 (4-component vector of float)
|
|
0:46 indirect index (2-component vector of float)
|
|
0:46 'constructed' (3-element array of 2-component vector of float)
|
|
0:46 i: direct index for structure (int)
|
|
0:46 'foo' (uniform structure{i,f})
|
|
0:46 Constant:
|
|
0:46 0 (const int)
|
|
0:46 indirect index (2-component vector of float)
|
|
0:46 'constructed' (3-element array of 2-component vector of float)
|
|
0:46 i: direct index for structure (int)
|
|
0:46 'foo' (uniform structure{i,f})
|
|
0:46 Constant:
|
|
0:46 0 (const int)
|
|
0:? Linker Objects
|
|
0:? 'sampler' (uniform sampler2D)
|
|
0:? 'coord' (smooth in 2-component vector of float)
|
|
0:? 'foo' (uniform structure{i,f})
|
|
0:? 'foo2' (uniform 5-element array of structure{i,f,s1_1})
|
|
0:? 'foo3' (uniform structure{s2_1,i,f,s1_1})
|
|
0:? 'Count' (uniform int)
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
|