John Kessenich | 5134b9c | 2013-11-20 21:12:43 +0000 | [diff] [blame] | 1 | ../../LunarGLASS/test/functionCall.frag
|
John Kessenich | 447fc36 | 2013-10-01 23:13:50 +0000 | [diff] [blame] | 2 | Warning, version 130 is not yet complete; most features are present, but a few are missing.
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 3 | 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] | 4 |
|
John Kessenich | b4ef9e0 | 2014-03-31 22:20:47 +0000 | [diff] [blame] | 5 | Shader version: 130
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 6 | 0:? Sequence
|
| 7 | 0:7 Sequence
|
| 8 | 0:7 move second child to first child (float)
|
| 9 | 0:7 'h' (float)
|
John Kessenich | f2ee3dd | 2013-09-28 04:02:08 +0000 | [diff] [blame] | 10 | 0:7 Constant:
|
| 11 | 0:7 0.000000
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 12 | 0:9 Function Definition: foo(vf4; (float)
|
| 13 | 0:9 Function Parameters:
|
| 14 | 0:9 'bar' (in 4-component vector of float)
|
| 15 | 0:11 Sequence
|
| 16 | 0:11 Branch: Return with expression
|
| 17 | 0:11 add (float)
|
| 18 | 0:11 direct index (float)
|
| 19 | 0:11 'bar' (in 4-component vector of float)
|
John Kessenich | f2ee3dd | 2013-09-28 04:02:08 +0000 | [diff] [blame] | 20 | 0:11 Constant:
|
| 21 | 0:11 0 (const int)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 22 | 0:11 direct index (float)
|
| 23 | 0:11 'bar' (in 4-component vector of float)
|
John Kessenich | f2ee3dd | 2013-09-28 04:02:08 +0000 | [diff] [blame] | 24 | 0:11 Constant:
|
| 25 | 0:11 1 (const int)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 26 | 0:14 Function Definition: bar( (void)
|
| 27 | 0:14 Function Parameters:
|
| 28 | 0:18 Function Definition: unreachableReturn( (float)
|
| 29 | 0:18 Function Parameters:
|
| 30 | 0:20 Sequence
|
| 31 | 0:20 Test condition and select (void)
|
| 32 | 0:20 Condition
|
| 33 | 0:20 Compare Less Than (bool)
|
| 34 | 0:20 'd' (uniform float)
|
John Kessenich | f2ee3dd | 2013-09-28 04:02:08 +0000 | [diff] [blame] | 35 | 0:20 Constant:
|
| 36 | 0:20 4.200000
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 37 | 0:20 true case
|
| 38 | 0:21 Branch: Return with expression
|
John Kessenich | f2ee3dd | 2013-09-28 04:02:08 +0000 | [diff] [blame] | 39 | 0:21 Constant:
|
| 40 | 0:21 1.200000
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 41 | 0:20 false case
|
| 42 | 0:23 Branch: Return with expression
|
John Kessenich | f2ee3dd | 2013-09-28 04:02:08 +0000 | [diff] [blame] | 43 | 0:23 Constant:
|
| 44 | 0:23 4.500000
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 45 | 0:27 Function Definition: missingReturn( (float)
|
| 46 | 0:27 Function Parameters:
|
| 47 | 0:29 Sequence
|
| 48 | 0:29 Test condition and select (void)
|
| 49 | 0:29 Condition
|
| 50 | 0:29 Compare Less Than (bool)
|
| 51 | 0:29 'd' (uniform float)
|
John Kessenich | f2ee3dd | 2013-09-28 04:02:08 +0000 | [diff] [blame] | 52 | 0:29 Constant:
|
| 53 | 0:29 4.500000
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 54 | 0:29 true case
|
| 55 | 0:30 Sequence
|
| 56 | 0:30 move second child to first child (float)
|
| 57 | 0:30 'h' (float)
|
| 58 | 0:30 'd' (uniform float)
|
| 59 | 0:31 Branch: Return with expression
|
John Kessenich | f2ee3dd | 2013-09-28 04:02:08 +0000 | [diff] [blame] | 60 | 0:31 Constant:
|
| 61 | 0:31 3.900000
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 62 | 0:35 Function Definition: main( (void)
|
| 63 | 0:35 Function Parameters:
|
| 64 | 0:37 Sequence
|
| 65 | 0:37 Sequence
|
| 66 | 0:37 move second child to first child (4-component vector of float)
|
| 67 | 0:37 'color' (4-component vector of float)
|
| 68 | 0:37 Construct vec4 (4-component vector of float)
|
| 69 | 0:37 Function Call: foo(vf4; (float)
|
| 70 | 0:37 'BaseColor' (smooth in 4-component vector of float)
|
| 71 | 0:39 Function Call: bar( (void)
|
| 72 | 0:40 Sequence
|
| 73 | 0:40 move second child to first child (float)
|
| 74 | 0:40 'f' (float)
|
| 75 | 0:40 Function Call: unreachableReturn( (float)
|
| 76 | 0:41 Sequence
|
| 77 | 0:41 move second child to first child (float)
|
| 78 | 0:41 'g' (float)
|
| 79 | 0:41 Function Call: missingReturn( (float)
|
| 80 | 0:43 move second child to first child (4-component vector of float)
|
| 81 | 0:43 'gl_FragColor' (fragColor 4-component vector of float)
|
| 82 | 0:43 vector-scale (4-component vector of float)
|
| 83 | 0:43 vector-scale (4-component vector of float)
|
| 84 | 0:43 'color' (4-component vector of float)
|
| 85 | 0:43 'f' (float)
|
| 86 | 0:43 'h' (float)
|
| 87 | 0:? Linker Objects
|
| 88 | 0:? 'bigColor' (uniform 4-component vector of float)
|
| 89 | 0:? 'BaseColor' (smooth in 4-component vector of float)
|
| 90 | 0:? 'd' (uniform float)
|
John Kessenich | 9839e24 | 2013-09-26 00:45:21 +0000 | [diff] [blame] | 91 | 0:? 'h' (float)
|
John Kessenich | 4586dbd | 2013-08-05 15:52:03 +0000 | [diff] [blame] | 92 |
|
John Kessenich | 5134b9c | 2013-11-20 21:12:43 +0000 | [diff] [blame] | 93 |
|
| 94 | Linked fragment stage:
|
| 95 |
|
| 96 |
|
John Kessenich | b4ef9e0 | 2014-03-31 22:20:47 +0000 | [diff] [blame] | 97 | Shader version: 130
|
John Kessenich | 5134b9c | 2013-11-20 21:12:43 +0000 | [diff] [blame] | 98 |
|