• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.load.offset.dx10.frag
2Shader version: 500
3gl_FragCoord origin is upper left
4using depth_any
50:? Sequence
60:43  Function Definition: getOffset1( ( temp int)
70:43    Function Parameters:
80:?     Sequence
90:44      Branch: Return with expression
100:44        Constant:
110:44          1 (const int)
120:48  Function Definition: getOffset2( ( temp 2-component vector of int)
130:48    Function Parameters:
140:?     Sequence
150:49      Branch: Return with expression
160:49        Constant:
170:49          1 (const int)
180:49          1 (const int)
190:53  Function Definition: getOffset3( ( temp 3-component vector of int)
200:53    Function Parameters:
210:?     Sequence
220:54      Branch: Return with expression
230:54        Constant:
240:54          1 (const int)
250:54          1 (const int)
260:54          1 (const int)
270:58  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
280:58    Function Parameters:
290:?     Sequence
300:62      textureFetchOffset ( temp 4-component vector of float)
310:62        'g_tTex1df4' (layout( binding=0) uniform texture1D)
320:62        vector swizzle ( temp int)
330:62          c2: direct index for structure ( uniform 2-component vector of int)
340:62            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
350:62            Constant:
360:62              1 (const uint)
370:62          Sequence
380:62            Constant:
390:62              0 (const int)
400:62        direct index ( temp int)
410:62          c2: direct index for structure ( uniform 2-component vector of int)
420:62            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
430:62            Constant:
440:62              1 (const uint)
450:62          Constant:
460:62            1 (const int)
470:62        Function Call: getOffset1( ( temp int)
480:63      textureFetchOffset ( temp 4-component vector of int)
490:63        'g_tTex1di4' ( uniform itexture1D)
500:63        vector swizzle ( temp int)
510:63          c2: direct index for structure ( uniform 2-component vector of int)
520:63            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
530:63            Constant:
540:63              1 (const uint)
550:63          Sequence
560:63            Constant:
570:63              0 (const int)
580:63        direct index ( temp int)
590:63          c2: direct index for structure ( uniform 2-component vector of int)
600:63            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
610:63            Constant:
620:63              1 (const uint)
630:63          Constant:
640:63            1 (const int)
650:63        Function Call: getOffset1( ( temp int)
660:64      textureFetchOffset ( temp 4-component vector of uint)
670:64        'g_tTex1du4' ( uniform utexture1D)
680:64        vector swizzle ( temp int)
690:64          c2: direct index for structure ( uniform 2-component vector of int)
700:64            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
710:64            Constant:
720:64              1 (const uint)
730:64          Sequence
740:64            Constant:
750:64              0 (const int)
760:64        direct index ( temp int)
770:64          c2: direct index for structure ( uniform 2-component vector of int)
780:64            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
790:64            Constant:
800:64              1 (const uint)
810:64          Constant:
820:64            1 (const int)
830:64        Function Call: getOffset1( ( temp int)
840:67      textureFetchOffset ( temp 4-component vector of float)
850:67        'g_tTex2df4' ( uniform texture2D)
860:67        vector swizzle ( temp 2-component vector of int)
870:67          c3: direct index for structure ( uniform 3-component vector of int)
880:67            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
890:67            Constant:
900:67              2 (const uint)
910:67          Sequence
920:67            Constant:
930:67              0 (const int)
940:67            Constant:
950:67              1 (const int)
960:67        direct index ( temp int)
970:67          c3: direct index for structure ( uniform 3-component vector of int)
980:67            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
990:67            Constant:
1000:67              2 (const uint)
1010:67          Constant:
1020:67            2 (const int)
1030:67        Function Call: getOffset2( ( temp 2-component vector of int)
1040:68      textureFetchOffset ( temp 4-component vector of int)
1050:68        'g_tTex2di4' ( uniform itexture2D)
1060:68        vector swizzle ( temp 2-component vector of int)
1070:68          c3: direct index for structure ( uniform 3-component vector of int)
1080:68            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
1090:68            Constant:
1100:68              2 (const uint)
1110:68          Sequence
1120:68            Constant:
1130:68              0 (const int)
1140:68            Constant:
1150:68              1 (const int)
1160:68        direct index ( temp int)
1170:68          c3: direct index for structure ( uniform 3-component vector of int)
1180:68            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
1190:68            Constant:
1200:68              2 (const uint)
1210:68          Constant:
1220:68            2 (const int)
1230:68        Function Call: getOffset2( ( temp 2-component vector of int)
1240:69      textureFetchOffset ( temp 4-component vector of uint)
1250:69        'g_tTex2du4' ( uniform utexture2D)
1260:69        vector swizzle ( temp 2-component vector of int)
1270:69          c3: direct index for structure ( uniform 3-component vector of int)
1280:69            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
1290:69            Constant:
1300:69              2 (const uint)
1310:69          Sequence
1320:69            Constant:
1330:69              0 (const int)
1340:69            Constant:
1350:69              1 (const int)
1360:69        direct index ( temp int)
1370:69          c3: direct index for structure ( uniform 3-component vector of int)
1380:69            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
1390:69            Constant:
1400:69              2 (const uint)
1410:69          Constant:
1420:69            2 (const int)
1430:69        Function Call: getOffset2( ( temp 2-component vector of int)
1440:72      textureFetchOffset ( temp 4-component vector of float)
1450:72        'g_tTex3df4' ( uniform texture3D)
1460:72        vector swizzle ( temp 3-component vector of int)
1470:72          c4: direct index for structure ( uniform 4-component vector of int)
1480:72            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
1490:72            Constant:
1500:72              3 (const uint)
1510:72          Sequence
1520:72            Constant:
1530:72              0 (const int)
1540:72            Constant:
1550:72              1 (const int)
1560:72            Constant:
1570:72              2 (const int)
1580:72        direct index ( temp int)
1590:72          c4: direct index for structure ( uniform 4-component vector of int)
1600:72            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
1610:72            Constant:
1620:72              3 (const uint)
1630:72          Constant:
1640:72            3 (const int)
1650:72        Function Call: getOffset3( ( temp 3-component vector of int)
1660:73      textureFetchOffset ( temp 4-component vector of int)
1670:73        'g_tTex3di4' ( uniform itexture3D)
1680:73        vector swizzle ( temp 3-component vector of int)
1690:73          c4: direct index for structure ( uniform 4-component vector of int)
1700:73            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
1710:73            Constant:
1720:73              3 (const uint)
1730:73          Sequence
1740:73            Constant:
1750:73              0 (const int)
1760:73            Constant:
1770:73              1 (const int)
1780:73            Constant:
1790:73              2 (const int)
1800:73        direct index ( temp int)
1810:73          c4: direct index for structure ( uniform 4-component vector of int)
1820:73            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
1830:73            Constant:
1840:73              3 (const uint)
1850:73          Constant:
1860:73            3 (const int)
1870:73        Function Call: getOffset3( ( temp 3-component vector of int)
1880:74      textureFetchOffset ( temp 4-component vector of uint)
1890:74        'g_tTex3du4' ( uniform utexture3D)
1900:74        vector swizzle ( temp 3-component vector of int)
1910:74          c4: direct index for structure ( uniform 4-component vector of int)
1920:74            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
1930:74            Constant:
1940:74              3 (const uint)
1950:74          Sequence
1960:74            Constant:
1970:74              0 (const int)
1980:74            Constant:
1990:74              1 (const int)
2000:74            Constant:
2010:74              2 (const int)
2020:74        direct index ( temp int)
2030:74          c4: direct index for structure ( uniform 4-component vector of int)
2040:74            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
2050:74            Constant:
2060:74              3 (const uint)
2070:74          Constant:
2080:74            3 (const int)
2090:74        Function Call: getOffset3( ( temp 3-component vector of int)
2100:82      move second child to first child ( temp 4-component vector of float)
2110:82        Color: direct index for structure ( temp 4-component vector of float)
2120:82          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
2130:82          Constant:
2140:82            0 (const int)
2150:82        Constant:
2160:82          1.000000
2170:82          1.000000
2180:82          1.000000
2190:82          1.000000
2200:83      move second child to first child ( temp float)
2210:83        Depth: direct index for structure ( temp float)
2220:83          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
2230:83          Constant:
2240:83            1 (const int)
2250:83        Constant:
2260:83          1.000000
2270:85      Branch: Return with expression
2280:85        'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
2290:58  Function Definition: main( ( temp void)
2300:58    Function Parameters:
2310:?     Sequence
2320:58      Sequence
2330:58        move second child to first child ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
2340:58          'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
2350:58          Function Call: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
2360:58        move second child to first child ( temp 4-component vector of float)
2370:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
2380:58          Color: direct index for structure ( temp 4-component vector of float)
2390:58            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
2400:58            Constant:
2410:58              0 (const int)
2420:58        move second child to first child ( temp float)
2430:?           '@entryPointOutput.Depth' ( out float FragDepth)
2440:58          Depth: direct index for structure ( temp float)
2450:58            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
2460:58            Constant:
2470:58              1 (const int)
2480:?   Linker Objects
2490:?     'g_sSamp' (layout( binding=0) uniform sampler)
2500:?     'g_tTex1df4' (layout( binding=0) uniform texture1D)
2510:?     'g_tTex1di4' ( uniform itexture1D)
2520:?     'g_tTex1du4' ( uniform utexture1D)
2530:?     'g_tTex2df4' ( uniform texture2D)
2540:?     'g_tTex2di4' ( uniform itexture2D)
2550:?     'g_tTex2du4' ( uniform utexture2D)
2560:?     'g_tTex3df4' ( uniform texture3D)
2570:?     'g_tTex3di4' ( uniform itexture3D)
2580:?     'g_tTex3du4' ( uniform utexture3D)
2590:?     'g_tTexcdf4' ( uniform textureCube)
2600:?     'g_tTexcdi4' ( uniform itextureCube)
2610:?     'g_tTexcdu4' ( uniform utextureCube)
2620:?     'g_tTex1df4a' ( uniform texture1DArray)
2630:?     'g_tTex1di4a' ( uniform itexture1DArray)
2640:?     'g_tTex1du4a' ( uniform utexture1DArray)
2650:?     'g_tTex2df4a' ( uniform texture2DArray)
2660:?     'g_tTex2di4a' ( uniform itexture2DArray)
2670:?     'g_tTex2du4a' ( uniform utexture2DArray)
2680:?     'g_tTexcdf4a' ( uniform textureCubeArray)
2690:?     'g_tTexcdi4a' ( uniform itextureCubeArray)
2700:?     'g_tTexcdu4a' ( uniform utextureCubeArray)
2710:?     'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
2720:?     '@entryPointOutput.Depth' ( out float FragDepth)
2730:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
274
275
276Linked fragment stage:
277
278
279Shader version: 500
280gl_FragCoord origin is upper left
281using depth_any
2820:? Sequence
2830:43  Function Definition: getOffset1( ( temp int)
2840:43    Function Parameters:
2850:?     Sequence
2860:44      Branch: Return with expression
2870:44        Constant:
2880:44          1 (const int)
2890:48  Function Definition: getOffset2( ( temp 2-component vector of int)
2900:48    Function Parameters:
2910:?     Sequence
2920:49      Branch: Return with expression
2930:49        Constant:
2940:49          1 (const int)
2950:49          1 (const int)
2960:53  Function Definition: getOffset3( ( temp 3-component vector of int)
2970:53    Function Parameters:
2980:?     Sequence
2990:54      Branch: Return with expression
3000:54        Constant:
3010:54          1 (const int)
3020:54          1 (const int)
3030:54          1 (const int)
3040:58  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
3050:58    Function Parameters:
3060:?     Sequence
3070:62      textureFetchOffset ( temp 4-component vector of float)
3080:62        'g_tTex1df4' (layout( binding=0) uniform texture1D)
3090:62        vector swizzle ( temp int)
3100:62          c2: direct index for structure ( uniform 2-component vector of int)
3110:62            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
3120:62            Constant:
3130:62              1 (const uint)
3140:62          Sequence
3150:62            Constant:
3160:62              0 (const int)
3170:62        direct index ( temp int)
3180:62          c2: direct index for structure ( uniform 2-component vector of int)
3190:62            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
3200:62            Constant:
3210:62              1 (const uint)
3220:62          Constant:
3230:62            1 (const int)
3240:62        Function Call: getOffset1( ( temp int)
3250:63      textureFetchOffset ( temp 4-component vector of int)
3260:63        'g_tTex1di4' ( uniform itexture1D)
3270:63        vector swizzle ( temp int)
3280:63          c2: direct index for structure ( uniform 2-component vector of int)
3290:63            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
3300:63            Constant:
3310:63              1 (const uint)
3320:63          Sequence
3330:63            Constant:
3340:63              0 (const int)
3350:63        direct index ( temp int)
3360:63          c2: direct index for structure ( uniform 2-component vector of int)
3370:63            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
3380:63            Constant:
3390:63              1 (const uint)
3400:63          Constant:
3410:63            1 (const int)
3420:63        Function Call: getOffset1( ( temp int)
3430:64      textureFetchOffset ( temp 4-component vector of uint)
3440:64        'g_tTex1du4' ( uniform utexture1D)
3450:64        vector swizzle ( temp int)
3460:64          c2: direct index for structure ( uniform 2-component vector of int)
3470:64            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
3480:64            Constant:
3490:64              1 (const uint)
3500:64          Sequence
3510:64            Constant:
3520:64              0 (const int)
3530:64        direct index ( temp int)
3540:64          c2: direct index for structure ( uniform 2-component vector of int)
3550:64            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
3560:64            Constant:
3570:64              1 (const uint)
3580:64          Constant:
3590:64            1 (const int)
3600:64        Function Call: getOffset1( ( temp int)
3610:67      textureFetchOffset ( temp 4-component vector of float)
3620:67        'g_tTex2df4' ( uniform texture2D)
3630:67        vector swizzle ( temp 2-component vector of int)
3640:67          c3: direct index for structure ( uniform 3-component vector of int)
3650:67            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
3660:67            Constant:
3670:67              2 (const uint)
3680:67          Sequence
3690:67            Constant:
3700:67              0 (const int)
3710:67            Constant:
3720:67              1 (const int)
3730:67        direct index ( temp int)
3740:67          c3: direct index for structure ( uniform 3-component vector of int)
3750:67            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
3760:67            Constant:
3770:67              2 (const uint)
3780:67          Constant:
3790:67            2 (const int)
3800:67        Function Call: getOffset2( ( temp 2-component vector of int)
3810:68      textureFetchOffset ( temp 4-component vector of int)
3820:68        'g_tTex2di4' ( uniform itexture2D)
3830:68        vector swizzle ( temp 2-component vector of int)
3840:68          c3: direct index for structure ( uniform 3-component vector of int)
3850:68            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
3860:68            Constant:
3870:68              2 (const uint)
3880:68          Sequence
3890:68            Constant:
3900:68              0 (const int)
3910:68            Constant:
3920:68              1 (const int)
3930:68        direct index ( temp int)
3940:68          c3: direct index for structure ( uniform 3-component vector of int)
3950:68            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
3960:68            Constant:
3970:68              2 (const uint)
3980:68          Constant:
3990:68            2 (const int)
4000:68        Function Call: getOffset2( ( temp 2-component vector of int)
4010:69      textureFetchOffset ( temp 4-component vector of uint)
4020:69        'g_tTex2du4' ( uniform utexture2D)
4030:69        vector swizzle ( temp 2-component vector of int)
4040:69          c3: direct index for structure ( uniform 3-component vector of int)
4050:69            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
4060:69            Constant:
4070:69              2 (const uint)
4080:69          Sequence
4090:69            Constant:
4100:69              0 (const int)
4110:69            Constant:
4120:69              1 (const int)
4130:69        direct index ( temp int)
4140:69          c3: direct index for structure ( uniform 3-component vector of int)
4150:69            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
4160:69            Constant:
4170:69              2 (const uint)
4180:69          Constant:
4190:69            2 (const int)
4200:69        Function Call: getOffset2( ( temp 2-component vector of int)
4210:72      textureFetchOffset ( temp 4-component vector of float)
4220:72        'g_tTex3df4' ( uniform texture3D)
4230:72        vector swizzle ( temp 3-component vector of int)
4240:72          c4: direct index for structure ( uniform 4-component vector of int)
4250:72            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
4260:72            Constant:
4270:72              3 (const uint)
4280:72          Sequence
4290:72            Constant:
4300:72              0 (const int)
4310:72            Constant:
4320:72              1 (const int)
4330:72            Constant:
4340:72              2 (const int)
4350:72        direct index ( temp int)
4360:72          c4: direct index for structure ( uniform 4-component vector of int)
4370:72            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
4380:72            Constant:
4390:72              3 (const uint)
4400:72          Constant:
4410:72            3 (const int)
4420:72        Function Call: getOffset3( ( temp 3-component vector of int)
4430:73      textureFetchOffset ( temp 4-component vector of int)
4440:73        'g_tTex3di4' ( uniform itexture3D)
4450:73        vector swizzle ( temp 3-component vector of int)
4460:73          c4: direct index for structure ( uniform 4-component vector of int)
4470:73            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
4480:73            Constant:
4490:73              3 (const uint)
4500:73          Sequence
4510:73            Constant:
4520:73              0 (const int)
4530:73            Constant:
4540:73              1 (const int)
4550:73            Constant:
4560:73              2 (const int)
4570:73        direct index ( temp int)
4580:73          c4: direct index for structure ( uniform 4-component vector of int)
4590:73            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
4600:73            Constant:
4610:73              3 (const uint)
4620:73          Constant:
4630:73            3 (const int)
4640:73        Function Call: getOffset3( ( temp 3-component vector of int)
4650:74      textureFetchOffset ( temp 4-component vector of uint)
4660:74        'g_tTex3du4' ( uniform utexture3D)
4670:74        vector swizzle ( temp 3-component vector of int)
4680:74          c4: direct index for structure ( uniform 4-component vector of int)
4690:74            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
4700:74            Constant:
4710:74              3 (const uint)
4720:74          Sequence
4730:74            Constant:
4740:74              0 (const int)
4750:74            Constant:
4760:74              1 (const int)
4770:74            Constant:
4780:74              2 (const int)
4790:74        direct index ( temp int)
4800:74          c4: direct index for structure ( uniform 4-component vector of int)
4810:74            'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
4820:74            Constant:
4830:74              3 (const uint)
4840:74          Constant:
4850:74            3 (const int)
4860:74        Function Call: getOffset3( ( temp 3-component vector of int)
4870:82      move second child to first child ( temp 4-component vector of float)
4880:82        Color: direct index for structure ( temp 4-component vector of float)
4890:82          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
4900:82          Constant:
4910:82            0 (const int)
4920:82        Constant:
4930:82          1.000000
4940:82          1.000000
4950:82          1.000000
4960:82          1.000000
4970:83      move second child to first child ( temp float)
4980:83        Depth: direct index for structure ( temp float)
4990:83          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
5000:83          Constant:
5010:83            1 (const int)
5020:83        Constant:
5030:83          1.000000
5040:85      Branch: Return with expression
5050:85        'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
5060:58  Function Definition: main( ( temp void)
5070:58    Function Parameters:
5080:?     Sequence
5090:58      Sequence
5100:58        move second child to first child ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
5110:58          'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
5120:58          Function Call: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
5130:58        move second child to first child ( temp 4-component vector of float)
5140:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
5150:58          Color: direct index for structure ( temp 4-component vector of float)
5160:58            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
5170:58            Constant:
5180:58              0 (const int)
5190:58        move second child to first child ( temp float)
5200:?           '@entryPointOutput.Depth' ( out float FragDepth)
5210:58          Depth: direct index for structure ( temp float)
5220:58            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
5230:58            Constant:
5240:58              1 (const int)
5250:?   Linker Objects
5260:?     'g_sSamp' (layout( binding=0) uniform sampler)
5270:?     'g_tTex1df4' (layout( binding=0) uniform texture1D)
5280:?     'g_tTex1di4' ( uniform itexture1D)
5290:?     'g_tTex1du4' ( uniform utexture1D)
5300:?     'g_tTex2df4' ( uniform texture2D)
5310:?     'g_tTex2di4' ( uniform itexture2D)
5320:?     'g_tTex2du4' ( uniform utexture2D)
5330:?     'g_tTex3df4' ( uniform texture3D)
5340:?     'g_tTex3di4' ( uniform itexture3D)
5350:?     'g_tTex3du4' ( uniform utexture3D)
5360:?     'g_tTexcdf4' ( uniform textureCube)
5370:?     'g_tTexcdi4' ( uniform itextureCube)
5380:?     'g_tTexcdu4' ( uniform utextureCube)
5390:?     'g_tTex1df4a' ( uniform texture1DArray)
5400:?     'g_tTex1di4a' ( uniform itexture1DArray)
5410:?     'g_tTex1du4a' ( uniform utexture1DArray)
5420:?     'g_tTex2df4a' ( uniform texture2DArray)
5430:?     'g_tTex2di4a' ( uniform itexture2DArray)
5440:?     'g_tTex2du4a' ( uniform utexture2DArray)
5450:?     'g_tTexcdf4a' ( uniform textureCubeArray)
5460:?     'g_tTexcdi4a' ( uniform itextureCubeArray)
5470:?     'g_tTexcdu4a' ( uniform utextureCubeArray)
5480:?     'anon@0' (layout( row_major std140) uniform block{ uniform int c1,  uniform 2-component vector of int c2,  uniform 3-component vector of int c3,  uniform 4-component vector of int c4})
5490:?     '@entryPointOutput.Depth' ( out float FragDepth)
5500:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
551
552// Module Version 10000
553// Generated by (magic number): 8000b
554// Id's are bound by 205
555
556                              Capability Shader
557                              Capability ImageGatherExtended
558                              Capability Sampled1D
559                              Capability SampledCubeArray
560               1:             ExtInstImport  "GLSL.std.450"
561                              MemoryModel Logical GLSL450
562                              EntryPoint Fragment 4  "main" 159 163
563                              ExecutionMode 4 OriginUpperLeft
564                              ExecutionMode 4 DepthReplacing
565                              Source HLSL 500
566                              Name 4  "main"
567                              Name 8  "getOffset1("
568                              Name 12  "getOffset2("
569                              Name 16  "getOffset3("
570                              Name 20  "PS_OUTPUT"
571                              MemberName 20(PS_OUTPUT) 0  "Color"
572                              MemberName 20(PS_OUTPUT) 1  "Depth"
573                              Name 22  "@main("
574                              Name 35  "g_tTex1df4"
575                              Name 38  "$Global"
576                              MemberName 38($Global) 0  "c1"
577                              MemberName 38($Global) 1  "c2"
578                              MemberName 38($Global) 2  "c3"
579                              MemberName 38($Global) 3  "c4"
580                              Name 40  ""
581                              Name 53  "g_tTex1di4"
582                              Name 63  "g_tTex1du4"
583                              Name 74  "g_tTex2df4"
584                              Name 88  "g_tTex2di4"
585                              Name 99  "g_tTex2du4"
586                              Name 110  "g_tTex3df4"
587                              Name 124  "g_tTex3di4"
588                              Name 135  "g_tTex3du4"
589                              Name 145  "psout"
590                              Name 156  "flattenTemp"
591                              Name 159  "@entryPointOutput.Color"
592                              Name 163  "@entryPointOutput.Depth"
593                              Name 168  "g_sSamp"
594                              Name 171  "g_tTexcdf4"
595                              Name 174  "g_tTexcdi4"
596                              Name 177  "g_tTexcdu4"
597                              Name 180  "g_tTex1df4a"
598                              Name 183  "g_tTex1di4a"
599                              Name 186  "g_tTex1du4a"
600                              Name 189  "g_tTex2df4a"
601                              Name 192  "g_tTex2di4a"
602                              Name 195  "g_tTex2du4a"
603                              Name 198  "g_tTexcdf4a"
604                              Name 201  "g_tTexcdi4a"
605                              Name 204  "g_tTexcdu4a"
606                              Decorate 35(g_tTex1df4) DescriptorSet 0
607                              Decorate 35(g_tTex1df4) Binding 0
608                              MemberDecorate 38($Global) 0 Offset 0
609                              MemberDecorate 38($Global) 1 Offset 8
610                              MemberDecorate 38($Global) 2 Offset 16
611                              MemberDecorate 38($Global) 3 Offset 32
612                              Decorate 38($Global) Block
613                              Decorate 40 DescriptorSet 0
614                              Decorate 40 Binding 9
615                              Decorate 53(g_tTex1di4) DescriptorSet 0
616                              Decorate 53(g_tTex1di4) Binding 1
617                              Decorate 63(g_tTex1du4) DescriptorSet 0
618                              Decorate 63(g_tTex1du4) Binding 2
619                              Decorate 74(g_tTex2df4) DescriptorSet 0
620                              Decorate 74(g_tTex2df4) Binding 3
621                              Decorate 88(g_tTex2di4) DescriptorSet 0
622                              Decorate 88(g_tTex2di4) Binding 4
623                              Decorate 99(g_tTex2du4) DescriptorSet 0
624                              Decorate 99(g_tTex2du4) Binding 5
625                              Decorate 110(g_tTex3df4) DescriptorSet 0
626                              Decorate 110(g_tTex3df4) Binding 6
627                              Decorate 124(g_tTex3di4) DescriptorSet 0
628                              Decorate 124(g_tTex3di4) Binding 7
629                              Decorate 135(g_tTex3du4) DescriptorSet 0
630                              Decorate 135(g_tTex3du4) Binding 8
631                              Decorate 159(@entryPointOutput.Color) Location 0
632                              Decorate 163(@entryPointOutput.Depth) BuiltIn FragDepth
633                              Decorate 168(g_sSamp) DescriptorSet 0
634                              Decorate 168(g_sSamp) Binding 0
635                              Decorate 171(g_tTexcdf4) DescriptorSet 0
636                              Decorate 171(g_tTexcdf4) Binding 0
637                              Decorate 174(g_tTexcdi4) DescriptorSet 0
638                              Decorate 174(g_tTexcdi4) Binding 0
639                              Decorate 177(g_tTexcdu4) DescriptorSet 0
640                              Decorate 177(g_tTexcdu4) Binding 0
641                              Decorate 180(g_tTex1df4a) DescriptorSet 0
642                              Decorate 180(g_tTex1df4a) Binding 0
643                              Decorate 183(g_tTex1di4a) DescriptorSet 0
644                              Decorate 183(g_tTex1di4a) Binding 0
645                              Decorate 186(g_tTex1du4a) DescriptorSet 0
646                              Decorate 186(g_tTex1du4a) Binding 0
647                              Decorate 189(g_tTex2df4a) DescriptorSet 0
648                              Decorate 189(g_tTex2df4a) Binding 0
649                              Decorate 192(g_tTex2di4a) DescriptorSet 0
650                              Decorate 192(g_tTex2di4a) Binding 0
651                              Decorate 195(g_tTex2du4a) DescriptorSet 0
652                              Decorate 195(g_tTex2du4a) Binding 0
653                              Decorate 198(g_tTexcdf4a) DescriptorSet 0
654                              Decorate 198(g_tTexcdf4a) Binding 0
655                              Decorate 201(g_tTexcdi4a) DescriptorSet 0
656                              Decorate 201(g_tTexcdi4a) Binding 0
657                              Decorate 204(g_tTexcdu4a) DescriptorSet 0
658                              Decorate 204(g_tTexcdu4a) Binding 0
659               2:             TypeVoid
660               3:             TypeFunction 2
661               6:             TypeInt 32 1
662               7:             TypeFunction 6(int)
663              10:             TypeVector 6(int) 2
664              11:             TypeFunction 10(ivec2)
665              14:             TypeVector 6(int) 3
666              15:             TypeFunction 14(ivec3)
667              18:             TypeFloat 32
668              19:             TypeVector 18(float) 4
669   20(PS_OUTPUT):             TypeStruct 19(fvec4) 18(float)
670              21:             TypeFunction 20(PS_OUTPUT)
671              24:      6(int) Constant 1
672              27:   10(ivec2) ConstantComposite 24 24
673              30:   14(ivec3) ConstantComposite 24 24 24
674              33:             TypeImage 18(float) 1D sampled format:Unknown
675              34:             TypePointer UniformConstant 33
676  35(g_tTex1df4):     34(ptr) Variable UniformConstant
677              37:             TypeVector 6(int) 4
678     38($Global):             TypeStruct 6(int) 10(ivec2) 14(ivec3) 37(ivec4)
679              39:             TypePointer Uniform 38($Global)
680              40:     39(ptr) Variable Uniform
681              41:             TypeInt 32 0
682              42:     41(int) Constant 0
683              43:             TypePointer Uniform 6(int)
684              46:     41(int) Constant 1
685              51:             TypeImage 6(int) 1D sampled format:Unknown
686              52:             TypePointer UniformConstant 51
687  53(g_tTex1di4):     52(ptr) Variable UniformConstant
688              61:             TypeImage 41(int) 1D sampled format:Unknown
689              62:             TypePointer UniformConstant 61
690  63(g_tTex1du4):     62(ptr) Variable UniformConstant
691              70:             TypeVector 41(int) 4
692              72:             TypeImage 18(float) 2D sampled format:Unknown
693              73:             TypePointer UniformConstant 72
694  74(g_tTex2df4):     73(ptr) Variable UniformConstant
695              76:      6(int) Constant 2
696              77:             TypePointer Uniform 14(ivec3)
697              81:     41(int) Constant 2
698              86:             TypeImage 6(int) 2D sampled format:Unknown
699              87:             TypePointer UniformConstant 86
700  88(g_tTex2di4):     87(ptr) Variable UniformConstant
701              97:             TypeImage 41(int) 2D sampled format:Unknown
702              98:             TypePointer UniformConstant 97
703  99(g_tTex2du4):     98(ptr) Variable UniformConstant
704             108:             TypeImage 18(float) 3D sampled format:Unknown
705             109:             TypePointer UniformConstant 108
706 110(g_tTex3df4):    109(ptr) Variable UniformConstant
707             112:      6(int) Constant 3
708             113:             TypePointer Uniform 37(ivec4)
709             117:     41(int) Constant 3
710             122:             TypeImage 6(int) 3D sampled format:Unknown
711             123:             TypePointer UniformConstant 122
712 124(g_tTex3di4):    123(ptr) Variable UniformConstant
713             133:             TypeImage 41(int) 3D sampled format:Unknown
714             134:             TypePointer UniformConstant 133
715 135(g_tTex3du4):    134(ptr) Variable UniformConstant
716             144:             TypePointer Function 20(PS_OUTPUT)
717             146:      6(int) Constant 0
718             147:   18(float) Constant 1065353216
719             148:   19(fvec4) ConstantComposite 147 147 147 147
720             149:             TypePointer Function 19(fvec4)
721             151:             TypePointer Function 18(float)
722             158:             TypePointer Output 19(fvec4)
723159(@entryPointOutput.Color):    158(ptr) Variable Output
724             162:             TypePointer Output 18(float)
725163(@entryPointOutput.Depth):    162(ptr) Variable Output
726             166:             TypeSampler
727             167:             TypePointer UniformConstant 166
728    168(g_sSamp):    167(ptr) Variable UniformConstant
729             169:             TypeImage 18(float) Cube sampled format:Unknown
730             170:             TypePointer UniformConstant 169
731 171(g_tTexcdf4):    170(ptr) Variable UniformConstant
732             172:             TypeImage 6(int) Cube sampled format:Unknown
733             173:             TypePointer UniformConstant 172
734 174(g_tTexcdi4):    173(ptr) Variable UniformConstant
735             175:             TypeImage 41(int) Cube sampled format:Unknown
736             176:             TypePointer UniformConstant 175
737 177(g_tTexcdu4):    176(ptr) Variable UniformConstant
738             178:             TypeImage 18(float) 1D array sampled format:Unknown
739             179:             TypePointer UniformConstant 178
740180(g_tTex1df4a):    179(ptr) Variable UniformConstant
741             181:             TypeImage 6(int) 1D array sampled format:Unknown
742             182:             TypePointer UniformConstant 181
743183(g_tTex1di4a):    182(ptr) Variable UniformConstant
744             184:             TypeImage 41(int) 1D array sampled format:Unknown
745             185:             TypePointer UniformConstant 184
746186(g_tTex1du4a):    185(ptr) Variable UniformConstant
747             187:             TypeImage 18(float) 2D array sampled format:Unknown
748             188:             TypePointer UniformConstant 187
749189(g_tTex2df4a):    188(ptr) Variable UniformConstant
750             190:             TypeImage 6(int) 2D array sampled format:Unknown
751             191:             TypePointer UniformConstant 190
752192(g_tTex2di4a):    191(ptr) Variable UniformConstant
753             193:             TypeImage 41(int) 2D array sampled format:Unknown
754             194:             TypePointer UniformConstant 193
755195(g_tTex2du4a):    194(ptr) Variable UniformConstant
756             196:             TypeImage 18(float) Cube array sampled format:Unknown
757             197:             TypePointer UniformConstant 196
758198(g_tTexcdf4a):    197(ptr) Variable UniformConstant
759             199:             TypeImage 6(int) Cube array sampled format:Unknown
760             200:             TypePointer UniformConstant 199
761201(g_tTexcdi4a):    200(ptr) Variable UniformConstant
762             202:             TypeImage 41(int) Cube array sampled format:Unknown
763             203:             TypePointer UniformConstant 202
764204(g_tTexcdu4a):    203(ptr) Variable UniformConstant
765         4(main):           2 Function None 3
766               5:             Label
767156(flattenTemp):    144(ptr) Variable Function
768             157:20(PS_OUTPUT) FunctionCall 22(@main()
769                              Store 156(flattenTemp) 157
770             160:    149(ptr) AccessChain 156(flattenTemp) 146
771             161:   19(fvec4) Load 160
772                              Store 159(@entryPointOutput.Color) 161
773             164:    151(ptr) AccessChain 156(flattenTemp) 24
774             165:   18(float) Load 164
775                              Store 163(@entryPointOutput.Depth) 165
776                              Return
777                              FunctionEnd
778  8(getOffset1():      6(int) Function None 7
779               9:             Label
780                              ReturnValue 24
781                              FunctionEnd
782 12(getOffset2():   10(ivec2) Function None 11
783              13:             Label
784                              ReturnValue 27
785                              FunctionEnd
786 16(getOffset3():   14(ivec3) Function None 15
787              17:             Label
788                              ReturnValue 30
789                              FunctionEnd
790      22(@main():20(PS_OUTPUT) Function None 21
791              23:             Label
792      145(psout):    144(ptr) Variable Function
793              36:          33 Load 35(g_tTex1df4)
794              44:     43(ptr) AccessChain 40 24 42
795              45:      6(int) Load 44
796              47:     43(ptr) AccessChain 40 24 46
797              48:      6(int) Load 47
798              49:      6(int) FunctionCall 8(getOffset1()
799              50:   19(fvec4) ImageFetch 36 45 Lod Offset 48 49
800              54:          51 Load 53(g_tTex1di4)
801              55:     43(ptr) AccessChain 40 24 42
802              56:      6(int) Load 55
803              57:     43(ptr) AccessChain 40 24 46
804              58:      6(int) Load 57
805              59:      6(int) FunctionCall 8(getOffset1()
806              60:   37(ivec4) ImageFetch 54 56 Lod Offset 58 59
807              64:          61 Load 63(g_tTex1du4)
808              65:     43(ptr) AccessChain 40 24 42
809              66:      6(int) Load 65
810              67:     43(ptr) AccessChain 40 24 46
811              68:      6(int) Load 67
812              69:      6(int) FunctionCall 8(getOffset1()
813              71:   70(ivec4) ImageFetch 64 66 Lod Offset 68 69
814              75:          72 Load 74(g_tTex2df4)
815              78:     77(ptr) AccessChain 40 76
816              79:   14(ivec3) Load 78
817              80:   10(ivec2) VectorShuffle 79 79 0 1
818              82:     43(ptr) AccessChain 40 76 81
819              83:      6(int) Load 82
820              84:   10(ivec2) FunctionCall 12(getOffset2()
821              85:   19(fvec4) ImageFetch 75 80 Lod Offset 83 84
822              89:          86 Load 88(g_tTex2di4)
823              90:     77(ptr) AccessChain 40 76
824              91:   14(ivec3) Load 90
825              92:   10(ivec2) VectorShuffle 91 91 0 1
826              93:     43(ptr) AccessChain 40 76 81
827              94:      6(int) Load 93
828              95:   10(ivec2) FunctionCall 12(getOffset2()
829              96:   37(ivec4) ImageFetch 89 92 Lod Offset 94 95
830             100:          97 Load 99(g_tTex2du4)
831             101:     77(ptr) AccessChain 40 76
832             102:   14(ivec3) Load 101
833             103:   10(ivec2) VectorShuffle 102 102 0 1
834             104:     43(ptr) AccessChain 40 76 81
835             105:      6(int) Load 104
836             106:   10(ivec2) FunctionCall 12(getOffset2()
837             107:   70(ivec4) ImageFetch 100 103 Lod Offset 105 106
838             111:         108 Load 110(g_tTex3df4)
839             114:    113(ptr) AccessChain 40 112
840             115:   37(ivec4) Load 114
841             116:   14(ivec3) VectorShuffle 115 115 0 1 2
842             118:     43(ptr) AccessChain 40 112 117
843             119:      6(int) Load 118
844             120:   14(ivec3) FunctionCall 16(getOffset3()
845             121:   19(fvec4) ImageFetch 111 116 Lod Offset 119 120
846             125:         122 Load 124(g_tTex3di4)
847             126:    113(ptr) AccessChain 40 112
848             127:   37(ivec4) Load 126
849             128:   14(ivec3) VectorShuffle 127 127 0 1 2
850             129:     43(ptr) AccessChain 40 112 117
851             130:      6(int) Load 129
852             131:   14(ivec3) FunctionCall 16(getOffset3()
853             132:   37(ivec4) ImageFetch 125 128 Lod Offset 130 131
854             136:         133 Load 135(g_tTex3du4)
855             137:    113(ptr) AccessChain 40 112
856             138:   37(ivec4) Load 137
857             139:   14(ivec3) VectorShuffle 138 138 0 1 2
858             140:     43(ptr) AccessChain 40 112 117
859             141:      6(int) Load 140
860             142:   14(ivec3) FunctionCall 16(getOffset3()
861             143:   70(ivec4) ImageFetch 136 139 Lod Offset 141 142
862             150:    149(ptr) AccessChain 145(psout) 146
863                              Store 150 148
864             152:    151(ptr) AccessChain 145(psout) 24
865                              Store 152 147
866             153:20(PS_OUTPUT) Load 145(psout)
867                              ReturnValue 153
868                              FunctionEnd
869