glslang/Test/baseResults/hlsl.samplecmp.basic.dx10.frag.out
John Kessenich 02467d8d94 HLSL: Wrap the entry-point; need to write 'in' args, and support 'inout' args.
This needs some render testing, but is destined to be part of master.

This also leads to a variety of other simplifications.
 - IO are global symbols, so only need one list of linkage nodes (deferred)
 - no longer need parse-context-wide 'inEntryPoint' state, entry-point is localized
 - several parts of splitting/flattening are now localized
2017-02-06 22:58:32 -07:00

678 lines
33 KiB
Plaintext

hlsl.samplecmp.basic.dx10.frag
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:38 Function Definition: @main( (temp structure{temp 4-component vector of float Color, temp float Depth})
0:38 Function Parameters:
0:? Sequence
0:42 Sequence
0:42 move second child to first child (temp float)
0:42 'r00' (temp float)
0:42 texture (temp float)
0:42 Construct combined texture-sampler (temp sampler1DShadow)
0:42 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:42 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:42 Construct vec2 (temp 2-component vector of float)
0:42 Constant:
0:42 0.100000
0:42 Constant:
0:42 0.750000
0:43 Sequence
0:43 move second child to first child (temp float)
0:43 'r02' (temp float)
0:43 texture (temp float)
0:43 Construct combined texture-sampler (temp isampler1DShadow)
0:43 'g_tTex1di4' (uniform itexture1D)
0:43 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:43 Construct vec2 (temp 2-component vector of float)
0:43 Constant:
0:43 0.100000
0:43 Constant:
0:43 0.750000
0:44 Sequence
0:44 move second child to first child (temp float)
0:44 'r04' (temp float)
0:44 texture (temp float)
0:44 Construct combined texture-sampler (temp usampler1DShadow)
0:44 'g_tTex1du4' (uniform utexture1D)
0:44 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:44 Construct vec2 (temp 2-component vector of float)
0:44 Constant:
0:44 0.100000
0:44 Constant:
0:44 0.750000
0:47 Sequence
0:47 move second child to first child (temp float)
0:47 'r20' (temp float)
0:47 texture (temp float)
0:47 Construct combined texture-sampler (temp sampler2DShadow)
0:47 'g_tTex2df4' (uniform texture2D)
0:47 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:47 Construct vec3 (temp 3-component vector of float)
0:? Constant:
0:? 0.100000
0:? 0.200000
0:47 Constant:
0:47 0.750000
0:48 Sequence
0:48 move second child to first child (temp float)
0:48 'r22' (temp float)
0:48 texture (temp float)
0:48 Construct combined texture-sampler (temp isampler2DShadow)
0:48 'g_tTex2di4' (uniform itexture2D)
0:48 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:48 Construct vec3 (temp 3-component vector of float)
0:? Constant:
0:? 0.100000
0:? 0.200000
0:48 Constant:
0:48 0.750000
0:49 Sequence
0:49 move second child to first child (temp float)
0:49 'r24' (temp float)
0:49 texture (temp float)
0:49 Construct combined texture-sampler (temp usampler2DShadow)
0:49 'g_tTex2du4' (uniform utexture2D)
0:49 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:49 Construct vec3 (temp 3-component vector of float)
0:? Constant:
0:? 0.100000
0:? 0.200000
0:49 Constant:
0:49 0.750000
0:53 Sequence
0:53 move second child to first child (temp float)
0:53 'r50' (temp float)
0:53 texture (temp float)
0:53 Construct combined texture-sampler (temp samplerCubeShadow)
0:53 'g_tTexcdf4' (uniform textureCube)
0:53 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:53 Construct vec4 (temp 4-component vector of float)
0:? Constant:
0:? 0.100000
0:? 0.200000
0:? 0.300000
0:53 Constant:
0:53 0.750000
0:54 Sequence
0:54 move second child to first child (temp float)
0:54 'r52' (temp float)
0:54 texture (temp float)
0:54 Construct combined texture-sampler (temp isamplerCubeShadow)
0:54 'g_tTexcdi4' (uniform itextureCube)
0:54 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:54 Construct vec4 (temp 4-component vector of float)
0:? Constant:
0:? 0.100000
0:? 0.200000
0:? 0.300000
0:54 Constant:
0:54 0.750000
0:55 Sequence
0:55 move second child to first child (temp float)
0:55 'r54' (temp float)
0:55 texture (temp float)
0:55 Construct combined texture-sampler (temp usamplerCubeShadow)
0:55 'g_tTexcdu4' (uniform utextureCube)
0:55 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:55 Construct vec4 (temp 4-component vector of float)
0:? Constant:
0:? 0.100000
0:? 0.200000
0:? 0.300000
0:55 Constant:
0:55 0.750000
0:57 move second child to first child (temp 4-component vector of float)
0:57 Color: direct index for structure (temp 4-component vector of float)
0:57 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:57 Constant:
0:57 0 (const int)
0:57 Constant:
0:57 1.000000
0:57 1.000000
0:57 1.000000
0:57 1.000000
0:58 move second child to first child (temp float)
0:58 Depth: direct index for structure (temp float)
0:58 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:58 Constant:
0:58 1 (const int)
0:58 Constant:
0:58 1.000000
0:60 Branch: Return with expression
0:60 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:38 Function Definition: main( (temp void)
0:38 Function Parameters:
0:? Sequence
0:38 Sequence
0:38 move second child to first child (temp structure{temp 4-component vector of float Color, temp float Depth})
0:38 'flattenTemp' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:38 Function Call: @main( (temp structure{temp 4-component vector of float Color, temp float Depth})
0:38 move second child to first child (temp 4-component vector of float)
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
0:38 Color: direct index for structure (temp 4-component vector of float)
0:38 'flattenTemp' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:38 Constant:
0:38 0 (const int)
0:38 move second child to first child (temp float)
0:? 'Depth' (out float FragDepth)
0:38 Depth: direct index for structure (temp float)
0:38 'flattenTemp' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:38 Constant:
0:38 1 (const int)
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:? 'g_tTex1di4' (uniform itexture1D)
0:? 'g_tTex1du4' (uniform utexture1D)
0:? 'g_tTex2df4' (uniform texture2D)
0:? 'g_tTex2di4' (uniform itexture2D)
0:? 'g_tTex2du4' (uniform utexture2D)
0:? 'g_tTex3df4' (uniform texture3D)
0:? 'g_tTex3di4' (uniform itexture3D)
0:? 'g_tTex3du4' (uniform utexture3D)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTex1df4a' (uniform texture1DArray)
0:? 'g_tTex1di4a' (uniform itexture1DArray)
0:? 'g_tTex1du4a' (uniform utexture1DArray)
0:? 'g_tTex2df4a' (uniform texture2DArray)
0:? 'g_tTex2di4a' (uniform itexture2DArray)
0:? 'g_tTex2du4a' (uniform utexture2DArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
0:? 'Depth' (out float FragDepth)
Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:38 Function Definition: @main( (temp structure{temp 4-component vector of float Color, temp float Depth})
0:38 Function Parameters:
0:? Sequence
0:42 Sequence
0:42 move second child to first child (temp float)
0:42 'r00' (temp float)
0:42 texture (temp float)
0:42 Construct combined texture-sampler (temp sampler1DShadow)
0:42 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:42 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:42 Construct vec2 (temp 2-component vector of float)
0:42 Constant:
0:42 0.100000
0:42 Constant:
0:42 0.750000
0:43 Sequence
0:43 move second child to first child (temp float)
0:43 'r02' (temp float)
0:43 texture (temp float)
0:43 Construct combined texture-sampler (temp isampler1DShadow)
0:43 'g_tTex1di4' (uniform itexture1D)
0:43 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:43 Construct vec2 (temp 2-component vector of float)
0:43 Constant:
0:43 0.100000
0:43 Constant:
0:43 0.750000
0:44 Sequence
0:44 move second child to first child (temp float)
0:44 'r04' (temp float)
0:44 texture (temp float)
0:44 Construct combined texture-sampler (temp usampler1DShadow)
0:44 'g_tTex1du4' (uniform utexture1D)
0:44 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:44 Construct vec2 (temp 2-component vector of float)
0:44 Constant:
0:44 0.100000
0:44 Constant:
0:44 0.750000
0:47 Sequence
0:47 move second child to first child (temp float)
0:47 'r20' (temp float)
0:47 texture (temp float)
0:47 Construct combined texture-sampler (temp sampler2DShadow)
0:47 'g_tTex2df4' (uniform texture2D)
0:47 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:47 Construct vec3 (temp 3-component vector of float)
0:? Constant:
0:? 0.100000
0:? 0.200000
0:47 Constant:
0:47 0.750000
0:48 Sequence
0:48 move second child to first child (temp float)
0:48 'r22' (temp float)
0:48 texture (temp float)
0:48 Construct combined texture-sampler (temp isampler2DShadow)
0:48 'g_tTex2di4' (uniform itexture2D)
0:48 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:48 Construct vec3 (temp 3-component vector of float)
0:? Constant:
0:? 0.100000
0:? 0.200000
0:48 Constant:
0:48 0.750000
0:49 Sequence
0:49 move second child to first child (temp float)
0:49 'r24' (temp float)
0:49 texture (temp float)
0:49 Construct combined texture-sampler (temp usampler2DShadow)
0:49 'g_tTex2du4' (uniform utexture2D)
0:49 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:49 Construct vec3 (temp 3-component vector of float)
0:? Constant:
0:? 0.100000
0:? 0.200000
0:49 Constant:
0:49 0.750000
0:53 Sequence
0:53 move second child to first child (temp float)
0:53 'r50' (temp float)
0:53 texture (temp float)
0:53 Construct combined texture-sampler (temp samplerCubeShadow)
0:53 'g_tTexcdf4' (uniform textureCube)
0:53 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:53 Construct vec4 (temp 4-component vector of float)
0:? Constant:
0:? 0.100000
0:? 0.200000
0:? 0.300000
0:53 Constant:
0:53 0.750000
0:54 Sequence
0:54 move second child to first child (temp float)
0:54 'r52' (temp float)
0:54 texture (temp float)
0:54 Construct combined texture-sampler (temp isamplerCubeShadow)
0:54 'g_tTexcdi4' (uniform itextureCube)
0:54 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:54 Construct vec4 (temp 4-component vector of float)
0:? Constant:
0:? 0.100000
0:? 0.200000
0:? 0.300000
0:54 Constant:
0:54 0.750000
0:55 Sequence
0:55 move second child to first child (temp float)
0:55 'r54' (temp float)
0:55 texture (temp float)
0:55 Construct combined texture-sampler (temp usamplerCubeShadow)
0:55 'g_tTexcdu4' (uniform utextureCube)
0:55 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:55 Construct vec4 (temp 4-component vector of float)
0:? Constant:
0:? 0.100000
0:? 0.200000
0:? 0.300000
0:55 Constant:
0:55 0.750000
0:57 move second child to first child (temp 4-component vector of float)
0:57 Color: direct index for structure (temp 4-component vector of float)
0:57 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:57 Constant:
0:57 0 (const int)
0:57 Constant:
0:57 1.000000
0:57 1.000000
0:57 1.000000
0:57 1.000000
0:58 move second child to first child (temp float)
0:58 Depth: direct index for structure (temp float)
0:58 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:58 Constant:
0:58 1 (const int)
0:58 Constant:
0:58 1.000000
0:60 Branch: Return with expression
0:60 'psout' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:38 Function Definition: main( (temp void)
0:38 Function Parameters:
0:? Sequence
0:38 Sequence
0:38 move second child to first child (temp structure{temp 4-component vector of float Color, temp float Depth})
0:38 'flattenTemp' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:38 Function Call: @main( (temp structure{temp 4-component vector of float Color, temp float Depth})
0:38 move second child to first child (temp 4-component vector of float)
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
0:38 Color: direct index for structure (temp 4-component vector of float)
0:38 'flattenTemp' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:38 Constant:
0:38 0 (const int)
0:38 move second child to first child (temp float)
0:? 'Depth' (out float FragDepth)
0:38 Depth: direct index for structure (temp float)
0:38 'flattenTemp' (temp structure{temp 4-component vector of float Color, temp float Depth})
0:38 Constant:
0:38 1 (const int)
0:? Linker Objects
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:? 'g_tTex1di4' (uniform itexture1D)
0:? 'g_tTex1du4' (uniform utexture1D)
0:? 'g_tTex2df4' (uniform texture2D)
0:? 'g_tTex2di4' (uniform itexture2D)
0:? 'g_tTex2du4' (uniform utexture2D)
0:? 'g_tTex3df4' (uniform texture3D)
0:? 'g_tTex3di4' (uniform itexture3D)
0:? 'g_tTex3du4' (uniform utexture3D)
0:? 'g_tTexcdf4' (uniform textureCube)
0:? 'g_tTexcdi4' (uniform itextureCube)
0:? 'g_tTexcdu4' (uniform utextureCube)
0:? 'g_tTex1df4a' (uniform texture1DArray)
0:? 'g_tTex1di4a' (uniform itexture1DArray)
0:? 'g_tTex1du4a' (uniform utexture1DArray)
0:? 'g_tTex2df4a' (uniform texture2DArray)
0:? 'g_tTex2di4a' (uniform itexture2DArray)
0:? 'g_tTex2du4a' (uniform utexture2DArray)
0:? 'g_tTexcdf4a' (uniform textureCubeArray)
0:? 'g_tTexcdi4a' (uniform itextureCubeArray)
0:? 'g_tTexcdu4a' (uniform utextureCubeArray)
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
0:? 'Depth' (out float FragDepth)
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 207
Capability Shader
Capability Sampled1D
Capability SampledCubeArray
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 164 168
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 8 "PS_OUTPUT"
MemberName 8(PS_OUTPUT) 0 "Color"
MemberName 8(PS_OUTPUT) 1 "Depth"
Name 10 "@main("
Name 13 "r00"
Name 16 "g_tTex1df4"
Name 20 "g_sSamp"
Name 31 "r02"
Name 35 "g_tTex1di4"
Name 44 "r04"
Name 48 "g_tTex1du4"
Name 57 "r20"
Name 60 "g_tTex2df4"
Name 74 "r22"
Name 77 "g_tTex2di4"
Name 88 "r24"
Name 91 "g_tTex2du4"
Name 102 "r50"
Name 105 "g_tTexcdf4"
Name 119 "r52"
Name 122 "g_tTexcdi4"
Name 134 "r54"
Name 137 "g_tTexcdu4"
Name 150 "psout"
Name 161 "flattenTemp"
Name 164 "Color"
Name 168 "Depth"
Name 173 "g_tTex3df4"
Name 176 "g_tTex3di4"
Name 179 "g_tTex3du4"
Name 182 "g_tTex1df4a"
Name 185 "g_tTex1di4a"
Name 188 "g_tTex1du4a"
Name 191 "g_tTex2df4a"
Name 194 "g_tTex2di4a"
Name 197 "g_tTex2du4a"
Name 200 "g_tTexcdf4a"
Name 203 "g_tTexcdi4a"
Name 206 "g_tTexcdu4a"
Decorate 16(g_tTex1df4) DescriptorSet 0
Decorate 16(g_tTex1df4) Binding 0
Decorate 20(g_sSamp) DescriptorSet 0
Decorate 20(g_sSamp) Binding 0
Decorate 35(g_tTex1di4) DescriptorSet 0
Decorate 48(g_tTex1du4) DescriptorSet 0
Decorate 60(g_tTex2df4) DescriptorSet 0
Decorate 77(g_tTex2di4) DescriptorSet 0
Decorate 91(g_tTex2du4) DescriptorSet 0
Decorate 105(g_tTexcdf4) DescriptorSet 0
Decorate 122(g_tTexcdi4) DescriptorSet 0
Decorate 137(g_tTexcdu4) DescriptorSet 0
Decorate 164(Color) Location 0
Decorate 168(Depth) BuiltIn FragDepth
Decorate 173(g_tTex3df4) DescriptorSet 0
Decorate 176(g_tTex3di4) DescriptorSet 0
Decorate 179(g_tTex3du4) DescriptorSet 0
Decorate 182(g_tTex1df4a) DescriptorSet 0
Decorate 185(g_tTex1di4a) DescriptorSet 0
Decorate 188(g_tTex1du4a) DescriptorSet 0
Decorate 191(g_tTex2df4a) DescriptorSet 0
Decorate 194(g_tTex2di4a) DescriptorSet 0
Decorate 197(g_tTex2du4a) DescriptorSet 0
Decorate 200(g_tTexcdf4a) DescriptorSet 0
Decorate 203(g_tTexcdi4a) DescriptorSet 0
Decorate 206(g_tTexcdu4a) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
9: TypeFunction 8(PS_OUTPUT)
12: TypePointer Function 6(float)
14: TypeImage 6(float) 1D sampled format:Unknown
15: TypePointer UniformConstant 14
16(g_tTex1df4): 15(ptr) Variable UniformConstant
18: TypeSampler
19: TypePointer UniformConstant 18
20(g_sSamp): 19(ptr) Variable UniformConstant
22: TypeImage 6(float) 1D depth sampled format:Unknown
23: TypeSampledImage 22
25: 6(float) Constant 1036831949
26: 6(float) Constant 1061158912
27: TypeVector 6(float) 2
32: TypeInt 32 1
33: TypeImage 32(int) 1D sampled format:Unknown
34: TypePointer UniformConstant 33
35(g_tTex1di4): 34(ptr) Variable UniformConstant
38: TypeImage 32(int) 1D depth sampled format:Unknown
39: TypeSampledImage 38
45: TypeInt 32 0
46: TypeImage 45(int) 1D sampled format:Unknown
47: TypePointer UniformConstant 46
48(g_tTex1du4): 47(ptr) Variable UniformConstant
51: TypeImage 45(int) 1D depth sampled format:Unknown
52: TypeSampledImage 51
58: TypeImage 6(float) 2D sampled format:Unknown
59: TypePointer UniformConstant 58
60(g_tTex2df4): 59(ptr) Variable UniformConstant
63: TypeImage 6(float) 2D depth sampled format:Unknown
64: TypeSampledImage 63
66: 6(float) Constant 1045220557
67: 27(fvec2) ConstantComposite 25 66
68: TypeVector 6(float) 3
75: TypeImage 32(int) 2D sampled format:Unknown
76: TypePointer UniformConstant 75
77(g_tTex2di4): 76(ptr) Variable UniformConstant
80: TypeImage 32(int) 2D depth sampled format:Unknown
81: TypeSampledImage 80
89: TypeImage 45(int) 2D sampled format:Unknown
90: TypePointer UniformConstant 89
91(g_tTex2du4): 90(ptr) Variable UniformConstant
94: TypeImage 45(int) 2D depth sampled format:Unknown
95: TypeSampledImage 94
103: TypeImage 6(float) Cube sampled format:Unknown
104: TypePointer UniformConstant 103
105(g_tTexcdf4): 104(ptr) Variable UniformConstant
108: TypeImage 6(float) Cube depth sampled format:Unknown
109: TypeSampledImage 108
111: 6(float) Constant 1050253722
112: 68(fvec3) ConstantComposite 25 66 111
120: TypeImage 32(int) Cube sampled format:Unknown
121: TypePointer UniformConstant 120
122(g_tTexcdi4): 121(ptr) Variable UniformConstant
125: TypeImage 32(int) Cube depth sampled format:Unknown
126: TypeSampledImage 125
135: TypeImage 45(int) Cube sampled format:Unknown
136: TypePointer UniformConstant 135
137(g_tTexcdu4): 136(ptr) Variable UniformConstant
140: TypeImage 45(int) Cube depth sampled format:Unknown
141: TypeSampledImage 140
149: TypePointer Function 8(PS_OUTPUT)
151: 32(int) Constant 0
152: 6(float) Constant 1065353216
153: 7(fvec4) ConstantComposite 152 152 152 152
154: TypePointer Function 7(fvec4)
156: 32(int) Constant 1
163: TypePointer Output 7(fvec4)
164(Color): 163(ptr) Variable Output
167: TypePointer Output 6(float)
168(Depth): 167(ptr) Variable Output
171: TypeImage 6(float) 3D sampled format:Unknown
172: TypePointer UniformConstant 171
173(g_tTex3df4): 172(ptr) Variable UniformConstant
174: TypeImage 32(int) 3D sampled format:Unknown
175: TypePointer UniformConstant 174
176(g_tTex3di4): 175(ptr) Variable UniformConstant
177: TypeImage 45(int) 3D sampled format:Unknown
178: TypePointer UniformConstant 177
179(g_tTex3du4): 178(ptr) Variable UniformConstant
180: TypeImage 6(float) 1D array sampled format:Unknown
181: TypePointer UniformConstant 180
182(g_tTex1df4a): 181(ptr) Variable UniformConstant
183: TypeImage 32(int) 1D array sampled format:Unknown
184: TypePointer UniformConstant 183
185(g_tTex1di4a): 184(ptr) Variable UniformConstant
186: TypeImage 45(int) 1D array sampled format:Unknown
187: TypePointer UniformConstant 186
188(g_tTex1du4a): 187(ptr) Variable UniformConstant
189: TypeImage 6(float) 2D array sampled format:Unknown
190: TypePointer UniformConstant 189
191(g_tTex2df4a): 190(ptr) Variable UniformConstant
192: TypeImage 32(int) 2D array sampled format:Unknown
193: TypePointer UniformConstant 192
194(g_tTex2di4a): 193(ptr) Variable UniformConstant
195: TypeImage 45(int) 2D array sampled format:Unknown
196: TypePointer UniformConstant 195
197(g_tTex2du4a): 196(ptr) Variable UniformConstant
198: TypeImage 6(float) Cube array sampled format:Unknown
199: TypePointer UniformConstant 198
200(g_tTexcdf4a): 199(ptr) Variable UniformConstant
201: TypeImage 32(int) Cube array sampled format:Unknown
202: TypePointer UniformConstant 201
203(g_tTexcdi4a): 202(ptr) Variable UniformConstant
204: TypeImage 45(int) Cube array sampled format:Unknown
205: TypePointer UniformConstant 204
206(g_tTexcdu4a): 205(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
161(flattenTemp): 149(ptr) Variable Function
162:8(PS_OUTPUT) FunctionCall 10(@main()
Store 161(flattenTemp) 162
165: 154(ptr) AccessChain 161(flattenTemp) 151
166: 7(fvec4) Load 165
Store 164(Color) 166
169: 12(ptr) AccessChain 161(flattenTemp) 156
170: 6(float) Load 169
Store 168(Depth) 170
Return
FunctionEnd
10(@main():8(PS_OUTPUT) Function None 9
11: Label
13(r00): 12(ptr) Variable Function
31(r02): 12(ptr) Variable Function
44(r04): 12(ptr) Variable Function
57(r20): 12(ptr) Variable Function
74(r22): 12(ptr) Variable Function
88(r24): 12(ptr) Variable Function
102(r50): 12(ptr) Variable Function
119(r52): 12(ptr) Variable Function
134(r54): 12(ptr) Variable Function
150(psout): 149(ptr) Variable Function
17: 14 Load 16(g_tTex1df4)
21: 18 Load 20(g_sSamp)
24: 23 SampledImage 17 21
28: 27(fvec2) CompositeConstruct 25 26
29: 6(float) CompositeExtract 28 1
30: 6(float) ImageSampleDrefImplicitLod 24 28 29
Store 13(r00) 30
36: 33 Load 35(g_tTex1di4)
37: 18 Load 20(g_sSamp)
40: 39 SampledImage 36 37
41: 27(fvec2) CompositeConstruct 25 26
42: 6(float) CompositeExtract 41 1
43: 6(float) ImageSampleDrefImplicitLod 40 41 42
Store 31(r02) 43
49: 46 Load 48(g_tTex1du4)
50: 18 Load 20(g_sSamp)
53: 52 SampledImage 49 50
54: 27(fvec2) CompositeConstruct 25 26
55: 6(float) CompositeExtract 54 1
56: 6(float) ImageSampleDrefImplicitLod 53 54 55
Store 44(r04) 56
61: 58 Load 60(g_tTex2df4)
62: 18 Load 20(g_sSamp)
65: 64 SampledImage 61 62
69: 6(float) CompositeExtract 67 0
70: 6(float) CompositeExtract 67 1
71: 68(fvec3) CompositeConstruct 69 70 26
72: 6(float) CompositeExtract 71 2
73: 6(float) ImageSampleDrefImplicitLod 65 71 72
Store 57(r20) 73
78: 75 Load 77(g_tTex2di4)
79: 18 Load 20(g_sSamp)
82: 81 SampledImage 78 79
83: 6(float) CompositeExtract 67 0
84: 6(float) CompositeExtract 67 1
85: 68(fvec3) CompositeConstruct 83 84 26
86: 6(float) CompositeExtract 85 2
87: 6(float) ImageSampleDrefImplicitLod 82 85 86
Store 74(r22) 87
92: 89 Load 91(g_tTex2du4)
93: 18 Load 20(g_sSamp)
96: 95 SampledImage 92 93
97: 6(float) CompositeExtract 67 0
98: 6(float) CompositeExtract 67 1
99: 68(fvec3) CompositeConstruct 97 98 26
100: 6(float) CompositeExtract 99 2
101: 6(float) ImageSampleDrefImplicitLod 96 99 100
Store 88(r24) 101
106: 103 Load 105(g_tTexcdf4)
107: 18 Load 20(g_sSamp)
110: 109 SampledImage 106 107
113: 6(float) CompositeExtract 112 0
114: 6(float) CompositeExtract 112 1
115: 6(float) CompositeExtract 112 2
116: 7(fvec4) CompositeConstruct 113 114 115 26
117: 6(float) CompositeExtract 116 3
118: 6(float) ImageSampleDrefImplicitLod 110 116 117
Store 102(r50) 118
123: 120 Load 122(g_tTexcdi4)
124: 18 Load 20(g_sSamp)
127: 126 SampledImage 123 124
128: 6(float) CompositeExtract 112 0
129: 6(float) CompositeExtract 112 1
130: 6(float) CompositeExtract 112 2
131: 7(fvec4) CompositeConstruct 128 129 130 26
132: 6(float) CompositeExtract 131 3
133: 6(float) ImageSampleDrefImplicitLod 127 131 132
Store 119(r52) 133
138: 135 Load 137(g_tTexcdu4)
139: 18 Load 20(g_sSamp)
142: 141 SampledImage 138 139
143: 6(float) CompositeExtract 112 0
144: 6(float) CompositeExtract 112 1
145: 6(float) CompositeExtract 112 2
146: 7(fvec4) CompositeConstruct 143 144 145 26
147: 6(float) CompositeExtract 146 3
148: 6(float) ImageSampleDrefImplicitLod 142 146 147
Store 134(r54) 148
155: 154(ptr) AccessChain 150(psout) 151
Store 155 153
157: 12(ptr) AccessChain 150(psout) 156
Store 157 152
158:8(PS_OUTPUT) Load 150(psout)
ReturnValue 158
FunctionEnd