1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
|
functionCall.frag
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
Shader version: 130
0:? Sequence
0:7 Sequence
0:7 move second child to first child ( temp float)
0:7 'h' ( global float)
0:7 Constant:
0:7 0.000000
0:9 Function Definition: foo(vf4; ( global float)
0:9 Function Parameters:
0:9 'bar' ( in 4-component vector of float)
0:11 Sequence
0:11 Branch: Return with expression
0:11 add ( temp float)
0:11 direct index ( temp float)
0:11 'bar' ( in 4-component vector of float)
0:11 Constant:
0:11 0 (const int)
0:11 direct index ( temp float)
0:11 'bar' ( in 4-component vector of float)
0:11 Constant:
0:11 1 (const int)
0:14 Function Definition: bar( ( global void)
0:14 Function Parameters:
0:18 Function Definition: unreachableReturn( ( global float)
0:18 Function Parameters:
0:20 Sequence
0:20 Test condition and select ( temp void)
0:20 Condition
0:20 Compare Less Than ( temp bool)
0:20 'd' ( uniform float)
0:20 Constant:
0:20 4.200000
0:20 true case
0:21 Branch: Return with expression
0:21 Constant:
0:21 1.200000
0:20 false case
0:23 Branch: Return with expression
0:23 Constant:
0:23 4.500000
0:27 Function Definition: missingReturn( ( global float)
0:27 Function Parameters:
0:29 Sequence
0:29 Test condition and select ( temp void)
0:29 Condition
0:29 Compare Less Than ( temp bool)
0:29 'd' ( uniform float)
0:29 Constant:
0:29 4.500000
0:29 true case
0:30 Sequence
0:30 move second child to first child ( temp float)
0:30 'h' ( global float)
0:30 'd' ( uniform float)
0:31 Branch: Return with expression
0:31 Constant:
0:31 3.900000
0:35 Function Definition: main( ( global void)
0:35 Function Parameters:
0:37 Sequence
0:37 Sequence
0:37 move second child to first child ( temp 4-component vector of float)
0:37 'color' ( temp 4-component vector of float)
0:37 Construct vec4 ( temp 4-component vector of float)
0:37 Function Call: foo(vf4; ( global float)
0:37 'BaseColor' ( smooth in 4-component vector of float)
0:39 Function Call: bar( ( global void)
0:40 Sequence
0:40 move second child to first child ( temp float)
0:40 'f' ( temp float)
0:40 Function Call: unreachableReturn( ( global float)
0:41 Sequence
0:41 move second child to first child ( temp float)
0:41 'g' ( temp float)
0:41 Function Call: missingReturn( ( global float)
0:43 move second child to first child ( temp 4-component vector of float)
0:43 'gl_FragColor' ( fragColor 4-component vector of float FragColor)
0:43 vector-scale ( temp 4-component vector of float)
0:43 vector-scale ( temp 4-component vector of float)
0:43 'color' ( temp 4-component vector of float)
0:43 'f' ( temp float)
0:43 'h' ( global float)
0:? Linker Objects
0:? 'bigColor' ( uniform 4-component vector of float)
0:? 'BaseColor' ( smooth in 4-component vector of float)
0:? 'd' ( uniform float)
0:? 'h' ( global float)
Linked fragment stage:
Shader version: 130
0:? Sequence
0:7 Sequence
0:7 move second child to first child ( temp float)
0:7 'h' ( global float)
0:7 Constant:
0:7 0.000000
0:9 Function Definition: foo(vf4; ( global float)
0:9 Function Parameters:
0:9 'bar' ( in 4-component vector of float)
0:11 Sequence
0:11 Branch: Return with expression
0:11 add ( temp float)
0:11 direct index ( temp float)
0:11 'bar' ( in 4-component vector of float)
0:11 Constant:
0:11 0 (const int)
0:11 direct index ( temp float)
0:11 'bar' ( in 4-component vector of float)
0:11 Constant:
0:11 1 (const int)
0:14 Function Definition: bar( ( global void)
0:14 Function Parameters:
0:18 Function Definition: unreachableReturn( ( global float)
0:18 Function Parameters:
0:20 Sequence
0:20 Test condition and select ( temp void)
0:20 Condition
0:20 Compare Less Than ( temp bool)
0:20 'd' ( uniform float)
0:20 Constant:
0:20 4.200000
0:20 true case
0:21 Branch: Return with expression
0:21 Constant:
0:21 1.200000
0:20 false case
0:23 Branch: Return with expression
0:23 Constant:
0:23 4.500000
0:27 Function Definition: missingReturn( ( global float)
0:27 Function Parameters:
0:29 Sequence
0:29 Test condition and select ( temp void)
0:29 Condition
0:29 Compare Less Than ( temp bool)
0:29 'd' ( uniform float)
0:29 Constant:
0:29 4.500000
0:29 true case
0:30 Sequence
0:30 move second child to first child ( temp float)
0:30 'h' ( global float)
0:30 'd' ( uniform float)
0:31 Branch: Return with expression
0:31 Constant:
0:31 3.900000
0:35 Function Definition: main( ( global void)
0:35 Function Parameters:
0:37 Sequence
0:37 Sequence
0:37 move second child to first child ( temp 4-component vector of float)
0:37 'color' ( temp 4-component vector of float)
0:37 Construct vec4 ( temp 4-component vector of float)
0:37 Function Call: foo(vf4; ( global float)
0:37 'BaseColor' ( smooth in 4-component vector of float)
0:39 Function Call: bar( ( global void)
0:40 Sequence
0:40 move second child to first child ( temp float)
0:40 'f' ( temp float)
0:40 Function Call: unreachableReturn( ( global float)
0:41 Sequence
0:41 move second child to first child ( temp float)
0:41 'g' ( temp float)
0:41 Function Call: missingReturn( ( global float)
0:43 move second child to first child ( temp 4-component vector of float)
0:43 'gl_FragColor' ( fragColor 4-component vector of float FragColor)
0:43 vector-scale ( temp 4-component vector of float)
0:43 vector-scale ( temp 4-component vector of float)
0:43 'color' ( temp 4-component vector of float)
0:43 'f' ( temp float)
0:43 'h' ( global float)
0:? Linker Objects
0:? 'bigColor' ( uniform 4-component vector of float)
0:? 'BaseColor' ( smooth in 4-component vector of float)
0:? 'd' ( uniform float)
0:? 'h' ( global float)
|