1hlsl.load.offsetarray.dx10.frag
2Shader version: 500
3gl_FragCoord origin is upper left
4using depth_any
50:? Sequence
60:48  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
70:48    Function Parameters:
80:?     Sequence
90:52      textureFetchOffset ( temp 4-component vector of float)
100:52        'g_tTex1df4a' ( uniform texture1DArray)
110:52        vector swizzle ( temp 2-component vector of int)
120:52          c3: direct index for structure ( uniform 3-component vector of int)
130:52            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
140:52            Constant:
150:52              2 (const uint)
160:52          Sequence
170:52            Constant:
180:52              0 (const int)
190:52            Constant:
200:52              1 (const int)
210:52        direct index ( temp int)
220:52          c3: direct index for structure ( uniform 3-component vector of int)
230:52            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
240:52            Constant:
250:52              2 (const uint)
260:52          Constant:
270:52            2 (const int)
280:52        o1: direct index for structure ( uniform int)
290:52          '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
300:52          Constant:
310:52            4 (const uint)
320:53      textureFetchOffset ( temp 4-component vector of int)
330:53        'g_tTex1di4a' ( uniform itexture1DArray)
340:53        vector swizzle ( temp 2-component vector of int)
350:53          c3: direct index for structure ( uniform 3-component vector of int)
360:53            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
370:53            Constant:
380:53              2 (const uint)
390:53          Sequence
400:53            Constant:
410:53              0 (const int)
420:53            Constant:
430:53              1 (const int)
440:53        direct index ( temp int)
450:53          c3: direct index for structure ( uniform 3-component vector of int)
460:53            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
470:53            Constant:
480:53              2 (const uint)
490:53          Constant:
500:53            2 (const int)
510:53        o1: direct index for structure ( uniform int)
520:53          '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
530:53          Constant:
540:53            4 (const uint)
550:54      textureFetchOffset ( temp 4-component vector of uint)
560:54        'g_tTex1du4a' ( uniform utexture1DArray)
570:54        vector swizzle ( temp 2-component vector of int)
580:54          c3: direct index for structure ( uniform 3-component vector of int)
590:54            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
600:54            Constant:
610:54              2 (const uint)
620:54          Sequence
630:54            Constant:
640:54              0 (const int)
650:54            Constant:
660:54              1 (const int)
670:54        direct index ( temp int)
680:54          c3: direct index for structure ( uniform 3-component vector of int)
690:54            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
700:54            Constant:
710:54              2 (const uint)
720:54          Constant:
730:54            2 (const int)
740:54        o1: direct index for structure ( uniform int)
750:54          '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
760:54          Constant:
770:54            4 (const uint)
780:57      textureFetchOffset ( temp 4-component vector of float)
790:57        'g_tTex2df4a' ( uniform texture2DArray)
800:57        vector swizzle ( temp 3-component vector of int)
810:57          c4: direct index for structure ( uniform 4-component vector of int)
820:57            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
830:57            Constant:
840:57              3 (const uint)
850:57          Sequence
860:57            Constant:
870:57              0 (const int)
880:57            Constant:
890:57              1 (const int)
900:57            Constant:
910:57              2 (const int)
920:57        direct index ( temp int)
930:57          c4: direct index for structure ( uniform 4-component vector of int)
940:57            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
950:57            Constant:
960:57              3 (const uint)
970:57          Constant:
980:57            3 (const int)
990:57        o2: direct index for structure ( uniform 2-component vector of int)
1000:57          '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
1010:57          Constant:
1020:57            5 (const uint)
1030:58      textureFetchOffset ( temp 4-component vector of int)
1040:58        'g_tTex2di4a' ( uniform itexture2DArray)
1050:58        vector swizzle ( temp 3-component vector of int)
1060:58          c4: direct index for structure ( uniform 4-component vector of int)
1070:58            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
1080:58            Constant:
1090:58              3 (const uint)
1100:58          Sequence
1110:58            Constant:
1120:58              0 (const int)
1130:58            Constant:
1140:58              1 (const int)
1150:58            Constant:
1160:58              2 (const int)
1170:58        direct index ( temp int)
1180:58          c4: direct index for structure ( uniform 4-component vector of int)
1190:58            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
1200:58            Constant:
1210:58              3 (const uint)
1220:58          Constant:
1230:58            3 (const int)
1240:58        o2: direct index for structure ( uniform 2-component vector of int)
1250:58          '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
1260:58          Constant:
1270:58            5 (const uint)
1280:59      textureFetchOffset ( temp 4-component vector of uint)
1290:59        'g_tTex2du4a' ( uniform utexture2DArray)
1300:59        vector swizzle ( temp 3-component vector of int)
1310:59          c4: direct index for structure ( uniform 4-component vector of int)
1320:59            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
1330:59            Constant:
1340:59              3 (const uint)
1350:59          Sequence
1360:59            Constant:
1370:59              0 (const int)
1380:59            Constant:
1390:59              1 (const int)
1400:59            Constant:
1410:59              2 (const int)
1420:59        direct index ( temp int)
1430:59          c4: direct index for structure ( uniform 4-component vector of int)
1440:59            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
1450:59            Constant:
1460:59              3 (const uint)
1470:59          Constant:
1480:59            3 (const int)
1490:59        o2: direct index for structure ( uniform 2-component vector of int)
1500:59          '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
1510:59          Constant:
1520:59            5 (const uint)
1530:65      move second child to first child ( temp 4-component vector of float)
1540:65        Color: direct index for structure ( temp 4-component vector of float)
1550:65          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
1560:65          Constant:
1570:65            0 (const int)
1580:65        Constant:
1590:65          1.000000
1600:65          1.000000
1610:65          1.000000
1620:65          1.000000
1630:66      move second child to first child ( temp float)
1640:66        Depth: direct index for structure ( temp float)
1650:66          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
1660:66          Constant:
1670:66            1 (const int)
1680:66        Constant:
1690:66          1.000000
1700:68      Branch: Return with expression
1710:68        'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
1720:48  Function Definition: main( ( temp void)
1730:48    Function Parameters:
1740:?     Sequence
1750:48      Sequence
1760:48        move second child to first child ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
1770:48          'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
1780:48          Function Call: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
1790:48        move second child to first child ( temp 4-component vector of float)
1800:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
1810:48          Color: direct index for structure ( temp 4-component vector of float)
1820:48            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
1830:48            Constant:
1840:48              0 (const int)
1850:48        move second child to first child ( temp float)
1860:?           '@entryPointOutput.Depth' ( out float FragDepth)
1870:48          Depth: direct index for structure ( temp float)
1880:48            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
1890:48            Constant:
1900:48              1 (const int)
1910:?   Linker Objects
1920:?     'g_sSamp' (layout( binding=0) uniform sampler)
1930:?     'g_tTex1df4' (layout( binding=0) uniform texture1D)
1940:?     'g_tTex1di4' ( uniform itexture1D)
1950:?     'g_tTex1du4' ( uniform utexture1D)
1960:?     'g_tTex2df4' ( uniform texture2D)
1970:?     'g_tTex2di4' ( uniform itexture2D)
1980:?     'g_tTex2du4' ( uniform utexture2D)
1990:?     'g_tTex3df4' ( uniform texture3D)
2000:?     'g_tTex3di4' ( uniform itexture3D)
2010:?     'g_tTex3du4' ( uniform utexture3D)
2020:?     'g_tTexcdf4' ( uniform textureCube)
2030:?     'g_tTexcdi4' ( uniform itextureCube)
2040:?     'g_tTexcdu4' ( uniform utextureCube)
2050:?     'g_tTex1df4a' ( uniform texture1DArray)
2060:?     'g_tTex1di4a' ( uniform itexture1DArray)
2070:?     'g_tTex1du4a' ( uniform utexture1DArray)
2080:?     'g_tTex2df4a' ( uniform texture2DArray)
2090:?     'g_tTex2di4a' ( uniform itexture2DArray)
2100:?     'g_tTex2du4a' ( uniform utexture2DArray)
2110:?     'g_tTexcdf4a' ( uniform textureCubeArray)
2120:?     'g_tTexcdi4a' ( uniform itextureCubeArray)
2130:?     'g_tTexcdu4a' ( uniform utextureCubeArray)
2140:?     '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
2150:?     '@entryPointOutput.Depth' ( out float FragDepth)
2160:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
217
218
219Linked fragment stage:
220
221
222Shader version: 500
223gl_FragCoord origin is upper left
224using depth_any
2250:? Sequence
2260:48  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
2270:48    Function Parameters:
2280:?     Sequence
2290:52      textureFetchOffset ( temp 4-component vector of float)
2300:52        'g_tTex1df4a' ( uniform texture1DArray)
2310:52        vector swizzle ( temp 2-component vector of int)
2320:52          c3: direct index for structure ( uniform 3-component vector of int)
2330:52            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
2340:52            Constant:
2350:52              2 (const uint)
2360:52          Sequence
2370:52            Constant:
2380:52              0 (const int)
2390:52            Constant:
2400:52              1 (const int)
2410:52        direct index ( temp int)
2420:52          c3: direct index for structure ( uniform 3-component vector of int)
2430:52            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
2440:52            Constant:
2450:52              2 (const uint)
2460:52          Constant:
2470:52            2 (const int)
2480:52        o1: direct index for structure ( uniform int)
2490:52          '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
2500:52          Constant:
2510:52            4 (const uint)
2520:53      textureFetchOffset ( temp 4-component vector of int)
2530:53        'g_tTex1di4a' ( uniform itexture1DArray)
2540:53        vector swizzle ( temp 2-component vector of int)
2550:53          c3: direct index for structure ( uniform 3-component vector of int)
2560:53            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
2570:53            Constant:
2580:53              2 (const uint)
2590:53          Sequence
2600:53            Constant:
2610:53              0 (const int)
2620:53            Constant:
2630:53              1 (const int)
2640:53        direct index ( temp int)
2650:53          c3: direct index for structure ( uniform 3-component vector of int)
2660:53            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
2670:53            Constant:
2680:53              2 (const uint)
2690:53          Constant:
2700:53            2 (const int)
2710:53        o1: direct index for structure ( uniform int)
2720:53          '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
2730:53          Constant:
2740:53            4 (const uint)
2750:54      textureFetchOffset ( temp 4-component vector of uint)
2760:54        'g_tTex1du4a' ( uniform utexture1DArray)
2770:54        vector swizzle ( temp 2-component vector of int)
2780:54          c3: direct index for structure ( uniform 3-component vector of int)
2790:54            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
2800:54            Constant:
2810:54              2 (const uint)
2820:54          Sequence
2830:54            Constant:
2840:54              0 (const int)
2850:54            Constant:
2860:54              1 (const int)
2870:54        direct index ( temp int)
2880:54          c3: direct index for structure ( uniform 3-component vector of int)
2890:54            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
2900:54            Constant:
2910:54              2 (const uint)
2920:54          Constant:
2930:54            2 (const int)
2940:54        o1: direct index for structure ( uniform int)
2950:54          '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
2960:54          Constant:
2970:54            4 (const uint)
2980:57      textureFetchOffset ( temp 4-component vector of float)
2990:57        'g_tTex2df4a' ( uniform texture2DArray)
3000:57        vector swizzle ( temp 3-component vector of int)
3010:57          c4: direct index for structure ( uniform 4-component vector of int)
3020:57            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
3030:57            Constant:
3040:57              3 (const uint)
3050:57          Sequence
3060:57            Constant:
3070:57              0 (const int)
3080:57            Constant:
3090:57              1 (const int)
3100:57            Constant:
3110:57              2 (const int)
3120:57        direct index ( temp int)
3130:57          c4: direct index for structure ( uniform 4-component vector of int)
3140:57            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
3150:57            Constant:
3160:57              3 (const uint)
3170:57          Constant:
3180:57            3 (const int)
3190:57        o2: direct index for structure ( uniform 2-component vector of int)
3200:57          '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
3210:57          Constant:
3220:57            5 (const uint)
3230:58      textureFetchOffset ( temp 4-component vector of int)
3240:58        'g_tTex2di4a' ( uniform itexture2DArray)
3250:58        vector swizzle ( temp 3-component vector of int)
3260:58          c4: direct index for structure ( uniform 4-component vector of int)
3270:58            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
3280:58            Constant:
3290:58              3 (const uint)
3300:58          Sequence
3310:58            Constant:
3320:58              0 (const int)
3330:58            Constant:
3340:58              1 (const int)
3350:58            Constant:
3360:58              2 (const int)
3370:58        direct index ( temp int)
3380:58          c4: direct index for structure ( uniform 4-component vector of int)
3390:58            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
3400:58            Constant:
3410:58              3 (const uint)
3420:58          Constant:
3430:58            3 (const int)
3440:58        o2: direct index for structure ( uniform 2-component vector of int)
3450:58          '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
3460:58          Constant:
3470:58            5 (const uint)
3480:59      textureFetchOffset ( temp 4-component vector of uint)
3490:59        'g_tTex2du4a' ( uniform utexture2DArray)
3500:59        vector swizzle ( temp 3-component vector of int)
3510:59          c4: direct index for structure ( uniform 4-component vector of int)
3520:59            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
3530:59            Constant:
3540:59              3 (const uint)
3550:59          Sequence
3560:59            Constant:
3570:59              0 (const int)
3580:59            Constant:
3590:59              1 (const int)
3600:59            Constant:
3610:59              2 (const int)
3620:59        direct index ( temp int)
3630:59          c4: direct index for structure ( uniform 4-component vector of int)
3640:59            '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
3650:59            Constant:
3660:59              3 (const uint)
3670:59          Constant:
3680:59            3 (const int)
3690:59        o2: direct index for structure ( uniform 2-component vector of int)
3700:59          '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
3710:59          Constant:
3720:59            5 (const uint)
3730:65      move second child to first child ( temp 4-component vector of float)
3740:65        Color: direct index for structure ( temp 4-component vector of float)
3750:65          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
3760:65          Constant:
3770:65            0 (const int)
3780:65        Constant:
3790:65          1.000000
3800:65          1.000000
3810:65          1.000000
3820:65          1.000000
3830:66      move second child to first child ( temp float)
3840:66        Depth: direct index for structure ( temp float)
3850:66          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
3860:66          Constant:
3870:66            1 (const int)
3880:66        Constant:
3890:66          1.000000
3900:68      Branch: Return with expression
3910:68        'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
3920:48  Function Definition: main( ( temp void)
3930:48    Function Parameters:
3940:?     Sequence
3950:48      Sequence
3960:48        move second child to first child ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
3970:48          'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
3980:48          Function Call: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
3990:48        move second child to first child ( temp 4-component vector of float)
4000:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
4010:48          Color: direct index for structure ( temp 4-component vector of float)
4020:48            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
4030:48            Constant:
4040:48              0 (const int)
4050:48        move second child to first child ( temp float)
4060:?           '@entryPointOutput.Depth' ( out float FragDepth)
4070:48          Depth: direct index for structure ( temp float)
4080:48            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
4090:48            Constant:
4100:48              1 (const int)
4110:?   Linker Objects
4120:?     'g_sSamp' (layout( binding=0) uniform sampler)
4130:?     'g_tTex1df4' (layout( binding=0) uniform texture1D)
4140:?     'g_tTex1di4' ( uniform itexture1D)
4150:?     'g_tTex1du4' ( uniform utexture1D)
4160:?     'g_tTex2df4' ( uniform texture2D)
4170:?     'g_tTex2di4' ( uniform itexture2D)
4180:?     'g_tTex2du4' ( uniform utexture2D)
4190:?     'g_tTex3df4' ( uniform texture3D)
4200:?     'g_tTex3di4' ( uniform itexture3D)
4210:?     'g_tTex3du4' ( uniform utexture3D)
4220:?     'g_tTexcdf4' ( uniform textureCube)
4230:?     'g_tTexcdi4' ( uniform itextureCube)
4240:?     'g_tTexcdu4' ( uniform utextureCube)
4250:?     'g_tTex1df4a' ( uniform texture1DArray)
4260:?     'g_tTex1di4a' ( uniform itexture1DArray)
4270:?     'g_tTex1du4a' ( uniform utexture1DArray)
4280:?     'g_tTex2df4a' ( uniform texture2DArray)
4290:?     'g_tTex2di4a' ( uniform itexture2DArray)
4300:?     'g_tTex2du4a' ( uniform utexture2DArray)
4310:?     'g_tTexcdf4a' ( uniform textureCubeArray)
4320:?     'g_tTexcdi4a' ( uniform itextureCubeArray)
4330:?     'g_tTexcdu4a' ( uniform utextureCubeArray)
4340:?     '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,  uniform int o1,  uniform 2-component vector of int o2,  uniform 3-component vector of int o3,  uniform 4-component vector of int o4})
4350:?     '@entryPointOutput.Depth' ( out float FragDepth)
4360:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
437
438Validation failed
439// Module Version 10000
440// Generated by (magic number): 8000a
441// Id's are bound by 174
442
443                              Capability Shader
444                              Capability ImageGatherExtended
445                              Capability Sampled1D
446                              Capability SampledCubeArray
447               1:             ExtInstImport  "GLSL.std.450"
448                              MemoryModel Logical GLSL450
449                              EntryPoint Fragment 4  "main" 119 123
450                              ExecutionMode 4 OriginUpperLeft
451                              ExecutionMode 4 DepthReplacing
452                              Source HLSL 500
453                              Name 4  "main"
454                              Name 8  "PS_OUTPUT"
455                              MemberName 8(PS_OUTPUT) 0  "Color"
456                              MemberName 8(PS_OUTPUT) 1  "Depth"
457                              Name 10  "@main("
458                              Name 14  "g_tTex1df4a"
459                              Name 20  "$Global"
460                              MemberName 20($Global) 0  "c1"
461                              MemberName 20($Global) 1  "c2"
462                              MemberName 20($Global) 2  "c3"
463                              MemberName 20($Global) 3  "c4"
464                              MemberName 20($Global) 4  "o1"
465                              MemberName 20($Global) 5  "o2"
466                              MemberName 20($Global) 6  "o3"
467                              MemberName 20($Global) 7  "o4"
468                              Name 22  ""
469                              Name 39  "g_tTex1di4a"
470                              Name 51  "g_tTex1du4a"
471                              Name 64  "g_tTex2df4a"
472                              Name 81  "g_tTex2di4a"
473                              Name 93  "g_tTex2du4a"
474                              Name 104  "psout"
475                              Name 116  "flattenTemp"
476                              Name 119  "@entryPointOutput.Color"
477                              Name 123  "@entryPointOutput.Depth"
478                              Name 128  "g_sSamp"
479                              Name 131  "g_tTex1df4"
480                              Name 134  "g_tTex1di4"
481                              Name 137  "g_tTex1du4"
482                              Name 140  "g_tTex2df4"
483                              Name 143  "g_tTex2di4"
484                              Name 146  "g_tTex2du4"
485                              Name 149  "g_tTex3df4"
486                              Name 152  "g_tTex3di4"
487                              Name 155  "g_tTex3du4"
488                              Name 158  "g_tTexcdf4"
489                              Name 161  "g_tTexcdi4"
490                              Name 164  "g_tTexcdu4"
491                              Name 167  "g_tTexcdf4a"
492                              Name 170  "g_tTexcdi4a"
493                              Name 173  "g_tTexcdu4a"
494                              Decorate 14(g_tTex1df4a) DescriptorSet 0
495                              Decorate 14(g_tTex1df4a) Binding 1
496                              MemberDecorate 20($Global) 0 Offset 0
497                              MemberDecorate 20($Global) 1 Offset 8
498                              MemberDecorate 20($Global) 2 Offset 16
499                              MemberDecorate 20($Global) 3 Offset 32
500                              MemberDecorate 20($Global) 4 Offset 48
501                              MemberDecorate 20($Global) 5 Offset 56
502                              MemberDecorate 20($Global) 6 Offset 64
503                              MemberDecorate 20($Global) 7 Offset 80
504                              Decorate 20($Global) Block
505                              Decorate 22 DescriptorSet 0
506                              Decorate 22 Binding 7
507                              Decorate 39(g_tTex1di4a) DescriptorSet 0
508                              Decorate 39(g_tTex1di4a) Binding 2
509                              Decorate 51(g_tTex1du4a) DescriptorSet 0
510                              Decorate 51(g_tTex1du4a) Binding 3
511                              Decorate 64(g_tTex2df4a) DescriptorSet 0
512                              Decorate 64(g_tTex2df4a) Binding 4
513                              Decorate 81(g_tTex2di4a) DescriptorSet 0
514                              Decorate 81(g_tTex2di4a) Binding 5
515                              Decorate 93(g_tTex2du4a) DescriptorSet 0
516                              Decorate 93(g_tTex2du4a) Binding 6
517                              Decorate 119(@entryPointOutput.Color) Location 0
518                              Decorate 123(@entryPointOutput.Depth) BuiltIn FragDepth
519                              Decorate 128(g_sSamp) DescriptorSet 0
520                              Decorate 128(g_sSamp) Binding 0
521                              Decorate 131(g_tTex1df4) DescriptorSet 0
522                              Decorate 131(g_tTex1df4) Binding 0
523                              Decorate 134(g_tTex1di4) DescriptorSet 0
524                              Decorate 134(g_tTex1di4) Binding 0
525                              Decorate 137(g_tTex1du4) DescriptorSet 0
526                              Decorate 137(g_tTex1du4) Binding 0
527                              Decorate 140(g_tTex2df4) DescriptorSet 0
528                              Decorate 140(g_tTex2df4) Binding 0
529                              Decorate 143(g_tTex2di4) DescriptorSet 0
530                              Decorate 143(g_tTex2di4) Binding 0
531                              Decorate 146(g_tTex2du4) DescriptorSet 0
532                              Decorate 146(g_tTex2du4) Binding 0
533                              Decorate 149(g_tTex3df4) DescriptorSet 0
534                              Decorate 149(g_tTex3df4) Binding 0
535                              Decorate 152(g_tTex3di4) DescriptorSet 0
536                              Decorate 152(g_tTex3di4) Binding 0
537                              Decorate 155(g_tTex3du4) DescriptorSet 0
538                              Decorate 155(g_tTex3du4) Binding 0
539                              Decorate 158(g_tTexcdf4) DescriptorSet 0
540                              Decorate 158(g_tTexcdf4) Binding 0
541                              Decorate 161(g_tTexcdi4) DescriptorSet 0
542                              Decorate 161(g_tTexcdi4) Binding 0
543                              Decorate 164(g_tTexcdu4) DescriptorSet 0
544                              Decorate 164(g_tTexcdu4) Binding 0
545                              Decorate 167(g_tTexcdf4a) DescriptorSet 0
546                              Decorate 167(g_tTexcdf4a) Binding 0
547                              Decorate 170(g_tTexcdi4a) DescriptorSet 0
548                              Decorate 170(g_tTexcdi4a) Binding 0
549                              Decorate 173(g_tTexcdu4a) DescriptorSet 0
550                              Decorate 173(g_tTexcdu4a) Binding 0
551               2:             TypeVoid
552               3:             TypeFunction 2
553               6:             TypeFloat 32
554               7:             TypeVector 6(float) 4
555    8(PS_OUTPUT):             TypeStruct 7(fvec4) 6(float)
556               9:             TypeFunction 8(PS_OUTPUT)
557              12:             TypeImage 6(float) 1D array sampled format:Unknown
558              13:             TypePointer UniformConstant 12
559 14(g_tTex1df4a):     13(ptr) Variable UniformConstant
560              16:             TypeInt 32 1
561              17:             TypeVector 16(int) 2
562              18:             TypeVector 16(int) 3
563              19:             TypeVector 16(int) 4
564     20($Global):             TypeStruct 16(int) 17(ivec2) 18(ivec3) 19(ivec4) 16(int) 17(ivec2) 18(ivec3) 19(ivec4)
565              21:             TypePointer Uniform 20($Global)
566              22:     21(ptr) Variable Uniform
567              23:     16(int) Constant 2
568              24:             TypePointer Uniform 18(ivec3)
569              28:             TypeInt 32 0
570              29:     28(int) Constant 2
571              30:             TypePointer Uniform 16(int)
572              33:     16(int) Constant 4
573              37:             TypeImage 16(int) 1D array sampled format:Unknown
574              38:             TypePointer UniformConstant 37
575 39(g_tTex1di4a):     38(ptr) Variable UniformConstant
576              49:             TypeImage 28(int) 1D array sampled format:Unknown
577              50:             TypePointer UniformConstant 49
578 51(g_tTex1du4a):     50(ptr) Variable UniformConstant
579              60:             TypeVector 28(int) 4
580              62:             TypeImage 6(float) 2D array sampled format:Unknown
581              63:             TypePointer UniformConstant 62
582 64(g_tTex2df4a):     63(ptr) Variable UniformConstant
583              66:     16(int) Constant 3
584              67:             TypePointer Uniform 19(ivec4)
585              71:     28(int) Constant 3
586              74:     16(int) Constant 5
587              75:             TypePointer Uniform 17(ivec2)
588              79:             TypeImage 16(int) 2D array sampled format:Unknown
589              80:             TypePointer UniformConstant 79
590 81(g_tTex2di4a):     80(ptr) Variable UniformConstant
591              91:             TypeImage 28(int) 2D array sampled format:Unknown
592              92:             TypePointer UniformConstant 91
593 93(g_tTex2du4a):     92(ptr) Variable UniformConstant
594             103:             TypePointer Function 8(PS_OUTPUT)
595             105:     16(int) Constant 0
596             106:    6(float) Constant 1065353216
597             107:    7(fvec4) ConstantComposite 106 106 106 106
598             108:             TypePointer Function 7(fvec4)
599             110:     16(int) Constant 1
600             111:             TypePointer Function 6(float)
601             118:             TypePointer Output 7(fvec4)
602119(@entryPointOutput.Color):    118(ptr) Variable Output
603             122:             TypePointer Output 6(float)
604123(@entryPointOutput.Depth):    122(ptr) Variable Output
605             126:             TypeSampler
606             127:             TypePointer UniformConstant 126
607    128(g_sSamp):    127(ptr) Variable UniformConstant
608             129:             TypeImage 6(float) 1D sampled format:Unknown
609             130:             TypePointer UniformConstant 129
610 131(g_tTex1df4):    130(ptr) Variable UniformConstant
611             132:             TypeImage 16(int) 1D sampled format:Unknown
612             133:             TypePointer UniformConstant 132
613 134(g_tTex1di4):    133(ptr) Variable UniformConstant
614             135:             TypeImage 28(int) 1D sampled format:Unknown
615             136:             TypePointer UniformConstant 135
616 137(g_tTex1du4):    136(ptr) Variable UniformConstant
617             138:             TypeImage 6(float) 2D sampled format:Unknown
618             139:             TypePointer UniformConstant 138
619 140(g_tTex2df4):    139(ptr) Variable UniformConstant
620             141:             TypeImage 16(int) 2D sampled format:Unknown
621             142:             TypePointer UniformConstant 141
622 143(g_tTex2di4):    142(ptr) Variable UniformConstant
623             144:             TypeImage 28(int) 2D sampled format:Unknown
624             145:             TypePointer UniformConstant 144
625 146(g_tTex2du4):    145(ptr) Variable UniformConstant
626             147:             TypeImage 6(float) 3D sampled format:Unknown
627             148:             TypePointer UniformConstant 147
628 149(g_tTex3df4):    148(ptr) Variable UniformConstant
629             150:             TypeImage 16(int) 3D sampled format:Unknown
630             151:             TypePointer UniformConstant 150
631 152(g_tTex3di4):    151(ptr) Variable UniformConstant
632             153:             TypeImage 28(int) 3D sampled format:Unknown
633             154:             TypePointer UniformConstant 153
634 155(g_tTex3du4):    154(ptr) Variable UniformConstant
635             156:             TypeImage 6(float) Cube sampled format:Unknown
636             157:             TypePointer UniformConstant 156
637 158(g_tTexcdf4):    157(ptr) Variable UniformConstant
638             159:             TypeImage 16(int) Cube sampled format:Unknown
639             160:             TypePointer UniformConstant 159
640 161(g_tTexcdi4):    160(ptr) Variable UniformConstant
641             162:             TypeImage 28(int) Cube sampled format:Unknown
642             163:             TypePointer UniformConstant 162
643 164(g_tTexcdu4):    163(ptr) Variable UniformConstant
644             165:             TypeImage 6(float) Cube array sampled format:Unknown
645             166:             TypePointer UniformConstant 165
646167(g_tTexcdf4a):    166(ptr) Variable UniformConstant
647             168:             TypeImage 16(int) Cube array sampled format:Unknown
648             169:             TypePointer UniformConstant 168
649170(g_tTexcdi4a):    169(ptr) Variable UniformConstant
650             171:             TypeImage 28(int) Cube array sampled format:Unknown
651             172:             TypePointer UniformConstant 171
652173(g_tTexcdu4a):    172(ptr) Variable UniformConstant
653         4(main):           2 Function None 3
654               5:             Label
655116(flattenTemp):    103(ptr) Variable Function
656             117:8(PS_OUTPUT) FunctionCall 10(@main()
657                              Store 116(flattenTemp) 117
658             120:    108(ptr) AccessChain 116(flattenTemp) 105
659             121:    7(fvec4) Load 120
660                              Store 119(@entryPointOutput.Color) 121
661             124:    111(ptr) AccessChain 116(flattenTemp) 110
662             125:    6(float) Load 124
663                              Store 123(@entryPointOutput.Depth) 125
664                              Return
665                              FunctionEnd
666      10(@main():8(PS_OUTPUT) Function None 9
667              11:             Label
668      104(psout):    103(ptr) Variable Function
669              15:          12 Load 14(g_tTex1df4a)
670              25:     24(ptr) AccessChain 22 23
671              26:   18(ivec3) Load 25
672              27:   17(ivec2) VectorShuffle 26 26 0 1
673              31:     30(ptr) AccessChain 22 23 29
674              32:     16(int) Load 31
675              34:     30(ptr) AccessChain 22 33
676              35:     16(int) Load 34
677              36:    7(fvec4) ImageFetch 15 27 Lod Offset 32 35
678              40:          37 Load 39(g_tTex1di4a)
679              41:     24(ptr) AccessChain 22 23
680              42:   18(ivec3) Load 41
681              43:   17(ivec2) VectorShuffle 42 42 0 1
682              44:     30(ptr) AccessChain 22 23 29
683              45:     16(int) Load 44
684              46:     30(ptr) AccessChain 22 33
685              47:     16(int) Load 46
686              48:   19(ivec4) ImageFetch 40 43 Lod Offset 45 47
687              52:          49 Load 51(g_tTex1du4a)
688              53:     24(ptr) AccessChain 22 23
689              54:   18(ivec3) Load 53
690              55:   17(ivec2) VectorShuffle 54 54 0 1
691              56:     30(ptr) AccessChain 22 23 29
692              57:     16(int) Load 56
693              58:     30(ptr) AccessChain 22 33
694              59:     16(int) Load 58
695              61:   60(ivec4) ImageFetch 52 55 Lod Offset 57 59
696              65:          62 Load 64(g_tTex2df4a)
697              68:     67(ptr) AccessChain 22 66
698              69:   19(ivec4) Load 68
699              70:   18(ivec3) VectorShuffle 69 69 0 1 2
700              72:     30(ptr) AccessChain 22 66 71
701              73:     16(int) Load 72
702              76:     75(ptr) AccessChain 22 74
703              77:   17(ivec2) Load 76
704              78:    7(fvec4) ImageFetch 65 70 Lod Offset 73 77
705              82:          79 Load 81(g_tTex2di4a)
706              83:     67(ptr) AccessChain 22 66
707              84:   19(ivec4) Load 83
708              85:   18(ivec3) VectorShuffle 84 84 0 1 2
709              86:     30(ptr) AccessChain 22 66 71
710              87:     16(int) Load 86
711              88:     75(ptr) AccessChain 22 74
712              89:   17(ivec2) Load 88
713              90:   19(ivec4) ImageFetch 82 85 Lod Offset 87 89
714              94:          91 Load 93(g_tTex2du4a)
715              95:     67(ptr) AccessChain 22 66
716              96:   19(ivec4) Load 95
717              97:   18(ivec3) VectorShuffle 96 96 0 1 2
718              98:     30(ptr) AccessChain 22 66 71
719              99:     16(int) Load 98
720             100:     75(ptr) AccessChain 22 74
721             101:   17(ivec2) Load 100
722             102:   60(ivec4) ImageFetch 94 97 Lod Offset 99 101
723             109:    108(ptr) AccessChain 104(psout) 105
724                              Store 109 107
725             112:    111(ptr) AccessChain 104(psout) 110
726                              Store 112 106
727             113:8(PS_OUTPUT) Load 104(psout)
728                              ReturnValue 113
729                              FunctionEnd
730