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