blob: 6362de12d29247990574a9371015667f01c74c00 [file] [log] [blame]
John Kessenich5134b9c2013-11-20 21:12:43 +00001../../LunarGLASS/test/functionCall.frag
John Kessenich447fc362013-10-01 23:13:50 +00002Warning, version 130 is not yet complete; most features are present, but a few are missing.
John Kessenich4586dbd2013-08-05 15:52:03 +00003WARNING: 0:4: varying deprecated in version 130; may be removed in future release
John Kessenich5134b9c2013-11-20 21:12:43 +00004
John Kessenichb4ef9e02014-03-31 22:20:47 +00005Shader version: 130
John Kessenich4586dbd2013-08-05 15:52:03 +000060:? Sequence
70:7 Sequence
80:7 move second child to first child (float)
90:7 'h' (float)
John Kessenichf2ee3dd2013-09-28 04:02:08 +0000100:7 Constant:
110:7 0.000000
John Kessenich4586dbd2013-08-05 15:52:03 +0000120:9 Function Definition: foo(vf4; (float)
130:9 Function Parameters:
140:9 'bar' (in 4-component vector of float)
150:11 Sequence
160:11 Branch: Return with expression
170:11 add (float)
180:11 direct index (float)
190:11 'bar' (in 4-component vector of float)
John Kessenichf2ee3dd2013-09-28 04:02:08 +0000200:11 Constant:
210:11 0 (const int)
John Kessenich4586dbd2013-08-05 15:52:03 +0000220:11 direct index (float)
230:11 'bar' (in 4-component vector of float)
John Kessenichf2ee3dd2013-09-28 04:02:08 +0000240:11 Constant:
250:11 1 (const int)
John Kessenich4586dbd2013-08-05 15:52:03 +0000260:14 Function Definition: bar( (void)
270:14 Function Parameters:
280:18 Function Definition: unreachableReturn( (float)
290:18 Function Parameters:
300:20 Sequence
310:20 Test condition and select (void)
320:20 Condition
330:20 Compare Less Than (bool)
340:20 'd' (uniform float)
John Kessenichf2ee3dd2013-09-28 04:02:08 +0000350:20 Constant:
360:20 4.200000
John Kessenich4586dbd2013-08-05 15:52:03 +0000370:20 true case
380:21 Branch: Return with expression
John Kessenichf2ee3dd2013-09-28 04:02:08 +0000390:21 Constant:
400:21 1.200000
John Kessenich4586dbd2013-08-05 15:52:03 +0000410:20 false case
420:23 Branch: Return with expression
John Kessenichf2ee3dd2013-09-28 04:02:08 +0000430:23 Constant:
440:23 4.500000
John Kessenich4586dbd2013-08-05 15:52:03 +0000450:27 Function Definition: missingReturn( (float)
460:27 Function Parameters:
470:29 Sequence
480:29 Test condition and select (void)
490:29 Condition
500:29 Compare Less Than (bool)
510:29 'd' (uniform float)
John Kessenichf2ee3dd2013-09-28 04:02:08 +0000520:29 Constant:
530:29 4.500000
John Kessenich4586dbd2013-08-05 15:52:03 +0000540:29 true case
550:30 Sequence
560:30 move second child to first child (float)
570:30 'h' (float)
580:30 'd' (uniform float)
590:31 Branch: Return with expression
John Kessenichf2ee3dd2013-09-28 04:02:08 +0000600:31 Constant:
610:31 3.900000
John Kessenich4586dbd2013-08-05 15:52:03 +0000620:35 Function Definition: main( (void)
630:35 Function Parameters:
640:37 Sequence
650:37 Sequence
660:37 move second child to first child (4-component vector of float)
670:37 'color' (4-component vector of float)
680:37 Construct vec4 (4-component vector of float)
690:37 Function Call: foo(vf4; (float)
700:37 'BaseColor' (smooth in 4-component vector of float)
710:39 Function Call: bar( (void)
720:40 Sequence
730:40 move second child to first child (float)
740:40 'f' (float)
750:40 Function Call: unreachableReturn( (float)
760:41 Sequence
770:41 move second child to first child (float)
780:41 'g' (float)
790:41 Function Call: missingReturn( (float)
800:43 move second child to first child (4-component vector of float)
810:43 'gl_FragColor' (fragColor 4-component vector of float)
820:43 vector-scale (4-component vector of float)
830:43 vector-scale (4-component vector of float)
840:43 'color' (4-component vector of float)
850:43 'f' (float)
860:43 'h' (float)
870:? Linker Objects
880:? 'bigColor' (uniform 4-component vector of float)
890:? 'BaseColor' (smooth in 4-component vector of float)
900:? 'd' (uniform float)
John Kessenich9839e242013-09-26 00:45:21 +0000910:? 'h' (float)
John Kessenich4586dbd2013-08-05 15:52:03 +000092
John Kessenich5134b9c2013-11-20 21:12:43 +000093
94Linked fragment stage:
95
96
John Kessenichb4ef9e02014-03-31 22:20:47 +000097Shader version: 130
John Kessenich5134b9c2013-11-20 21:12:43 +000098