1structDeref.frag 2WARNING: 0:4: varying deprecated in version 130; may be removed in future release 3 4Shader version: 130 50:? Sequence 60:41 Function Definition: main( ( global void) 70:41 Function Parameters: 80:? Sequence 90:51 Test condition and select ( temp void) 100:51 Condition 110:51 Compare Greater Than ( temp bool) 120:51 i: direct index for structure ( global int) 130:51 direct index ( temp structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 140:51 s2_1: direct index for structure ( global 12-element array of structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 150:51 'foo3' ( uniform structure{ global 12-element array of structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1} s2_1, global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 160:51 Constant: 170:51 0 (const int) 180:51 Constant: 190:51 9 (const int) 200:51 Constant: 210:51 0 (const int) 220:51 Constant: 230:51 0 (const int) 240:51 true case 250:52 Sequence 260:52 move second child to first child ( temp float) 270:52 f: direct index for structure ( global float) 280:52 'locals2' ( temp structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 290:52 Constant: 300:52 1 (const int) 310:52 Constant: 320:52 1.000000 330:53 move second child to first child ( temp structure{ global int i, global float f, global structure{ global int i} s0_1}) 340:53 s1_1: direct index for structure ( global structure{ global int i, global float f, global structure{ global int i} s0_1}) 350:53 'locals2' ( temp structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 360:53 Constant: 370:53 2 (const int) 380:53 Constant: 390:53 0 (const int) 400:53 1.000000 410:53 0 (const int) 420:54 move second child to first child ( temp 6-element array of float) 430:54 'fArray' ( temp 6-element array of float) 440:54 Constant: 450:54 0.000000 460:54 0.000000 470:54 0.000000 480:54 0.000000 490:54 0.000000 500:54 0.000000 510:55 move second child to first child ( temp structure{ global int i, global float f, global structure{ global int i} s0_1}) 520:55 direct index ( temp structure{ global int i, global float f, global structure{ global int i} s0_1}) 530:55 'locals1Array' ( temp 10-element array of structure{ global int i, global float f, global structure{ global int i} s0_1}) 540:55 Constant: 550:55 6 (const int) 560:55 'foo1' ( uniform structure{ global int i, global float f, global structure{ global int i} s0_1}) 570:56 move second child to first child ( temp structure{ global int i}) 580:56 'locals0' ( temp structure{ global int i}) 590:56 Constant: 600:56 0 (const int) 610:57 move second child to first child ( temp structure{ global structure{ global int i} s0_0}) 620:57 'locals00' ( temp structure{ global structure{ global int i} s0_0}) 630:57 Constant: 640:57 0 (const int) 650:51 false case 660:59 Sequence 670:59 move second child to first child ( temp float) 680:59 f: direct index for structure ( global float) 690:59 'locals2' ( temp structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 700:59 Constant: 710:59 1 (const int) 720:59 direct index ( temp float) 730:59 'coord' ( smooth in 2-component vector of float) 740:59 Constant: 750:59 0 (const int) 760:60 move second child to first child ( temp structure{ global int i, global float f, global structure{ global int i} s0_1}) 770:60 s1_1: direct index for structure ( global structure{ global int i, global float f, global structure{ global int i} s0_1}) 780:60 'locals2' ( temp structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 790:60 Constant: 800:60 2 (const int) 810:60 Construct structure ( temp structure{ global int i, global float f, global structure{ global int i} s0_1}) 820:60 Constant: 830:60 1 (const int) 840:60 direct index ( temp float) 850:60 'coord' ( smooth in 2-component vector of float) 860:60 Constant: 870:60 1 (const int) 880:60 'foo0' ( uniform structure{ global int i}) 890:61 move second child to first child ( temp 6-element array of float) 900:61 'fArray' ( temp 6-element array of float) 910:61 Constant: 920:61 0.000000 930:61 1.000000 940:61 2.000000 950:61 3.000000 960:61 4.000000 970:61 5.000000 980:62 move second child to first child ( temp structure{ global int i, global float f, global structure{ global int i} s0_1}) 990:62 direct index ( temp structure{ global int i, global float f, global structure{ global int i} s0_1}) 1000:62 'locals1Array' ( temp 10-element array of structure{ global int i, global float f, global structure{ global int i} s0_1}) 1010:62 Constant: 1020:62 6 (const int) 1030:62 s1_1: direct index for structure ( global structure{ global int i, global float f, global structure{ global int i} s0_1}) 1040:62 'locals2' ( temp structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 1050:62 Constant: 1060:62 2 (const int) 1070:63 move second child to first child ( temp structure{ global int i}) 1080:63 'locals0' ( temp structure{ global int i}) 1090:63 s0_1: direct index for structure ( global structure{ global int i}) 1100:63 'foo1' ( uniform structure{ global int i, global float f, global structure{ global int i} s0_1}) 1110:63 Constant: 1120:63 2 (const int) 1130:64 move second child to first child ( temp structure{ global structure{ global int i} s0_0}) 1140:64 'locals00' ( temp structure{ global structure{ global int i} s0_0}) 1150:64 'foo00' ( uniform structure{ global structure{ global int i} s0_0}) 1160:67 Test condition and select ( temp void) 1170:67 Condition 1180:67 Compare Greater Than ( temp bool) 1190:67 i: direct index for structure ( global int) 1200:67 'locals0' ( temp structure{ global int i}) 1210:67 Constant: 1220:67 0 (const int) 1230:67 Constant: 1240:67 5 (const int) 1250:67 true case 1260:68 move second child to first child ( temp structure{ global int i}) 1270:68 'locals0' ( temp structure{ global int i}) 1280:68 s0_0: direct index for structure ( global structure{ global int i}) 1290:68 'locals00' ( temp structure{ global structure{ global int i} s0_0}) 1300:68 Constant: 1310:68 0 (const int) 1320:70 move second child to first child ( temp 4-component vector of float) 1330:70 'gl_FragColor' ( fragColor 4-component vector of float FragColor) 1340:70 vector-scale ( temp 4-component vector of float) 1350:70 add ( temp float) 1360:70 add ( temp float) 1370:70 add ( temp float) 1380:70 Convert int to float ( temp float) 1390:70 i: direct index for structure ( global int) 1400:70 'locals0' ( temp structure{ global int i}) 1410:70 Constant: 1420:70 0 (const int) 1430:70 f: direct index for structure ( global float) 1440:70 direct index ( temp structure{ global int i, global float f, global structure{ global int i} s0_1}) 1450:70 'locals1Array' ( temp 10-element array of structure{ global int i, global float f, global structure{ global int i} s0_1}) 1460:70 Constant: 1470:70 6 (const int) 1480:70 Constant: 1490:70 1 (const int) 1500:70 direct index ( temp float) 1510:70 'fArray' ( temp 6-element array of float) 1520:70 Constant: 1530:70 3 (const int) 1540:70 f: direct index for structure ( global float) 1550:70 s1_1: direct index for structure ( global structure{ global int i, global float f, global structure{ global int i} s0_1}) 1560:70 'locals2' ( temp structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 1570:70 Constant: 1580:70 2 (const int) 1590:70 Constant: 1600:70 1 (const int) 1610:70 texture ( global 4-component vector of float) 1620:70 'sampler' ( uniform sampler2D) 1630:70 'coord' ( smooth in 2-component vector of float) 1640:? Linker Objects 1650:? 'sampler' ( uniform sampler2D) 1660:? 'coord' ( smooth in 2-component vector of float) 1670:? 'foo0' ( uniform structure{ global int i}) 1680:? 'foo1' ( uniform structure{ global int i, global float f, global structure{ global int i} s0_1}) 1690:? 'foo2' ( uniform structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 1700:? 'foo3' ( uniform structure{ global 12-element array of structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1} s2_1, global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 1710:? 'foo00' ( uniform structure{ global structure{ global int i} s0_0}) 172 173 174Linked fragment stage: 175 176 177Shader version: 130 1780:? Sequence 1790:41 Function Definition: main( ( global void) 1800:41 Function Parameters: 1810:? Sequence 1820:51 Test condition and select ( temp void) 1830:51 Condition 1840:51 Compare Greater Than ( temp bool) 1850:51 i: direct index for structure ( global int) 1860:51 direct index ( temp structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 1870:51 s2_1: direct index for structure ( global 12-element array of structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 1880:51 'foo3' ( uniform structure{ global 12-element array of structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1} s2_1, global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 1890:51 Constant: 1900:51 0 (const int) 1910:51 Constant: 1920:51 9 (const int) 1930:51 Constant: 1940:51 0 (const int) 1950:51 Constant: 1960:51 0 (const int) 1970:51 true case 1980:52 Sequence 1990:52 move second child to first child ( temp float) 2000:52 f: direct index for structure ( global float) 2010:52 'locals2' ( temp structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 2020:52 Constant: 2030:52 1 (const int) 2040:52 Constant: 2050:52 1.000000 2060:53 move second child to first child ( temp structure{ global int i, global float f, global structure{ global int i} s0_1}) 2070:53 s1_1: direct index for structure ( global structure{ global int i, global float f, global structure{ global int i} s0_1}) 2080:53 'locals2' ( temp structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 2090:53 Constant: 2100:53 2 (const int) 2110:53 Constant: 2120:53 0 (const int) 2130:53 1.000000 2140:53 0 (const int) 2150:54 move second child to first child ( temp 6-element array of float) 2160:54 'fArray' ( temp 6-element array of float) 2170:54 Constant: 2180:54 0.000000 2190:54 0.000000 2200:54 0.000000 2210:54 0.000000 2220:54 0.000000 2230:54 0.000000 2240:55 move second child to first child ( temp structure{ global int i, global float f, global structure{ global int i} s0_1}) 2250:55 direct index ( temp structure{ global int i, global float f, global structure{ global int i} s0_1}) 2260:55 'locals1Array' ( temp 10-element array of structure{ global int i, global float f, global structure{ global int i} s0_1}) 2270:55 Constant: 2280:55 6 (const int) 2290:55 'foo1' ( uniform structure{ global int i, global float f, global structure{ global int i} s0_1}) 2300:56 move second child to first child ( temp structure{ global int i}) 2310:56 'locals0' ( temp structure{ global int i}) 2320:56 Constant: 2330:56 0 (const int) 2340:57 move second child to first child ( temp structure{ global structure{ global int i} s0_0}) 2350:57 'locals00' ( temp structure{ global structure{ global int i} s0_0}) 2360:57 Constant: 2370:57 0 (const int) 2380:51 false case 2390:59 Sequence 2400:59 move second child to first child ( temp float) 2410:59 f: direct index for structure ( global float) 2420:59 'locals2' ( temp structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 2430:59 Constant: 2440:59 1 (const int) 2450:59 direct index ( temp float) 2460:59 'coord' ( smooth in 2-component vector of float) 2470:59 Constant: 2480:59 0 (const int) 2490:60 move second child to first child ( temp structure{ global int i, global float f, global structure{ global int i} s0_1}) 2500:60 s1_1: direct index for structure ( global structure{ global int i, global float f, global structure{ global int i} s0_1}) 2510:60 'locals2' ( temp structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 2520:60 Constant: 2530:60 2 (const int) 2540:60 Construct structure ( temp structure{ global int i, global float f, global structure{ global int i} s0_1}) 2550:60 Constant: 2560:60 1 (const int) 2570:60 direct index ( temp float) 2580:60 'coord' ( smooth in 2-component vector of float) 2590:60 Constant: 2600:60 1 (const int) 2610:60 'foo0' ( uniform structure{ global int i}) 2620:61 move second child to first child ( temp 6-element array of float) 2630:61 'fArray' ( temp 6-element array of float) 2640:61 Constant: 2650:61 0.000000 2660:61 1.000000 2670:61 2.000000 2680:61 3.000000 2690:61 4.000000 2700:61 5.000000 2710:62 move second child to first child ( temp structure{ global int i, global float f, global structure{ global int i} s0_1}) 2720:62 direct index ( temp structure{ global int i, global float f, global structure{ global int i} s0_1}) 2730:62 'locals1Array' ( temp 10-element array of structure{ global int i, global float f, global structure{ global int i} s0_1}) 2740:62 Constant: 2750:62 6 (const int) 2760:62 s1_1: direct index for structure ( global structure{ global int i, global float f, global structure{ global int i} s0_1}) 2770:62 'locals2' ( temp structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 2780:62 Constant: 2790:62 2 (const int) 2800:63 move second child to first child ( temp structure{ global int i}) 2810:63 'locals0' ( temp structure{ global int i}) 2820:63 s0_1: direct index for structure ( global structure{ global int i}) 2830:63 'foo1' ( uniform structure{ global int i, global float f, global structure{ global int i} s0_1}) 2840:63 Constant: 2850:63 2 (const int) 2860:64 move second child to first child ( temp structure{ global structure{ global int i} s0_0}) 2870:64 'locals00' ( temp structure{ global structure{ global int i} s0_0}) 2880:64 'foo00' ( uniform structure{ global structure{ global int i} s0_0}) 2890:67 Test condition and select ( temp void) 2900:67 Condition 2910:67 Compare Greater Than ( temp bool) 2920:67 i: direct index for structure ( global int) 2930:67 'locals0' ( temp structure{ global int i}) 2940:67 Constant: 2950:67 0 (const int) 2960:67 Constant: 2970:67 5 (const int) 2980:67 true case 2990:68 move second child to first child ( temp structure{ global int i}) 3000:68 'locals0' ( temp structure{ global int i}) 3010:68 s0_0: direct index for structure ( global structure{ global int i}) 3020:68 'locals00' ( temp structure{ global structure{ global int i} s0_0}) 3030:68 Constant: 3040:68 0 (const int) 3050:70 move second child to first child ( temp 4-component vector of float) 3060:70 'gl_FragColor' ( fragColor 4-component vector of float FragColor) 3070:70 vector-scale ( temp 4-component vector of float) 3080:70 add ( temp float) 3090:70 add ( temp float) 3100:70 add ( temp float) 3110:70 Convert int to float ( temp float) 3120:70 i: direct index for structure ( global int) 3130:70 'locals0' ( temp structure{ global int i}) 3140:70 Constant: 3150:70 0 (const int) 3160:70 f: direct index for structure ( global float) 3170:70 direct index ( temp structure{ global int i, global float f, global structure{ global int i} s0_1}) 3180:70 'locals1Array' ( temp 10-element array of structure{ global int i, global float f, global structure{ global int i} s0_1}) 3190:70 Constant: 3200:70 6 (const int) 3210:70 Constant: 3220:70 1 (const int) 3230:70 direct index ( temp float) 3240:70 'fArray' ( temp 6-element array of float) 3250:70 Constant: 3260:70 3 (const int) 3270:70 f: direct index for structure ( global float) 3280:70 s1_1: direct index for structure ( global structure{ global int i, global float f, global structure{ global int i} s0_1}) 3290:70 'locals2' ( temp structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 3300:70 Constant: 3310:70 2 (const int) 3320:70 Constant: 3330:70 1 (const int) 3340:70 texture ( global 4-component vector of float) 3350:70 'sampler' ( uniform sampler2D) 3360:70 'coord' ( smooth in 2-component vector of float) 3370:? Linker Objects 3380:? 'sampler' ( uniform sampler2D) 3390:? 'coord' ( smooth in 2-component vector of float) 3400:? 'foo0' ( uniform structure{ global int i}) 3410:? 'foo1' ( uniform structure{ global int i, global float f, global structure{ global int i} s0_1}) 3420:? 'foo2' ( uniform structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 3430:? 'foo3' ( uniform structure{ global 12-element array of structure{ global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1} s2_1, global int i, global float f, global structure{ global int i, global float f, global structure{ global int i} s0_1} s1_1}) 3440:? 'foo00' ( uniform structure{ global structure{ global int i} s0_0}) 345 346