glslang/Test/baseResults/structDeref.frag.out
John Kessenich 7cbfdf4394 Minor infrastructure changes, to simplify an upcoming check in:
- print out block member types when printing a block (makes all test results change)
 - const versions of all intermediate.h type-identification methods
 - layoutSlotLocation -> layoutLocation

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24664 e7fa87d3-cd2b-0410-9028-fcbf551c1848
2014-01-06 21:27:56 +00:00

178 lines
8.8 KiB
Plaintext

../../LunarGLASS/test/structDeref.frag
Warning, version 130 is not yet complete; most features are present, but a few are missing.
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
0:? Sequence
0:41 Function Definition: main( (void)
0:41 Function Parameters:
0:? Sequence
0:51 Test condition and select (void)
0:51 Condition
0:51 Compare Greater Than (bool)
0:51 i: direct index for structure (int)
0:51 direct index (structure{int i, float f, structure{int i, float f, structure{int i} s0_1} s1_1})
0:51 s2_1: direct index for structure (12-element array of structure{int i, float f, structure{int i, float f, structure{int i} s0_1} s1_1})
0:51 'foo3' (uniform structure{12-element array of structure{int i, float f, structure{int i, float f, structure{int i} s0_1} s1_1} s2_1, int i, float f, structure{int i, float f, structure{int i} s0_1} s1_1})
0:51 Constant:
0:51 0 (const int)
0:51 Constant:
0:51 9 (const int)
0:51 Constant:
0:51 0 (const int)
0:51 Constant:
0:51 0 (const int)
0:51 true case
0:52 Sequence
0:52 move second child to first child (float)
0:52 f: direct index for structure (float)
0:52 'locals2' (structure{int i, float f, structure{int i, float f, structure{int i} s0_1} s1_1})
0:52 Constant:
0:52 1 (const int)
0:52 Constant:
0:52 1.000000
0:53 move second child to first child (structure{int i, float f, structure{int i} s0_1})
0:53 s1_1: direct index for structure (structure{int i, float f, structure{int i} s0_1})
0:53 'locals2' (structure{int i, float f, structure{int i, float f, structure{int i} s0_1} s1_1})
0:53 Constant:
0:53 2 (const int)
0:53 Constant:
0:53 0 (const int)
0:53 1.000000
0:53 0 (const int)
0:54 move second child to first child (6-element array of float)
0:54 'fArray' (6-element array of float)
0:54 Constant:
0:54 0.000000
0:54 0.000000
0:54 0.000000
0:54 0.000000
0:54 0.000000
0:54 0.000000
0:55 move second child to first child (structure{int i, float f, structure{int i} s0_1})
0:55 direct index (structure{int i, float f, structure{int i} s0_1})
0:55 'locals1Array' (10-element array of structure{int i, float f, structure{int i} s0_1})
0:55 Constant:
0:55 6 (const int)
0:55 'foo1' (uniform structure{int i, float f, structure{int i} s0_1})
0:56 move second child to first child (structure{int i})
0:56 'locals0' (structure{int i})
0:56 Constant:
0:56 0 (const int)
0:57 move second child to first child (structure{structure{int i} s0_0})
0:57 'locals00' (structure{structure{int i} s0_0})
0:57 Constant:
0:57 0 (const int)
0:51 false case
0:59 Sequence
0:59 move second child to first child (float)
0:59 f: direct index for structure (float)
0:59 'locals2' (structure{int i, float f, structure{int i, float f, structure{int i} s0_1} s1_1})
0:59 Constant:
0:59 1 (const int)
0:59 direct index (float)
0:59 'coord' (smooth in 2-component vector of float)
0:59 Constant:
0:59 0 (const int)
0:60 move second child to first child (structure{int i, float f, structure{int i} s0_1})
0:60 s1_1: direct index for structure (structure{int i, float f, structure{int i} s0_1})
0:60 'locals2' (structure{int i, float f, structure{int i, float f, structure{int i} s0_1} s1_1})
0:60 Constant:
0:60 2 (const int)
0:60 Construct structure (structure{int i, float f, structure{int i} s0_1})
0:60 Constant:
0:60 1 (const int)
0:60 direct index (float)
0:60 'coord' (smooth in 2-component vector of float)
0:60 Constant:
0:60 1 (const int)
0:60 'foo0' (uniform structure{int i})
0:61 move second child to first child (6-element array of float)
0:61 'fArray' (6-element array of float)
0:61 Constant:
0:61 0.000000
0:61 1.000000
0:61 2.000000
0:61 3.000000
0:61 4.000000
0:61 5.000000
0:62 move second child to first child (structure{int i, float f, structure{int i} s0_1})
0:62 direct index (structure{int i, float f, structure{int i} s0_1})
0:62 'locals1Array' (10-element array of structure{int i, float f, structure{int i} s0_1})
0:62 Constant:
0:62 6 (const int)
0:62 s1_1: direct index for structure (structure{int i, float f, structure{int i} s0_1})
0:62 'locals2' (structure{int i, float f, structure{int i, float f, structure{int i} s0_1} s1_1})
0:62 Constant:
0:62 2 (const int)
0:63 move second child to first child (structure{int i})
0:63 'locals0' (structure{int i})
0:63 s0_1: direct index for structure (structure{int i})
0:63 'foo1' (uniform structure{int i, float f, structure{int i} s0_1})
0:63 Constant:
0:63 2 (const int)
0:64 move second child to first child (structure{structure{int i} s0_0})
0:64 'locals00' (structure{structure{int i} s0_0})
0:64 'foo00' (uniform structure{structure{int i} s0_0})
0:67 Test condition and select (void)
0:67 Condition
0:67 Compare Greater Than (bool)
0:67 i: direct index for structure (int)
0:67 'locals0' (structure{int i})
0:67 Constant:
0:67 0 (const int)
0:67 Constant:
0:67 5 (const int)
0:67 true case
0:68 move second child to first child (structure{int i})
0:68 'locals0' (structure{int i})
0:68 s0_0: direct index for structure (structure{int i})
0:68 'locals00' (structure{structure{int i} s0_0})
0:68 Constant:
0:68 0 (const int)
0:70 move second child to first child (4-component vector of float)
0:70 'gl_FragColor' (fragColor 4-component vector of float)
0:70 vector-scale (4-component vector of float)
0:70 add (float)
0:70 add (float)
0:70 add (float)
0:70 Convert int to float (float)
0:70 i: direct index for structure (int)
0:70 'locals0' (structure{int i})
0:70 Constant:
0:70 0 (const int)
0:70 f: direct index for structure (float)
0:70 direct index (structure{int i, float f, structure{int i} s0_1})
0:70 'locals1Array' (10-element array of structure{int i, float f, structure{int i} s0_1})
0:70 Constant:
0:70 6 (const int)
0:70 Constant:
0:70 1 (const int)
0:70 direct index (float)
0:70 'fArray' (6-element array of float)
0:70 Constant:
0:70 3 (const int)
0:70 f: direct index for structure (float)
0:70 s1_1: direct index for structure (structure{int i, float f, structure{int i} s0_1})
0:70 'locals2' (structure{int i, float f, structure{int i, float f, structure{int i} s0_1} s1_1})
0:70 Constant:
0:70 2 (const int)
0:70 Constant:
0:70 1 (const int)
0:70 Function Call: texture2D(s21;vf2; (4-component vector of float)
0:70 'sampler' (uniform sampler2D)
0:70 'coord' (smooth in 2-component vector of float)
0:? Linker Objects
0:? 'sampler' (uniform sampler2D)
0:? 'coord' (smooth in 2-component vector of float)
0:? 'foo0' (uniform structure{int i})
0:? 'foo1' (uniform structure{int i, float f, structure{int i} s0_1})
0:? 'foo2' (uniform structure{int i, float f, structure{int i, float f, structure{int i} s0_1} s1_1})
0:? 'foo3' (uniform structure{12-element array of structure{int i, float f, structure{int i, float f, structure{int i} s0_1} s1_1} s2_1, int i, float f, structure{int i, float f, structure{int i} s0_1} s1_1})
0:? 'foo00' (uniform structure{structure{int i} s0_0})
Linked fragment stage: