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