blob: 70a1d6d0241810438c59428896fa2fc9510c24b3 [file] [log] [blame]
John Kessenich5134b9c2013-11-20 21:12:43 +00001../../LunarGLASS/test/functionCall.frag
John Kessenich4586dbd2013-08-05 15:52:03 +00002WARNING: 0:4: varying deprecated in version 130; may be removed in future release
John Kessenich5134b9c2013-11-20 21:12:43 +00003
John Kessenichb4ef9e02014-03-31 22:20:47 +00004Shader version: 130
John Kessenich4586dbd2013-08-05 15:52:03 +000050:? Sequence
60:7 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +000070:7 move second child to first child (temp float)
80:7 'h' (global float)
John Kessenichf2ee3dd2013-09-28 04:02:08 +000090:7 Constant:
100:7 0.000000
John Kessenich8b37b042015-04-29 10:16:56 +0000110:9 Function Definition: foo(vf4; (global float)
John Kessenich4586dbd2013-08-05 15:52:03 +0000120:9 Function Parameters:
130:9 'bar' (in 4-component vector of float)
140:11 Sequence
150:11 Branch: Return with expression
John Kessenich8b37b042015-04-29 10:16:56 +0000160:11 add (temp float)
170:11 direct index (temp float)
John Kessenich4586dbd2013-08-05 15:52:03 +0000180:11 'bar' (in 4-component vector of float)
John Kessenichf2ee3dd2013-09-28 04:02:08 +0000190:11 Constant:
200:11 0 (const int)
John Kessenich8b37b042015-04-29 10:16:56 +0000210:11 direct index (temp float)
John Kessenich4586dbd2013-08-05 15:52:03 +0000220:11 'bar' (in 4-component vector of float)
John Kessenichf2ee3dd2013-09-28 04:02:08 +0000230:11 Constant:
240:11 1 (const int)
John Kessenich8b37b042015-04-29 10:16:56 +0000250:14 Function Definition: bar( (global void)
John Kessenich4586dbd2013-08-05 15:52:03 +0000260:14 Function Parameters:
John Kessenich8b37b042015-04-29 10:16:56 +0000270:18 Function Definition: unreachableReturn( (global float)
John Kessenich4586dbd2013-08-05 15:52:03 +0000280:18 Function Parameters:
290:20 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +0000300:20 Test condition and select (temp void)
John Kessenich4586dbd2013-08-05 15:52:03 +0000310:20 Condition
John Kessenich8b37b042015-04-29 10:16:56 +0000320:20 Compare Less Than (temp bool)
John Kessenich4586dbd2013-08-05 15:52:03 +0000330:20 'd' (uniform float)
John Kessenichf2ee3dd2013-09-28 04:02:08 +0000340:20 Constant:
350:20 4.200000
John Kessenich4586dbd2013-08-05 15:52:03 +0000360:20 true case
370:21 Branch: Return with expression
John Kessenichf2ee3dd2013-09-28 04:02:08 +0000380:21 Constant:
390:21 1.200000
John Kessenich4586dbd2013-08-05 15:52:03 +0000400:20 false case
410:23 Branch: Return with expression
John Kessenichf2ee3dd2013-09-28 04:02:08 +0000420:23 Constant:
430:23 4.500000
John Kessenich8b37b042015-04-29 10:16:56 +0000440:27 Function Definition: missingReturn( (global float)
John Kessenich4586dbd2013-08-05 15:52:03 +0000450:27 Function Parameters:
460:29 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +0000470:29 Test condition and select (temp void)
John Kessenich4586dbd2013-08-05 15:52:03 +0000480:29 Condition
John Kessenich8b37b042015-04-29 10:16:56 +0000490:29 Compare Less Than (temp bool)
John Kessenich4586dbd2013-08-05 15:52:03 +0000500:29 'd' (uniform float)
John Kessenichf2ee3dd2013-09-28 04:02:08 +0000510:29 Constant:
520:29 4.500000
John Kessenich4586dbd2013-08-05 15:52:03 +0000530:29 true case
540:30 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +0000550:30 move second child to first child (temp float)
560:30 'h' (global float)
John Kessenich4586dbd2013-08-05 15:52:03 +0000570:30 'd' (uniform float)
580:31 Branch: Return with expression
John Kessenichf2ee3dd2013-09-28 04:02:08 +0000590:31 Constant:
600:31 3.900000
John Kessenich8b37b042015-04-29 10:16:56 +0000610:35 Function Definition: main( (global void)
John Kessenich4586dbd2013-08-05 15:52:03 +0000620:35 Function Parameters:
630:37 Sequence
640:37 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +0000650:37 move second child to first child (temp 4-component vector of float)
660:37 'color' (temp 4-component vector of float)
670:37 Construct vec4 (temp 4-component vector of float)
680:37 Function Call: foo(vf4; (global float)
John Kessenich4586dbd2013-08-05 15:52:03 +0000690:37 'BaseColor' (smooth in 4-component vector of float)
John Kessenich8b37b042015-04-29 10:16:56 +0000700:39 Function Call: bar( (global void)
John Kessenich4586dbd2013-08-05 15:52:03 +0000710:40 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +0000720:40 move second child to first child (temp float)
730:40 'f' (temp float)
740:40 Function Call: unreachableReturn( (global float)
John Kessenich4586dbd2013-08-05 15:52:03 +0000750:41 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +0000760:41 move second child to first child (temp float)
770:41 'g' (temp float)
780:41 Function Call: missingReturn( (global float)
790:43 move second child to first child (temp 4-component vector of float)
John Kessenichdff18a22015-05-18 16:45:49 +0000800:43 'gl_FragColor' (fragColor 4-component vector of float FragColor)
John Kessenich8b37b042015-04-29 10:16:56 +0000810:43 vector-scale (temp 4-component vector of float)
820:43 vector-scale (temp 4-component vector of float)
830:43 'color' (temp 4-component vector of float)
840:43 'f' (temp float)
850:43 'h' (global float)
John Kessenich4586dbd2013-08-05 15:52:03 +0000860:? Linker Objects
870:? 'bigColor' (uniform 4-component vector of float)
880:? 'BaseColor' (smooth in 4-component vector of float)
890:? 'd' (uniform float)
John Kessenich8b37b042015-04-29 10:16:56 +0000900:? 'h' (global float)
John Kessenich4586dbd2013-08-05 15:52:03 +000091
John Kessenich5134b9c2013-11-20 21:12:43 +000092
93Linked fragment stage:
94
95
John Kessenichb4ef9e02014-03-31 22:20:47 +000096Shader version: 130
John Kessenichcf0206c2014-04-14 15:46:40 +0000970:? Sequence
980:7 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +0000990:7 move second child to first child (temp float)
1000:7 'h' (global float)
John Kessenichcf0206c2014-04-14 15:46:40 +00001010:7 Constant:
1020:7 0.000000
John Kessenich8b37b042015-04-29 10:16:56 +00001030:9 Function Definition: foo(vf4; (global float)
John Kessenichcf0206c2014-04-14 15:46:40 +00001040:9 Function Parameters:
1050:9 'bar' (in 4-component vector of float)
1060:11 Sequence
1070:11 Branch: Return with expression
John Kessenich8b37b042015-04-29 10:16:56 +00001080:11 add (temp float)
1090:11 direct index (temp float)
John Kessenichcf0206c2014-04-14 15:46:40 +00001100:11 'bar' (in 4-component vector of float)
1110:11 Constant:
1120:11 0 (const int)
John Kessenich8b37b042015-04-29 10:16:56 +00001130:11 direct index (temp float)
John Kessenichcf0206c2014-04-14 15:46:40 +00001140:11 'bar' (in 4-component vector of float)
1150:11 Constant:
1160:11 1 (const int)
John Kessenich8b37b042015-04-29 10:16:56 +00001170:14 Function Definition: bar( (global void)
John Kessenichcf0206c2014-04-14 15:46:40 +00001180:14 Function Parameters:
John Kessenich8b37b042015-04-29 10:16:56 +00001190:18 Function Definition: unreachableReturn( (global float)
John Kessenichcf0206c2014-04-14 15:46:40 +00001200:18 Function Parameters:
1210:20 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +00001220:20 Test condition and select (temp void)
John Kessenichcf0206c2014-04-14 15:46:40 +00001230:20 Condition
John Kessenich8b37b042015-04-29 10:16:56 +00001240:20 Compare Less Than (temp bool)
John Kessenichcf0206c2014-04-14 15:46:40 +00001250:20 'd' (uniform float)
1260:20 Constant:
1270:20 4.200000
1280:20 true case
1290:21 Branch: Return with expression
1300:21 Constant:
1310:21 1.200000
1320:20 false case
1330:23 Branch: Return with expression
1340:23 Constant:
1350:23 4.500000
John Kessenich8b37b042015-04-29 10:16:56 +00001360:27 Function Definition: missingReturn( (global float)
John Kessenichcf0206c2014-04-14 15:46:40 +00001370:27 Function Parameters:
1380:29 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +00001390:29 Test condition and select (temp void)
John Kessenichcf0206c2014-04-14 15:46:40 +00001400:29 Condition
John Kessenich8b37b042015-04-29 10:16:56 +00001410:29 Compare Less Than (temp bool)
John Kessenichcf0206c2014-04-14 15:46:40 +00001420:29 'd' (uniform float)
1430:29 Constant:
1440:29 4.500000
1450:29 true case
1460:30 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +00001470:30 move second child to first child (temp float)
1480:30 'h' (global float)
John Kessenichcf0206c2014-04-14 15:46:40 +00001490:30 'd' (uniform float)
1500:31 Branch: Return with expression
1510:31 Constant:
1520:31 3.900000
John Kessenich8b37b042015-04-29 10:16:56 +00001530:35 Function Definition: main( (global void)
John Kessenichcf0206c2014-04-14 15:46:40 +00001540:35 Function Parameters:
1550:37 Sequence
1560:37 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +00001570:37 move second child to first child (temp 4-component vector of float)
1580:37 'color' (temp 4-component vector of float)
1590:37 Construct vec4 (temp 4-component vector of float)
1600:37 Function Call: foo(vf4; (global float)
John Kessenichcf0206c2014-04-14 15:46:40 +00001610:37 'BaseColor' (smooth in 4-component vector of float)
John Kessenich8b37b042015-04-29 10:16:56 +00001620:39 Function Call: bar( (global void)
John Kessenichcf0206c2014-04-14 15:46:40 +00001630:40 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +00001640:40 move second child to first child (temp float)
1650:40 'f' (temp float)
1660:40 Function Call: unreachableReturn( (global float)
John Kessenichcf0206c2014-04-14 15:46:40 +00001670:41 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +00001680:41 move second child to first child (temp float)
1690:41 'g' (temp float)
1700:41 Function Call: missingReturn( (global float)
1710:43 move second child to first child (temp 4-component vector of float)
John Kessenichdff18a22015-05-18 16:45:49 +00001720:43 'gl_FragColor' (fragColor 4-component vector of float FragColor)
John Kessenich8b37b042015-04-29 10:16:56 +00001730:43 vector-scale (temp 4-component vector of float)
1740:43 vector-scale (temp 4-component vector of float)
1750:43 'color' (temp 4-component vector of float)
1760:43 'f' (temp float)
1770:43 'h' (global float)
John Kessenichcf0206c2014-04-14 15:46:40 +00001780:? Linker Objects
1790:? 'bigColor' (uniform 4-component vector of float)
1800:? 'BaseColor' (smooth in 4-component vector of float)
1810:? 'd' (uniform float)
John Kessenich8b37b042015-04-29 10:16:56 +00001820:? 'h' (global float)
John Kessenich5134b9c2013-11-20 21:12:43 +0000183