• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.samplecmp.basic.dx10.frag
2Shader version: 500
3gl_FragCoord origin is upper left
4using depth_any
50:? Sequence
60:38  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
70:38    Function Parameters:
80:?     Sequence
90:42      Sequence
100:42        move second child to first child ( temp float)
110:42          'r00' ( temp float)
120:42          texture ( temp float)
130:42            Construct combined texture-sampler ( temp sampler1DShadow)
140:42              'g_tTex1df4' (layout( binding=0) uniform texture1DShadow)
150:42              'g_sSamp' (layout( binding=0) uniform sampler)
160:42            Construct vec2 ( temp 2-component vector of float)
170:42              Constant:
180:42                0.100000
190:42              Constant:
200:42                0.750000
210:43      Sequence
220:43        move second child to first child ( temp float)
230:43          'r02' ( temp float)
240:43          texture ( temp float)
250:43            Construct combined texture-sampler ( temp isampler1DShadow)
260:43              'g_tTex1di4' ( uniform itexture1DShadow)
270:43              'g_sSamp' (layout( binding=0) uniform sampler)
280:43            Construct vec2 ( temp 2-component vector of float)
290:43              Constant:
300:43                0.100000
310:43              Constant:
320:43                0.750000
330:44      Sequence
340:44        move second child to first child ( temp float)
350:44          'r04' ( temp float)
360:44          texture ( temp float)
370:44            Construct combined texture-sampler ( temp usampler1DShadow)
380:44              'g_tTex1du4' ( uniform utexture1DShadow)
390:44              'g_sSamp' (layout( binding=0) uniform sampler)
400:44            Construct vec2 ( temp 2-component vector of float)
410:44              Constant:
420:44                0.100000
430:44              Constant:
440:44                0.750000
450:47      Sequence
460:47        move second child to first child ( temp float)
470:47          'r20' ( temp float)
480:47          texture ( temp float)
490:47            Construct combined texture-sampler ( temp sampler2DShadow)
500:47              'g_tTex2df4' ( uniform texture2DShadow)
510:47              'g_sSamp' (layout( binding=0) uniform sampler)
520:47            Construct vec3 ( temp 3-component vector of float)
530:?               Constant:
540:?                 0.100000
550:?                 0.200000
560:47              Constant:
570:47                0.750000
580:48      Sequence
590:48        move second child to first child ( temp float)
600:48          'r22' ( temp float)
610:48          texture ( temp float)
620:48            Construct combined texture-sampler ( temp isampler2DShadow)
630:48              'g_tTex2di4' ( uniform itexture2DShadow)
640:48              'g_sSamp' (layout( binding=0) uniform sampler)
650:48            Construct vec3 ( temp 3-component vector of float)
660:?               Constant:
670:?                 0.100000
680:?                 0.200000
690:48              Constant:
700:48                0.750000
710:49      Sequence
720:49        move second child to first child ( temp float)
730:49          'r24' ( temp float)
740:49          texture ( temp float)
750:49            Construct combined texture-sampler ( temp usampler2DShadow)
760:49              'g_tTex2du4' ( uniform utexture2DShadow)
770:49              'g_sSamp' (layout( binding=0) uniform sampler)
780:49            Construct vec3 ( temp 3-component vector of float)
790:?               Constant:
800:?                 0.100000
810:?                 0.200000
820:49              Constant:
830:49                0.750000
840:53      Sequence
850:53        move second child to first child ( temp float)
860:53          'r50' ( temp float)
870:53          texture ( temp float)
880:53            Construct combined texture-sampler ( temp samplerCubeShadow)
890:53              'g_tTexcdf4' ( uniform textureCubeShadow)
900:53              'g_sSamp' (layout( binding=0) uniform sampler)
910:53            Construct vec4 ( temp 4-component vector of float)
920:?               Constant:
930:?                 0.100000
940:?                 0.200000
950:?                 0.300000
960:53              Constant:
970:53                0.750000
980:54      Sequence
990:54        move second child to first child ( temp float)
1000:54          'r52' ( temp float)
1010:54          texture ( temp float)
1020:54            Construct combined texture-sampler ( temp isamplerCubeShadow)
1030:54              'g_tTexcdi4' ( uniform itextureCubeShadow)
1040:54              'g_sSamp' (layout( binding=0) uniform sampler)
1050:54            Construct vec4 ( temp 4-component vector of float)
1060:?               Constant:
1070:?                 0.100000
1080:?                 0.200000
1090:?                 0.300000
1100:54              Constant:
1110:54                0.750000
1120:55      Sequence
1130:55        move second child to first child ( temp float)
1140:55          'r54' ( temp float)
1150:55          texture ( temp float)
1160:55            Construct combined texture-sampler ( temp usamplerCubeShadow)
1170:55              'g_tTexcdu4' ( uniform utextureCubeShadow)
1180:55              'g_sSamp' (layout( binding=0) uniform sampler)
1190:55            Construct vec4 ( temp 4-component vector of float)
1200:?               Constant:
1210:?                 0.100000
1220:?                 0.200000
1230:?                 0.300000
1240:55              Constant:
1250:55                0.750000
1260:57      move second child to first child ( temp 4-component vector of float)
1270:57        Color: direct index for structure ( temp 4-component vector of float)
1280:57          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
1290:57          Constant:
1300:57            0 (const int)
1310:57        Constant:
1320:57          1.000000
1330:57          1.000000
1340:57          1.000000
1350:57          1.000000
1360:58      move second child to first child ( temp float)
1370:58        Depth: direct index for structure ( temp float)
1380:58          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
1390:58          Constant:
1400:58            1 (const int)
1410:58        Constant:
1420:58          1.000000
1430:60      Branch: Return with expression
1440:60        'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
1450:38  Function Definition: main( ( temp void)
1460:38    Function Parameters:
1470:?     Sequence
1480:38      Sequence
1490:38        move second child to first child ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
1500:38          'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
1510:38          Function Call: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
1520:38        move second child to first child ( temp 4-component vector of float)
1530:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
1540:38          Color: direct index for structure ( temp 4-component vector of float)
1550:38            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
1560:38            Constant:
1570:38              0 (const int)
1580:38        move second child to first child ( temp float)
1590:?           '@entryPointOutput.Depth' ( out float FragDepth)
1600:38          Depth: direct index for structure ( temp float)
1610:38            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
1620:38            Constant:
1630:38              1 (const int)
1640:?   Linker Objects
1650:?     'g_sSamp' (layout( binding=0) uniform sampler)
1660:?     'g_tTex1df4' (layout( binding=0) uniform texture1DShadow)
1670:?     'g_tTex1di4' ( uniform itexture1DShadow)
1680:?     'g_tTex1du4' ( uniform utexture1DShadow)
1690:?     'g_tTex2df4' ( uniform texture2DShadow)
1700:?     'g_tTex2di4' ( uniform itexture2DShadow)
1710:?     'g_tTex2du4' ( uniform utexture2DShadow)
1720:?     'g_tTex3df4' ( uniform texture3D)
1730:?     'g_tTex3di4' ( uniform itexture3D)
1740:?     'g_tTex3du4' ( uniform utexture3D)
1750:?     'g_tTexcdf4' ( uniform textureCubeShadow)
1760:?     'g_tTexcdi4' ( uniform itextureCubeShadow)
1770:?     'g_tTexcdu4' ( uniform utextureCubeShadow)
1780:?     'g_tTex1df4a' ( uniform texture1DArray)
1790:?     'g_tTex1di4a' ( uniform itexture1DArray)
1800:?     'g_tTex1du4a' ( uniform utexture1DArray)
1810:?     'g_tTex2df4a' ( uniform texture2DArray)
1820:?     'g_tTex2di4a' ( uniform itexture2DArray)
1830:?     'g_tTex2du4a' ( uniform utexture2DArray)
1840:?     'g_tTexcdf4a' ( uniform textureCubeArray)
1850:?     'g_tTexcdi4a' ( uniform itextureCubeArray)
1860:?     'g_tTexcdu4a' ( uniform utextureCubeArray)
1870:?     '@entryPointOutput.Depth' ( out float FragDepth)
1880:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
189
190
191Linked fragment stage:
192
193
194Shader version: 500
195gl_FragCoord origin is upper left
196using depth_any
1970:? Sequence
1980:38  Function Definition: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
1990:38    Function Parameters:
2000:?     Sequence
2010:42      Sequence
2020:42        move second child to first child ( temp float)
2030:42          'r00' ( temp float)
2040:42          texture ( temp float)
2050:42            Construct combined texture-sampler ( temp sampler1DShadow)
2060:42              'g_tTex1df4' (layout( binding=0) uniform texture1DShadow)
2070:42              'g_sSamp' (layout( binding=0) uniform sampler)
2080:42            Construct vec2 ( temp 2-component vector of float)
2090:42              Constant:
2100:42                0.100000
2110:42              Constant:
2120:42                0.750000
2130:43      Sequence
2140:43        move second child to first child ( temp float)
2150:43          'r02' ( temp float)
2160:43          texture ( temp float)
2170:43            Construct combined texture-sampler ( temp isampler1DShadow)
2180:43              'g_tTex1di4' ( uniform itexture1DShadow)
2190:43              'g_sSamp' (layout( binding=0) uniform sampler)
2200:43            Construct vec2 ( temp 2-component vector of float)
2210:43              Constant:
2220:43                0.100000
2230:43              Constant:
2240:43                0.750000
2250:44      Sequence
2260:44        move second child to first child ( temp float)
2270:44          'r04' ( temp float)
2280:44          texture ( temp float)
2290:44            Construct combined texture-sampler ( temp usampler1DShadow)
2300:44              'g_tTex1du4' ( uniform utexture1DShadow)
2310:44              'g_sSamp' (layout( binding=0) uniform sampler)
2320:44            Construct vec2 ( temp 2-component vector of float)
2330:44              Constant:
2340:44                0.100000
2350:44              Constant:
2360:44                0.750000
2370:47      Sequence
2380:47        move second child to first child ( temp float)
2390:47          'r20' ( temp float)
2400:47          texture ( temp float)
2410:47            Construct combined texture-sampler ( temp sampler2DShadow)
2420:47              'g_tTex2df4' ( uniform texture2DShadow)
2430:47              'g_sSamp' (layout( binding=0) uniform sampler)
2440:47            Construct vec3 ( temp 3-component vector of float)
2450:?               Constant:
2460:?                 0.100000
2470:?                 0.200000
2480:47              Constant:
2490:47                0.750000
2500:48      Sequence
2510:48        move second child to first child ( temp float)
2520:48          'r22' ( temp float)
2530:48          texture ( temp float)
2540:48            Construct combined texture-sampler ( temp isampler2DShadow)
2550:48              'g_tTex2di4' ( uniform itexture2DShadow)
2560:48              'g_sSamp' (layout( binding=0) uniform sampler)
2570:48            Construct vec3 ( temp 3-component vector of float)
2580:?               Constant:
2590:?                 0.100000
2600:?                 0.200000
2610:48              Constant:
2620:48                0.750000
2630:49      Sequence
2640:49        move second child to first child ( temp float)
2650:49          'r24' ( temp float)
2660:49          texture ( temp float)
2670:49            Construct combined texture-sampler ( temp usampler2DShadow)
2680:49              'g_tTex2du4' ( uniform utexture2DShadow)
2690:49              'g_sSamp' (layout( binding=0) uniform sampler)
2700:49            Construct vec3 ( temp 3-component vector of float)
2710:?               Constant:
2720:?                 0.100000
2730:?                 0.200000
2740:49              Constant:
2750:49                0.750000
2760:53      Sequence
2770:53        move second child to first child ( temp float)
2780:53          'r50' ( temp float)
2790:53          texture ( temp float)
2800:53            Construct combined texture-sampler ( temp samplerCubeShadow)
2810:53              'g_tTexcdf4' ( uniform textureCubeShadow)
2820:53              'g_sSamp' (layout( binding=0) uniform sampler)
2830:53            Construct vec4 ( temp 4-component vector of float)
2840:?               Constant:
2850:?                 0.100000
2860:?                 0.200000
2870:?                 0.300000
2880:53              Constant:
2890:53                0.750000
2900:54      Sequence
2910:54        move second child to first child ( temp float)
2920:54          'r52' ( temp float)
2930:54          texture ( temp float)
2940:54            Construct combined texture-sampler ( temp isamplerCubeShadow)
2950:54              'g_tTexcdi4' ( uniform itextureCubeShadow)
2960:54              'g_sSamp' (layout( binding=0) uniform sampler)
2970:54            Construct vec4 ( temp 4-component vector of float)
2980:?               Constant:
2990:?                 0.100000
3000:?                 0.200000
3010:?                 0.300000
3020:54              Constant:
3030:54                0.750000
3040:55      Sequence
3050:55        move second child to first child ( temp float)
3060:55          'r54' ( temp float)
3070:55          texture ( temp float)
3080:55            Construct combined texture-sampler ( temp usamplerCubeShadow)
3090:55              'g_tTexcdu4' ( uniform utextureCubeShadow)
3100:55              'g_sSamp' (layout( binding=0) uniform sampler)
3110:55            Construct vec4 ( temp 4-component vector of float)
3120:?               Constant:
3130:?                 0.100000
3140:?                 0.200000
3150:?                 0.300000
3160:55              Constant:
3170:55                0.750000
3180:57      move second child to first child ( temp 4-component vector of float)
3190:57        Color: direct index for structure ( temp 4-component vector of float)
3200:57          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
3210:57          Constant:
3220:57            0 (const int)
3230:57        Constant:
3240:57          1.000000
3250:57          1.000000
3260:57          1.000000
3270:57          1.000000
3280:58      move second child to first child ( temp float)
3290:58        Depth: direct index for structure ( temp float)
3300:58          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
3310:58          Constant:
3320:58            1 (const int)
3330:58        Constant:
3340:58          1.000000
3350:60      Branch: Return with expression
3360:60        'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
3370:38  Function Definition: main( ( temp void)
3380:38    Function Parameters:
3390:?     Sequence
3400:38      Sequence
3410:38        move second child to first child ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
3420:38          'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
3430:38          Function Call: @main( ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
3440:38        move second child to first child ( temp 4-component vector of float)
3450:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
3460:38          Color: direct index for structure ( temp 4-component vector of float)
3470:38            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
3480:38            Constant:
3490:38              0 (const int)
3500:38        move second child to first child ( temp float)
3510:?           '@entryPointOutput.Depth' ( out float FragDepth)
3520:38          Depth: direct index for structure ( temp float)
3530:38            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
3540:38            Constant:
3550:38              1 (const int)
3560:?   Linker Objects
3570:?     'g_sSamp' (layout( binding=0) uniform sampler)
3580:?     'g_tTex1df4' (layout( binding=0) uniform texture1DShadow)
3590:?     'g_tTex1di4' ( uniform itexture1DShadow)
3600:?     'g_tTex1du4' ( uniform utexture1DShadow)
3610:?     'g_tTex2df4' ( uniform texture2DShadow)
3620:?     'g_tTex2di4' ( uniform itexture2DShadow)
3630:?     'g_tTex2du4' ( uniform utexture2DShadow)
3640:?     'g_tTex3df4' ( uniform texture3D)
3650:?     'g_tTex3di4' ( uniform itexture3D)
3660:?     'g_tTex3du4' ( uniform utexture3D)
3670:?     'g_tTexcdf4' ( uniform textureCubeShadow)
3680:?     'g_tTexcdi4' ( uniform itextureCubeShadow)
3690:?     'g_tTexcdu4' ( uniform utextureCubeShadow)
3700:?     'g_tTex1df4a' ( uniform texture1DArray)
3710:?     'g_tTex1di4a' ( uniform itexture1DArray)
3720:?     'g_tTex1du4a' ( uniform utexture1DArray)
3730:?     'g_tTex2df4a' ( uniform texture2DArray)
3740:?     'g_tTex2di4a' ( uniform itexture2DArray)
3750:?     'g_tTex2du4a' ( uniform utexture2DArray)
3760:?     'g_tTexcdf4a' ( uniform textureCubeArray)
3770:?     'g_tTexcdi4a' ( uniform itextureCubeArray)
3780:?     'g_tTexcdu4a' ( uniform utextureCubeArray)
3790:?     '@entryPointOutput.Depth' ( out float FragDepth)
3800:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
381
382Validation failed
383// Module Version 10000
384// Generated by (magic number): 80007
385// Id's are bound by 198
386
387                              Capability Shader
388                              Capability Sampled1D
389                              Capability SampledCubeArray
390               1:             ExtInstImport  "GLSL.std.450"
391                              MemoryModel Logical GLSL450
392                              EntryPoint Fragment 4  "main" 155 159
393                              ExecutionMode 4 OriginUpperLeft
394                              ExecutionMode 4 DepthReplacing
395                              Source HLSL 500
396                              Name 4  "main"
397                              Name 8  "PS_OUTPUT"
398                              MemberName 8(PS_OUTPUT) 0  "Color"
399                              MemberName 8(PS_OUTPUT) 1  "Depth"
400                              Name 10  "@main("
401                              Name 13  "r00"
402                              Name 16  "g_tTex1df4"
403                              Name 20  "g_sSamp"
404                              Name 30  "r02"
405                              Name 34  "g_tTex1di4"
406                              Name 42  "r04"
407                              Name 46  "g_tTex1du4"
408                              Name 54  "r20"
409                              Name 57  "g_tTex2df4"
410                              Name 70  "r22"
411                              Name 73  "g_tTex2di4"
412                              Name 83  "r24"
413                              Name 86  "g_tTex2du4"
414                              Name 96  "r50"
415                              Name 99  "g_tTexcdf4"
416                              Name 112  "r52"
417                              Name 115  "g_tTexcdi4"
418                              Name 126  "r54"
419                              Name 129  "g_tTexcdu4"
420                              Name 141  "psout"
421                              Name 152  "flattenTemp"
422                              Name 155  "@entryPointOutput.Color"
423                              Name 159  "@entryPointOutput.Depth"
424                              Name 164  "g_tTex3df4"
425                              Name 167  "g_tTex3di4"
426                              Name 170  "g_tTex3du4"
427                              Name 173  "g_tTex1df4a"
428                              Name 176  "g_tTex1di4a"
429                              Name 179  "g_tTex1du4a"
430                              Name 182  "g_tTex2df4a"
431                              Name 185  "g_tTex2di4a"
432                              Name 188  "g_tTex2du4a"
433                              Name 191  "g_tTexcdf4a"
434                              Name 194  "g_tTexcdi4a"
435                              Name 197  "g_tTexcdu4a"
436                              Decorate 16(g_tTex1df4) DescriptorSet 0
437                              Decorate 16(g_tTex1df4) Binding 0
438                              Decorate 20(g_sSamp) DescriptorSet 0
439                              Decorate 20(g_sSamp) Binding 0
440                              Decorate 34(g_tTex1di4) DescriptorSet 0
441                              Decorate 34(g_tTex1di4) Binding 0
442                              Decorate 46(g_tTex1du4) DescriptorSet 0
443                              Decorate 46(g_tTex1du4) Binding 0
444                              Decorate 57(g_tTex2df4) DescriptorSet 0
445                              Decorate 57(g_tTex2df4) Binding 0
446                              Decorate 73(g_tTex2di4) DescriptorSet 0
447                              Decorate 73(g_tTex2di4) Binding 0
448                              Decorate 86(g_tTex2du4) DescriptorSet 0
449                              Decorate 86(g_tTex2du4) Binding 0
450                              Decorate 99(g_tTexcdf4) DescriptorSet 0
451                              Decorate 99(g_tTexcdf4) Binding 0
452                              Decorate 115(g_tTexcdi4) DescriptorSet 0
453                              Decorate 115(g_tTexcdi4) Binding 0
454                              Decorate 129(g_tTexcdu4) DescriptorSet 0
455                              Decorate 129(g_tTexcdu4) Binding 0
456                              Decorate 155(@entryPointOutput.Color) Location 0
457                              Decorate 159(@entryPointOutput.Depth) BuiltIn FragDepth
458                              Decorate 164(g_tTex3df4) DescriptorSet 0
459                              Decorate 164(g_tTex3df4) Binding 0
460                              Decorate 167(g_tTex3di4) DescriptorSet 0
461                              Decorate 167(g_tTex3di4) Binding 0
462                              Decorate 170(g_tTex3du4) DescriptorSet 0
463                              Decorate 170(g_tTex3du4) Binding 0
464                              Decorate 173(g_tTex1df4a) DescriptorSet 0
465                              Decorate 173(g_tTex1df4a) Binding 0
466                              Decorate 176(g_tTex1di4a) DescriptorSet 0
467                              Decorate 176(g_tTex1di4a) Binding 0
468                              Decorate 179(g_tTex1du4a) DescriptorSet 0
469                              Decorate 179(g_tTex1du4a) Binding 0
470                              Decorate 182(g_tTex2df4a) DescriptorSet 0
471                              Decorate 182(g_tTex2df4a) Binding 0
472                              Decorate 185(g_tTex2di4a) DescriptorSet 0
473                              Decorate 185(g_tTex2di4a) Binding 0
474                              Decorate 188(g_tTex2du4a) DescriptorSet 0
475                              Decorate 188(g_tTex2du4a) Binding 0
476                              Decorate 191(g_tTexcdf4a) DescriptorSet 0
477                              Decorate 191(g_tTexcdf4a) Binding 0
478                              Decorate 194(g_tTexcdi4a) DescriptorSet 0
479                              Decorate 194(g_tTexcdi4a) Binding 0
480                              Decorate 197(g_tTexcdu4a) DescriptorSet 0
481                              Decorate 197(g_tTexcdu4a) Binding 0
482               2:             TypeVoid
483               3:             TypeFunction 2
484               6:             TypeFloat 32
485               7:             TypeVector 6(float) 4
486    8(PS_OUTPUT):             TypeStruct 7(fvec4) 6(float)
487               9:             TypeFunction 8(PS_OUTPUT)
488              12:             TypePointer Function 6(float)
489              14:             TypeImage 6(float) 1D depth sampled format:Unknown
490              15:             TypePointer UniformConstant 14
491  16(g_tTex1df4):     15(ptr) Variable UniformConstant
492              18:             TypeSampler
493              19:             TypePointer UniformConstant 18
494     20(g_sSamp):     19(ptr) Variable UniformConstant
495              22:             TypeSampledImage 14
496              24:    6(float) Constant 1036831949
497              25:    6(float) Constant 1061158912
498              26:             TypeVector 6(float) 2
499              31:             TypeInt 32 1
500              32:             TypeImage 31(int) 1D depth sampled format:Unknown
501              33:             TypePointer UniformConstant 32
502  34(g_tTex1di4):     33(ptr) Variable UniformConstant
503              37:             TypeSampledImage 32
504              43:             TypeInt 32 0
505              44:             TypeImage 43(int) 1D depth sampled format:Unknown
506              45:             TypePointer UniformConstant 44
507  46(g_tTex1du4):     45(ptr) Variable UniformConstant
508              49:             TypeSampledImage 44
509              55:             TypeImage 6(float) 2D depth sampled format:Unknown
510              56:             TypePointer UniformConstant 55
511  57(g_tTex2df4):     56(ptr) Variable UniformConstant
512              60:             TypeSampledImage 55
513              62:    6(float) Constant 1045220557
514              63:   26(fvec2) ConstantComposite 24 62
515              64:             TypeVector 6(float) 3
516              71:             TypeImage 31(int) 2D depth sampled format:Unknown
517              72:             TypePointer UniformConstant 71
518  73(g_tTex2di4):     72(ptr) Variable UniformConstant
519              76:             TypeSampledImage 71
520              84:             TypeImage 43(int) 2D depth sampled format:Unknown
521              85:             TypePointer UniformConstant 84
522  86(g_tTex2du4):     85(ptr) Variable UniformConstant
523              89:             TypeSampledImage 84
524              97:             TypeImage 6(float) Cube depth sampled format:Unknown
525              98:             TypePointer UniformConstant 97
526  99(g_tTexcdf4):     98(ptr) Variable UniformConstant
527             102:             TypeSampledImage 97
528             104:    6(float) Constant 1050253722
529             105:   64(fvec3) ConstantComposite 24 62 104
530             113:             TypeImage 31(int) Cube depth sampled format:Unknown
531             114:             TypePointer UniformConstant 113
532 115(g_tTexcdi4):    114(ptr) Variable UniformConstant
533             118:             TypeSampledImage 113
534             127:             TypeImage 43(int) Cube depth sampled format:Unknown
535             128:             TypePointer UniformConstant 127
536 129(g_tTexcdu4):    128(ptr) Variable UniformConstant
537             132:             TypeSampledImage 127
538             140:             TypePointer Function 8(PS_OUTPUT)
539             142:     31(int) Constant 0
540             143:    6(float) Constant 1065353216
541             144:    7(fvec4) ConstantComposite 143 143 143 143
542             145:             TypePointer Function 7(fvec4)
543             147:     31(int) Constant 1
544             154:             TypePointer Output 7(fvec4)
545155(@entryPointOutput.Color):    154(ptr) Variable Output
546             158:             TypePointer Output 6(float)
547159(@entryPointOutput.Depth):    158(ptr) Variable Output
548             162:             TypeImage 6(float) 3D sampled format:Unknown
549             163:             TypePointer UniformConstant 162
550 164(g_tTex3df4):    163(ptr) Variable UniformConstant
551             165:             TypeImage 31(int) 3D sampled format:Unknown
552             166:             TypePointer UniformConstant 165
553 167(g_tTex3di4):    166(ptr) Variable UniformConstant
554             168:             TypeImage 43(int) 3D sampled format:Unknown
555             169:             TypePointer UniformConstant 168
556 170(g_tTex3du4):    169(ptr) Variable UniformConstant
557             171:             TypeImage 6(float) 1D array sampled format:Unknown
558             172:             TypePointer UniformConstant 171
559173(g_tTex1df4a):    172(ptr) Variable UniformConstant
560             174:             TypeImage 31(int) 1D array sampled format:Unknown
561             175:             TypePointer UniformConstant 174
562176(g_tTex1di4a):    175(ptr) Variable UniformConstant
563             177:             TypeImage 43(int) 1D array sampled format:Unknown
564             178:             TypePointer UniformConstant 177
565179(g_tTex1du4a):    178(ptr) Variable UniformConstant
566             180:             TypeImage 6(float) 2D array sampled format:Unknown
567             181:             TypePointer UniformConstant 180
568182(g_tTex2df4a):    181(ptr) Variable UniformConstant
569             183:             TypeImage 31(int) 2D array sampled format:Unknown
570             184:             TypePointer UniformConstant 183
571185(g_tTex2di4a):    184(ptr) Variable UniformConstant
572             186:             TypeImage 43(int) 2D array sampled format:Unknown
573             187:             TypePointer UniformConstant 186
574188(g_tTex2du4a):    187(ptr) Variable UniformConstant
575             189:             TypeImage 6(float) Cube array sampled format:Unknown
576             190:             TypePointer UniformConstant 189
577191(g_tTexcdf4a):    190(ptr) Variable UniformConstant
578             192:             TypeImage 31(int) Cube array sampled format:Unknown
579             193:             TypePointer UniformConstant 192
580194(g_tTexcdi4a):    193(ptr) Variable UniformConstant
581             195:             TypeImage 43(int) Cube array sampled format:Unknown
582             196:             TypePointer UniformConstant 195
583197(g_tTexcdu4a):    196(ptr) Variable UniformConstant
584         4(main):           2 Function None 3
585               5:             Label
586152(flattenTemp):    140(ptr) Variable Function
587             153:8(PS_OUTPUT) FunctionCall 10(@main()
588                              Store 152(flattenTemp) 153
589             156:    145(ptr) AccessChain 152(flattenTemp) 142
590             157:    7(fvec4) Load 156
591                              Store 155(@entryPointOutput.Color) 157
592             160:     12(ptr) AccessChain 152(flattenTemp) 147
593             161:    6(float) Load 160
594                              Store 159(@entryPointOutput.Depth) 161
595                              Return
596                              FunctionEnd
597      10(@main():8(PS_OUTPUT) Function None 9
598              11:             Label
599         13(r00):     12(ptr) Variable Function
600         30(r02):     12(ptr) Variable Function
601         42(r04):     12(ptr) Variable Function
602         54(r20):     12(ptr) Variable Function
603         70(r22):     12(ptr) Variable Function
604         83(r24):     12(ptr) Variable Function
605         96(r50):     12(ptr) Variable Function
606        112(r52):     12(ptr) Variable Function
607        126(r54):     12(ptr) Variable Function
608      141(psout):    140(ptr) Variable Function
609              17:          14 Load 16(g_tTex1df4)
610              21:          18 Load 20(g_sSamp)
611              23:          22 SampledImage 17 21
612              27:   26(fvec2) CompositeConstruct 24 25
613              28:    6(float) CompositeExtract 27 1
614              29:    6(float) ImageSampleDrefImplicitLod 23 27 28
615                              Store 13(r00) 29
616              35:          32 Load 34(g_tTex1di4)
617              36:          18 Load 20(g_sSamp)
618              38:          37 SampledImage 35 36
619              39:   26(fvec2) CompositeConstruct 24 25
620              40:    6(float) CompositeExtract 39 1
621              41:    6(float) ImageSampleDrefImplicitLod 38 39 40
622                              Store 30(r02) 41
623              47:          44 Load 46(g_tTex1du4)
624              48:          18 Load 20(g_sSamp)
625              50:          49 SampledImage 47 48
626              51:   26(fvec2) CompositeConstruct 24 25
627              52:    6(float) CompositeExtract 51 1
628              53:    6(float) ImageSampleDrefImplicitLod 50 51 52
629                              Store 42(r04) 53
630              58:          55 Load 57(g_tTex2df4)
631              59:          18 Load 20(g_sSamp)
632              61:          60 SampledImage 58 59
633              65:    6(float) CompositeExtract 63 0
634              66:    6(float) CompositeExtract 63 1
635              67:   64(fvec3) CompositeConstruct 65 66 25
636              68:    6(float) CompositeExtract 67 2
637              69:    6(float) ImageSampleDrefImplicitLod 61 67 68
638                              Store 54(r20) 69
639              74:          71 Load 73(g_tTex2di4)
640              75:          18 Load 20(g_sSamp)
641              77:          76 SampledImage 74 75
642              78:    6(float) CompositeExtract 63 0
643              79:    6(float) CompositeExtract 63 1
644              80:   64(fvec3) CompositeConstruct 78 79 25
645              81:    6(float) CompositeExtract 80 2
646              82:    6(float) ImageSampleDrefImplicitLod 77 80 81
647                              Store 70(r22) 82
648              87:          84 Load 86(g_tTex2du4)
649              88:          18 Load 20(g_sSamp)
650              90:          89 SampledImage 87 88
651              91:    6(float) CompositeExtract 63 0
652              92:    6(float) CompositeExtract 63 1
653              93:   64(fvec3) CompositeConstruct 91 92 25
654              94:    6(float) CompositeExtract 93 2
655              95:    6(float) ImageSampleDrefImplicitLod 90 93 94
656                              Store 83(r24) 95
657             100:          97 Load 99(g_tTexcdf4)
658             101:          18 Load 20(g_sSamp)
659             103:         102 SampledImage 100 101
660             106:    6(float) CompositeExtract 105 0
661             107:    6(float) CompositeExtract 105 1
662             108:    6(float) CompositeExtract 105 2
663             109:    7(fvec4) CompositeConstruct 106 107 108 25
664             110:    6(float) CompositeExtract 109 3
665             111:    6(float) ImageSampleDrefImplicitLod 103 109 110
666                              Store 96(r50) 111
667             116:         113 Load 115(g_tTexcdi4)
668             117:          18 Load 20(g_sSamp)
669             119:         118 SampledImage 116 117
670             120:    6(float) CompositeExtract 105 0
671             121:    6(float) CompositeExtract 105 1
672             122:    6(float) CompositeExtract 105 2
673             123:    7(fvec4) CompositeConstruct 120 121 122 25
674             124:    6(float) CompositeExtract 123 3
675             125:    6(float) ImageSampleDrefImplicitLod 119 123 124
676                              Store 112(r52) 125
677             130:         127 Load 129(g_tTexcdu4)
678             131:          18 Load 20(g_sSamp)
679             133:         132 SampledImage 130 131
680             134:    6(float) CompositeExtract 105 0
681             135:    6(float) CompositeExtract 105 1
682             136:    6(float) CompositeExtract 105 2
683             137:    7(fvec4) CompositeConstruct 134 135 136 25
684             138:    6(float) CompositeExtract 137 3
685             139:    6(float) ImageSampleDrefImplicitLod 133 137 138
686                              Store 126(r54) 139
687             146:    145(ptr) AccessChain 141(psout) 142
688                              Store 146 144
689             148:     12(ptr) AccessChain 141(psout) 147
690                              Store 148 143
691             149:8(PS_OUTPUT) Load 141(psout)
692                              ReturnValue 149
693                              FunctionEnd
694