John Kessenich | 5134b9c | 2013-11-20 21:12:43 +0000 | [diff] [blame] | 1 | ../../LunarGLASS/test/functionCall.frag
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 2 | WARNING: 0:4: varying deprecated in version 130; may be removed in future release
|
John Kessenich | 5134b9c | 2013-11-20 21:12:43 +0000 | [diff] [blame] | 3 |
|
John Kessenich | b4ef9e0 | 2014-03-31 22:20:47 +0000 | [diff] [blame] | 4 | Shader version: 130
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 5 | 0:? Sequence
|
| 6 | 0:7 Sequence
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 7 | 0:7 move second child to first child (temp float)
|
| 8 | 0:7 'h' (global float)
|
John Kessenich | f2ee3dd | 2013-09-28 04:02:08 +0000 | [diff] [blame] | 9 | 0:7 Constant:
|
| 10 | 0:7 0.000000
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 11 | 0:9 Function Definition: foo(vf4; (global float)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 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
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 16 | 0:11 add (temp float)
|
| 17 | 0:11 direct index (temp float)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 18 | 0:11 'bar' (in 4-component vector of float)
|
John Kessenich | f2ee3dd | 2013-09-28 04:02:08 +0000 | [diff] [blame] | 19 | 0:11 Constant:
|
| 20 | 0:11 0 (const int)
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 21 | 0:11 direct index (temp float)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 22 | 0:11 'bar' (in 4-component vector of float)
|
John Kessenich | f2ee3dd | 2013-09-28 04:02:08 +0000 | [diff] [blame] | 23 | 0:11 Constant:
|
| 24 | 0:11 1 (const int)
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 25 | 0:14 Function Definition: bar( (global void)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 26 | 0:14 Function Parameters:
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 27 | 0:18 Function Definition: unreachableReturn( (global float)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 28 | 0:18 Function Parameters:
|
| 29 | 0:20 Sequence
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 30 | 0:20 Test condition and select (temp void)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 31 | 0:20 Condition
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 32 | 0:20 Compare Less Than (temp bool)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 33 | 0:20 'd' (uniform float)
|
John Kessenich | f2ee3dd | 2013-09-28 04:02:08 +0000 | [diff] [blame] | 34 | 0:20 Constant:
|
| 35 | 0:20 4.200000
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 36 | 0:20 true case
|
| 37 | 0:21 Branch: Return with expression
|
John Kessenich | f2ee3dd | 2013-09-28 04:02:08 +0000 | [diff] [blame] | 38 | 0:21 Constant:
|
| 39 | 0:21 1.200000
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 40 | 0:20 false case
|
| 41 | 0:23 Branch: Return with expression
|
John Kessenich | f2ee3dd | 2013-09-28 04:02:08 +0000 | [diff] [blame] | 42 | 0:23 Constant:
|
| 43 | 0:23 4.500000
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 44 | 0:27 Function Definition: missingReturn( (global float)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 45 | 0:27 Function Parameters:
|
| 46 | 0:29 Sequence
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 47 | 0:29 Test condition and select (temp void)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 48 | 0:29 Condition
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 49 | 0:29 Compare Less Than (temp bool)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 50 | 0:29 'd' (uniform float)
|
John Kessenich | f2ee3dd | 2013-09-28 04:02:08 +0000 | [diff] [blame] | 51 | 0:29 Constant:
|
| 52 | 0:29 4.500000
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 53 | 0:29 true case
|
| 54 | 0:30 Sequence
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 55 | 0:30 move second child to first child (temp float)
|
| 56 | 0:30 'h' (global float)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 57 | 0:30 'd' (uniform float)
|
| 58 | 0:31 Branch: Return with expression
|
John Kessenich | f2ee3dd | 2013-09-28 04:02:08 +0000 | [diff] [blame] | 59 | 0:31 Constant:
|
| 60 | 0:31 3.900000
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 61 | 0:35 Function Definition: main( (global void)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 62 | 0:35 Function Parameters:
|
| 63 | 0:37 Sequence
|
| 64 | 0:37 Sequence
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 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)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 69 | 0:37 'BaseColor' (smooth in 4-component vector of float)
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 70 | 0:39 Function Call: bar( (global void)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 71 | 0:40 Sequence
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 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)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 75 | 0:41 Sequence
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 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)
|
John Kessenich | dff18a2 | 2015-05-18 16:45:49 +0000 | [diff] [blame^] | 80 | 0:43 'gl_FragColor' (fragColor 4-component vector of float FragColor)
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 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)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 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)
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 90 | 0:? 'h' (global float)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 91 |
|
John Kessenich | 5134b9c | 2013-11-20 21:12:43 +0000 | [diff] [blame] | 92 |
|
| 93 | Linked fragment stage:
|
| 94 |
|
| 95 |
|
John Kessenich | b4ef9e0 | 2014-03-31 22:20:47 +0000 | [diff] [blame] | 96 | Shader version: 130
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 97 | 0:? Sequence
|
| 98 | 0:7 Sequence
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 99 | 0:7 move second child to first child (temp float)
|
| 100 | 0:7 'h' (global float)
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 101 | 0:7 Constant:
|
| 102 | 0:7 0.000000
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 103 | 0:9 Function Definition: foo(vf4; (global float)
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 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
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 108 | 0:11 add (temp float)
|
| 109 | 0:11 direct index (temp float)
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 110 | 0:11 'bar' (in 4-component vector of float)
|
| 111 | 0:11 Constant:
|
| 112 | 0:11 0 (const int)
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 113 | 0:11 direct index (temp float)
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 114 | 0:11 'bar' (in 4-component vector of float)
|
| 115 | 0:11 Constant:
|
| 116 | 0:11 1 (const int)
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 117 | 0:14 Function Definition: bar( (global void)
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 118 | 0:14 Function Parameters:
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 119 | 0:18 Function Definition: unreachableReturn( (global float)
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 120 | 0:18 Function Parameters:
|
| 121 | 0:20 Sequence
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 122 | 0:20 Test condition and select (temp void)
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 123 | 0:20 Condition
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 124 | 0:20 Compare Less Than (temp bool)
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 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
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 136 | 0:27 Function Definition: missingReturn( (global float)
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 137 | 0:27 Function Parameters:
|
| 138 | 0:29 Sequence
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 139 | 0:29 Test condition and select (temp void)
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 140 | 0:29 Condition
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 141 | 0:29 Compare Less Than (temp bool)
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 142 | 0:29 'd' (uniform float)
|
| 143 | 0:29 Constant:
|
| 144 | 0:29 4.500000
|
| 145 | 0:29 true case
|
| 146 | 0:30 Sequence
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 147 | 0:30 move second child to first child (temp float)
|
| 148 | 0:30 'h' (global float)
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 149 | 0:30 'd' (uniform float)
|
| 150 | 0:31 Branch: Return with expression
|
| 151 | 0:31 Constant:
|
| 152 | 0:31 3.900000
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 153 | 0:35 Function Definition: main( (global void)
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 154 | 0:35 Function Parameters:
|
| 155 | 0:37 Sequence
|
| 156 | 0:37 Sequence
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 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)
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 161 | 0:37 'BaseColor' (smooth in 4-component vector of float)
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 162 | 0:39 Function Call: bar( (global void)
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 163 | 0:40 Sequence
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 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)
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 167 | 0:41 Sequence
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 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)
|
John Kessenich | dff18a2 | 2015-05-18 16:45:49 +0000 | [diff] [blame^] | 172 | 0:43 'gl_FragColor' (fragColor 4-component vector of float FragColor)
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 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)
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 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)
|
John Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame] | 182 | 0:? 'h' (global float)
|
John Kessenich | 5134b9c | 2013-11-20 21:12:43 +0000 | [diff] [blame] | 183 |
|