1 structAssignment.frag 2 WARNING: 0:4: varying deprecated in version 130; may be removed in future release 3 4 Shader version: 130 5 0:? Sequence 6 0:29 Function Definition: main( ( global void) 7 0:29 Function Parameters: 8 0:? Sequence 9 0:33 Test condition and select ( temp void) 10 0:33 Condition 11 0:33 Compare Greater Than ( temp bool) 12 0:33 i: direct index for structure ( global int) 13 0:33 s2_1: direct index for structure ( global structure{ global int i, global float f, global structure{ global int i, global float f} s1_1}) 14 0:33 'foo3' ( uniform structure{ global structure{ global int i, global float f, global structure{ global int i, global float f} s1_1} s2_1, global int i, global float f, global structure{ global int i, global float f} s1_1}) 15 0:33 Constant: 16 0:33 0 (const int) 17 0:33 Constant: 18 0:33 0 (const int) 19 0:33 Constant: 20 0:33 0 (const int) 21 0:33 true case 22 0:34 move second child to first child ( temp structure{ global int i, global float f, global structure{ global int i, global float f} s1_1}) 23 0:34 'locals2' ( temp structure{ global int i, global float f, global structure{ global int i, global float f} s1_1}) 24 0:34 s2_1: direct index for structure ( global structure{ global int i, global float f, global structure{ global int i, global float f} s1_1}) 25 0:34 'foo3' ( uniform structure{ global structure{ global int i, global float f, global structure{ global int i, global float f} s1_1} s2_1, global int i, global float f, global structure{ global int i, global float f} s1_1}) 26 0:34 Constant: 27 0:34 0 (const int) 28 0:33 false case 29 0:36 move second child to first child ( temp structure{ global int i, global float f, global structure{ global int i, global float f} s1_1}) 30 0:36 'locals2' ( temp structure{ global int i, global float f, global structure{ global int i, global float f} s1_1}) 31 0:36 'foo2' ( uniform structure{ global int i, global float f, global structure{ global int i, global float f} s1_1}) 32 0:38 move second child to first child ( temp 4-component vector of float) 33 0:38 'gl_FragColor' ( fragColor 4-component vector of float FragColor) 34 0:38 vector-scale ( temp 4-component vector of float) 35 0:38 f: direct index for structure ( global float) 36 0:38 s1_1: direct index for structure ( global structure{ global int i, global float f}) 37 0:38 'locals2' ( temp structure{ global int i, global float f, global structure{ global int i, global float f} s1_1}) 38 0:38 Constant: 39 0:38 2 (const int) 40 0:38 Constant: 41 0:38 1 (const int) 42 0:38 texture ( global 4-component vector of float) 43 0:38 'sampler' ( uniform sampler2D) 44 0:38 'coord' ( smooth in 2-component vector of float) 45 0:? Linker Objects 46 0:? 'sampler' ( uniform sampler2D) 47 0:? 'coord' ( smooth in 2-component vector of float) 48 0:? 'foo' ( uniform structure{ global int i, global float f}) 49 0:? 'foo2' ( uniform structure{ global int i, global float f, global structure{ global int i, global float f} s1_1}) 50 0:? 'foo3' ( uniform structure{ global structure{ global int i, global float f, global structure{ global int i, global float f} s1_1} s2_1, global int i, global float f, global structure{ global int i, global float f} s1_1}) 51 52 53 Linked fragment stage: 54 55 56 Shader version: 130 57 0:? Sequence 58 0:29 Function Definition: main( ( global void) 59 0:29 Function Parameters: 60 0:? Sequence 61 0:33 Test condition and select ( temp void) 62 0:33 Condition 63 0:33 Compare Greater Than ( temp bool) 64 0:33 i: direct index for structure ( global int) 65 0:33 s2_1: direct index for structure ( global structure{ global int i, global float f, global structure{ global int i, global float f} s1_1}) 66 0:33 'foo3' ( uniform structure{ global structure{ global int i, global float f, global structure{ global int i, global float f} s1_1} s2_1, global int i, global float f, global structure{ global int i, global float f} s1_1}) 67 0:33 Constant: 68 0:33 0 (const int) 69 0:33 Constant: 70 0:33 0 (const int) 71 0:33 Constant: 72 0:33 0 (const int) 73 0:33 true case 74 0:34 move second child to first child ( temp structure{ global int i, global float f, global structure{ global int i, global float f} s1_1}) 75 0:34 'locals2' ( temp structure{ global int i, global float f, global structure{ global int i, global float f} s1_1}) 76 0:34 s2_1: direct index for structure ( global structure{ global int i, global float f, global structure{ global int i, global float f} s1_1}) 77 0:34 'foo3' ( uniform structure{ global structure{ global int i, global float f, global structure{ global int i, global float f} s1_1} s2_1, global int i, global float f, global structure{ global int i, global float f} s1_1}) 78 0:34 Constant: 79 0:34 0 (const int) 80 0:33 false case 81 0:36 move second child to first child ( temp structure{ global int i, global float f, global structure{ global int i, global float f} s1_1}) 82 0:36 'locals2' ( temp structure{ global int i, global float f, global structure{ global int i, global float f} s1_1}) 83 0:36 'foo2' ( uniform structure{ global int i, global float f, global structure{ global int i, global float f} s1_1}) 84 0:38 move second child to first child ( temp 4-component vector of float) 85 0:38 'gl_FragColor' ( fragColor 4-component vector of float FragColor) 86 0:38 vector-scale ( temp 4-component vector of float) 87 0:38 f: direct index for structure ( global float) 88 0:38 s1_1: direct index for structure ( global structure{ global int i, global float f}) 89 0:38 'locals2' ( temp structure{ global int i, global float f, global structure{ global int i, global float f} s1_1}) 90 0:38 Constant: 91 0:38 2 (const int) 92 0:38 Constant: 93 0:38 1 (const int) 94 0:38 texture ( global 4-component vector of float) 95 0:38 'sampler' ( uniform sampler2D) 96 0:38 'coord' ( smooth in 2-component vector of float) 97 0:? Linker Objects 98 0:? 'sampler' ( uniform sampler2D) 99 0:? 'coord' ( smooth in 2-component vector of float) 100 0:? 'foo' ( uniform structure{ global int i, global float f}) 101 0:? 'foo2' ( uniform structure{ global int i, global float f, global structure{ global int i, global float f} s1_1}) 102 0:? 'foo3' ( uniform structure{ global structure{ global int i, global float f, global structure{ global int i, global float f} s1_1} s2_1, global int i, global float f, global structure{ global int i, global float f} s1_1}) 103 104