HLSL: fix defect in EOpMethodSampleCmp* texture decomposition
HLSL holds the compare value in a separate intrinsic arg, but the AST wants a vector including the cmp val, except in the 4-dim coord case, where it doesn't fit and is in fact a separate AST parameter. This is awkward but necessary, given AST semantics. In the process, a new vector is constructed for the combined result, but this vector was not being given the correct TType, so was causing some downstream troubles. Now it is. A similar defect existed in OpTextureBias, and has also been fixed.
This commit is contained in:
@@ -12,7 +12,7 @@ gl_FragCoord origin is upper left
|
||||
0:42 Construct combined texture-sampler (temp sampler1DArrayShadow)
|
||||
0:42 'g_tTex1df4a' (uniform texture1DArray)
|
||||
0:42 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:42 Construct vec3 (temp float)
|
||||
0:42 Construct vec3 (temp 3-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
@@ -27,7 +27,7 @@ gl_FragCoord origin is upper left
|
||||
0:43 Construct combined texture-sampler (temp isampler1DArrayShadow)
|
||||
0:43 'g_tTex1di4a' (uniform itexture1DArray)
|
||||
0:43 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:43 Construct vec3 (temp float)
|
||||
0:43 Construct vec3 (temp 3-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
@@ -42,7 +42,7 @@ gl_FragCoord origin is upper left
|
||||
0:44 Construct combined texture-sampler (temp usampler1DArrayShadow)
|
||||
0:44 'g_tTex1du4a' (uniform utexture1DArray)
|
||||
0:44 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:44 Construct vec3 (temp float)
|
||||
0:44 Construct vec3 (temp 3-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
@@ -57,7 +57,7 @@ gl_FragCoord origin is upper left
|
||||
0:47 Construct combined texture-sampler (temp sampler2DArrayShadow)
|
||||
0:47 'g_tTex2df4a' (uniform texture2DArray)
|
||||
0:47 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:47 Construct vec4 (temp float)
|
||||
0:47 Construct vec4 (temp 4-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
@@ -73,7 +73,7 @@ gl_FragCoord origin is upper left
|
||||
0:48 Construct combined texture-sampler (temp isampler2DArrayShadow)
|
||||
0:48 'g_tTex2di4a' (uniform itexture2DArray)
|
||||
0:48 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:48 Construct vec4 (temp float)
|
||||
0:48 Construct vec4 (temp 4-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
@@ -89,7 +89,7 @@ gl_FragCoord origin is upper left
|
||||
0:49 Construct combined texture-sampler (temp usampler2DArrayShadow)
|
||||
0:49 'g_tTex2du4a' (uniform utexture2DArray)
|
||||
0:49 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:49 Construct vec4 (temp float)
|
||||
0:49 Construct vec4 (temp 4-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
@@ -105,7 +105,7 @@ gl_FragCoord origin is upper left
|
||||
0:52 Construct combined texture-sampler (temp samplerCubeArrayShadow)
|
||||
0:52 'g_tTexcdf4a' (uniform textureCubeArray)
|
||||
0:52 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:52 Construct vec4 (temp float)
|
||||
0:52 Construct vec4 (temp 4-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
@@ -122,7 +122,7 @@ gl_FragCoord origin is upper left
|
||||
0:53 Construct combined texture-sampler (temp isamplerCubeArrayShadow)
|
||||
0:53 'g_tTexcdi4a' (uniform itextureCubeArray)
|
||||
0:53 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:53 Construct vec4 (temp float)
|
||||
0:53 Construct vec4 (temp 4-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
@@ -139,7 +139,7 @@ gl_FragCoord origin is upper left
|
||||
0:54 Construct combined texture-sampler (temp usamplerCubeArrayShadow)
|
||||
0:54 'g_tTexcdu4a' (uniform utextureCubeArray)
|
||||
0:54 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:54 Construct vec4 (temp float)
|
||||
0:54 Construct vec4 (temp 4-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
@@ -224,7 +224,7 @@ gl_FragCoord origin is upper left
|
||||
0:42 Construct combined texture-sampler (temp sampler1DArrayShadow)
|
||||
0:42 'g_tTex1df4a' (uniform texture1DArray)
|
||||
0:42 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:42 Construct vec3 (temp float)
|
||||
0:42 Construct vec3 (temp 3-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
@@ -239,7 +239,7 @@ gl_FragCoord origin is upper left
|
||||
0:43 Construct combined texture-sampler (temp isampler1DArrayShadow)
|
||||
0:43 'g_tTex1di4a' (uniform itexture1DArray)
|
||||
0:43 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:43 Construct vec3 (temp float)
|
||||
0:43 Construct vec3 (temp 3-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
@@ -254,7 +254,7 @@ gl_FragCoord origin is upper left
|
||||
0:44 Construct combined texture-sampler (temp usampler1DArrayShadow)
|
||||
0:44 'g_tTex1du4a' (uniform utexture1DArray)
|
||||
0:44 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:44 Construct vec3 (temp float)
|
||||
0:44 Construct vec3 (temp 3-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
@@ -269,7 +269,7 @@ gl_FragCoord origin is upper left
|
||||
0:47 Construct combined texture-sampler (temp sampler2DArrayShadow)
|
||||
0:47 'g_tTex2df4a' (uniform texture2DArray)
|
||||
0:47 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:47 Construct vec4 (temp float)
|
||||
0:47 Construct vec4 (temp 4-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
@@ -285,7 +285,7 @@ gl_FragCoord origin is upper left
|
||||
0:48 Construct combined texture-sampler (temp isampler2DArrayShadow)
|
||||
0:48 'g_tTex2di4a' (uniform itexture2DArray)
|
||||
0:48 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:48 Construct vec4 (temp float)
|
||||
0:48 Construct vec4 (temp 4-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
@@ -301,7 +301,7 @@ gl_FragCoord origin is upper left
|
||||
0:49 Construct combined texture-sampler (temp usampler2DArrayShadow)
|
||||
0:49 'g_tTex2du4a' (uniform utexture2DArray)
|
||||
0:49 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:49 Construct vec4 (temp float)
|
||||
0:49 Construct vec4 (temp 4-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
@@ -317,7 +317,7 @@ gl_FragCoord origin is upper left
|
||||
0:52 Construct combined texture-sampler (temp samplerCubeArrayShadow)
|
||||
0:52 'g_tTexcdf4a' (uniform textureCubeArray)
|
||||
0:52 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:52 Construct vec4 (temp float)
|
||||
0:52 Construct vec4 (temp 4-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
@@ -334,7 +334,7 @@ gl_FragCoord origin is upper left
|
||||
0:53 Construct combined texture-sampler (temp isamplerCubeArrayShadow)
|
||||
0:53 'g_tTexcdi4a' (uniform itextureCubeArray)
|
||||
0:53 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:53 Construct vec4 (temp float)
|
||||
0:53 Construct vec4 (temp 4-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
@@ -351,7 +351,7 @@ gl_FragCoord origin is upper left
|
||||
0:54 Construct combined texture-sampler (temp usamplerCubeArrayShadow)
|
||||
0:54 'g_tTexcdu4a' (uniform utextureCubeArray)
|
||||
0:54 'g_sSamp' (layout(binding=0 ) uniform sampler)
|
||||
0:54 Construct vec4 (temp float)
|
||||
0:54 Construct vec4 (temp 4-component vector of float)
|
||||
0:? Constant:
|
||||
0:? 0.100000
|
||||
0:? 0.200000
|
||||
@@ -421,79 +421,79 @@ gl_FragCoord origin is upper left
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 185
|
||||
// Id's are bound by 212
|
||||
|
||||
Capability Shader
|
||||
Capability Sampled1D
|
||||
Capability SampledCubeArray
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 141 145
|
||||
EntryPoint Fragment 4 "main" 168 172
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Name 4 "main"
|
||||
Name 8 "r10"
|
||||
Name 11 "g_tTex1df4a"
|
||||
Name 15 "g_sSamp"
|
||||
Name 29 "r12"
|
||||
Name 33 "g_tTex1di4a"
|
||||
Name 42 "r14"
|
||||
Name 46 "g_tTex1du4a"
|
||||
Name 55 "r30"
|
||||
Name 58 "g_tTex2df4a"
|
||||
Name 70 "r32"
|
||||
Name 73 "g_tTex2di4a"
|
||||
Name 82 "r34"
|
||||
Name 85 "g_tTex2du4a"
|
||||
Name 94 "r60"
|
||||
Name 97 "g_tTexcdf4a"
|
||||
Name 108 "r62"
|
||||
Name 111 "g_tTexcdi4a"
|
||||
Name 119 "r64"
|
||||
Name 122 "g_tTexcdu4a"
|
||||
Name 130 "PS_OUTPUT"
|
||||
MemberName 130(PS_OUTPUT) 0 "Color"
|
||||
MemberName 130(PS_OUTPUT) 1 "Depth"
|
||||
Name 132 "psout"
|
||||
Name 141 "Color"
|
||||
Name 145 "Depth"
|
||||
Name 151 "g_tTex1df4"
|
||||
Name 154 "g_tTex1di4"
|
||||
Name 157 "g_tTex1du4"
|
||||
Name 160 "g_tTex2df4"
|
||||
Name 163 "g_tTex2di4"
|
||||
Name 166 "g_tTex2du4"
|
||||
Name 169 "g_tTex3df4"
|
||||
Name 172 "g_tTex3di4"
|
||||
Name 175 "g_tTex3du4"
|
||||
Name 178 "g_tTexcdf4"
|
||||
Name 181 "g_tTexcdi4"
|
||||
Name 184 "g_tTexcdu4"
|
||||
Name 32 "r12"
|
||||
Name 36 "g_tTex1di4a"
|
||||
Name 47 "r14"
|
||||
Name 51 "g_tTex1du4a"
|
||||
Name 62 "r30"
|
||||
Name 65 "g_tTex2df4a"
|
||||
Name 80 "r32"
|
||||
Name 83 "g_tTex2di4a"
|
||||
Name 95 "r34"
|
||||
Name 98 "g_tTex2du4a"
|
||||
Name 110 "r60"
|
||||
Name 113 "g_tTexcdf4a"
|
||||
Name 127 "r62"
|
||||
Name 130 "g_tTexcdi4a"
|
||||
Name 142 "r64"
|
||||
Name 145 "g_tTexcdu4a"
|
||||
Name 157 "PS_OUTPUT"
|
||||
MemberName 157(PS_OUTPUT) 0 "Color"
|
||||
MemberName 157(PS_OUTPUT) 1 "Depth"
|
||||
Name 159 "psout"
|
||||
Name 168 "Color"
|
||||
Name 172 "Depth"
|
||||
Name 178 "g_tTex1df4"
|
||||
Name 181 "g_tTex1di4"
|
||||
Name 184 "g_tTex1du4"
|
||||
Name 187 "g_tTex2df4"
|
||||
Name 190 "g_tTex2di4"
|
||||
Name 193 "g_tTex2du4"
|
||||
Name 196 "g_tTex3df4"
|
||||
Name 199 "g_tTex3di4"
|
||||
Name 202 "g_tTex3du4"
|
||||
Name 205 "g_tTexcdf4"
|
||||
Name 208 "g_tTexcdi4"
|
||||
Name 211 "g_tTexcdu4"
|
||||
Decorate 11(g_tTex1df4a) DescriptorSet 0
|
||||
Decorate 15(g_sSamp) DescriptorSet 0
|
||||
Decorate 15(g_sSamp) Binding 0
|
||||
Decorate 33(g_tTex1di4a) DescriptorSet 0
|
||||
Decorate 46(g_tTex1du4a) DescriptorSet 0
|
||||
Decorate 58(g_tTex2df4a) DescriptorSet 0
|
||||
Decorate 73(g_tTex2di4a) DescriptorSet 0
|
||||
Decorate 85(g_tTex2du4a) DescriptorSet 0
|
||||
Decorate 97(g_tTexcdf4a) DescriptorSet 0
|
||||
Decorate 111(g_tTexcdi4a) DescriptorSet 0
|
||||
Decorate 122(g_tTexcdu4a) DescriptorSet 0
|
||||
Decorate 141(Color) Location 0
|
||||
Decorate 145(Depth) BuiltIn FragDepth
|
||||
Decorate 151(g_tTex1df4) DescriptorSet 0
|
||||
Decorate 151(g_tTex1df4) Binding 0
|
||||
Decorate 154(g_tTex1di4) DescriptorSet 0
|
||||
Decorate 157(g_tTex1du4) DescriptorSet 0
|
||||
Decorate 160(g_tTex2df4) DescriptorSet 0
|
||||
Decorate 163(g_tTex2di4) DescriptorSet 0
|
||||
Decorate 166(g_tTex2du4) DescriptorSet 0
|
||||
Decorate 169(g_tTex3df4) DescriptorSet 0
|
||||
Decorate 172(g_tTex3di4) DescriptorSet 0
|
||||
Decorate 175(g_tTex3du4) DescriptorSet 0
|
||||
Decorate 178(g_tTexcdf4) DescriptorSet 0
|
||||
Decorate 181(g_tTexcdi4) DescriptorSet 0
|
||||
Decorate 184(g_tTexcdu4) DescriptorSet 0
|
||||
Decorate 36(g_tTex1di4a) DescriptorSet 0
|
||||
Decorate 51(g_tTex1du4a) DescriptorSet 0
|
||||
Decorate 65(g_tTex2df4a) DescriptorSet 0
|
||||
Decorate 83(g_tTex2di4a) DescriptorSet 0
|
||||
Decorate 98(g_tTex2du4a) DescriptorSet 0
|
||||
Decorate 113(g_tTexcdf4a) DescriptorSet 0
|
||||
Decorate 130(g_tTexcdi4a) DescriptorSet 0
|
||||
Decorate 145(g_tTexcdu4a) DescriptorSet 0
|
||||
Decorate 168(Color) Location 0
|
||||
Decorate 172(Depth) BuiltIn FragDepth
|
||||
Decorate 178(g_tTex1df4) DescriptorSet 0
|
||||
Decorate 178(g_tTex1df4) Binding 0
|
||||
Decorate 181(g_tTex1di4) DescriptorSet 0
|
||||
Decorate 184(g_tTex1du4) DescriptorSet 0
|
||||
Decorate 187(g_tTex2df4) DescriptorSet 0
|
||||
Decorate 190(g_tTex2di4) DescriptorSet 0
|
||||
Decorate 193(g_tTex2du4) DescriptorSet 0
|
||||
Decorate 196(g_tTex3df4) DescriptorSet 0
|
||||
Decorate 199(g_tTex3di4) DescriptorSet 0
|
||||
Decorate 202(g_tTex3du4) DescriptorSet 0
|
||||
Decorate 205(g_tTexcdf4) DescriptorSet 0
|
||||
Decorate 208(g_tTexcdi4) DescriptorSet 0
|
||||
Decorate 211(g_tTexcdu4) DescriptorSet 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
@@ -511,183 +511,210 @@ gl_FragCoord origin is upper left
|
||||
22: 6(float) Constant 1045220557
|
||||
23: 20(fvec2) ConstantComposite 21 22
|
||||
24: 6(float) Constant 1061158912
|
||||
26: 6(float) Constant 0
|
||||
30: TypeInt 32 1
|
||||
31: TypeImage 30(int) 1D array sampled format:Unknown
|
||||
32: TypePointer UniformConstant 31
|
||||
33(g_tTex1di4a): 32(ptr) Variable UniformConstant
|
||||
36: TypeImage 30(int) 1D depth array sampled format:Unknown
|
||||
37: TypeSampledImage 36
|
||||
43: TypeInt 32 0
|
||||
44: TypeImage 43(int) 1D array sampled format:Unknown
|
||||
45: TypePointer UniformConstant 44
|
||||
46(g_tTex1du4a): 45(ptr) Variable UniformConstant
|
||||
49: TypeImage 43(int) 1D depth array sampled format:Unknown
|
||||
50: TypeSampledImage 49
|
||||
56: TypeImage 6(float) 2D array sampled format:Unknown
|
||||
57: TypePointer UniformConstant 56
|
||||
58(g_tTex2df4a): 57(ptr) Variable UniformConstant
|
||||
61: TypeImage 6(float) 2D depth array sampled format:Unknown
|
||||
62: TypeSampledImage 61
|
||||
64: TypeVector 6(float) 3
|
||||
65: 6(float) Constant 1050253722
|
||||
66: 64(fvec3) ConstantComposite 21 22 65
|
||||
71: TypeImage 30(int) 2D array sampled format:Unknown
|
||||
72: TypePointer UniformConstant 71
|
||||
73(g_tTex2di4a): 72(ptr) Variable UniformConstant
|
||||
76: TypeImage 30(int) 2D depth array sampled format:Unknown
|
||||
77: TypeSampledImage 76
|
||||
83: TypeImage 43(int) 2D array sampled format:Unknown
|
||||
84: TypePointer UniformConstant 83
|
||||
85(g_tTex2du4a): 84(ptr) Variable UniformConstant
|
||||
88: TypeImage 43(int) 2D depth array sampled format:Unknown
|
||||
89: TypeSampledImage 88
|
||||
95: TypeImage 6(float) Cube array sampled format:Unknown
|
||||
96: TypePointer UniformConstant 95
|
||||
97(g_tTexcdf4a): 96(ptr) Variable UniformConstant
|
||||
100: TypeImage 6(float) Cube depth array sampled format:Unknown
|
||||
101: TypeSampledImage 100
|
||||
103: TypeVector 6(float) 4
|
||||
104: 6(float) Constant 1053609165
|
||||
105: 103(fvec4) ConstantComposite 21 22 65 104
|
||||
109: TypeImage 30(int) Cube array sampled format:Unknown
|
||||
110: TypePointer UniformConstant 109
|
||||
111(g_tTexcdi4a): 110(ptr) Variable UniformConstant
|
||||
114: TypeImage 30(int) Cube depth array sampled format:Unknown
|
||||
115: TypeSampledImage 114
|
||||
120: TypeImage 43(int) Cube array sampled format:Unknown
|
||||
121: TypePointer UniformConstant 120
|
||||
122(g_tTexcdu4a): 121(ptr) Variable UniformConstant
|
||||
125: TypeImage 43(int) Cube depth array sampled format:Unknown
|
||||
126: TypeSampledImage 125
|
||||
130(PS_OUTPUT): TypeStruct 103(fvec4) 6(float)
|
||||
131: TypePointer Function 130(PS_OUTPUT)
|
||||
133: 30(int) Constant 0
|
||||
134: 6(float) Constant 1065353216
|
||||
135: 103(fvec4) ConstantComposite 134 134 134 134
|
||||
136: TypePointer Function 103(fvec4)
|
||||
138: 30(int) Constant 1
|
||||
140: TypePointer Output 103(fvec4)
|
||||
141(Color): 140(ptr) Variable Output
|
||||
144: TypePointer Output 6(float)
|
||||
145(Depth): 144(ptr) Variable Output
|
||||
149: TypeImage 6(float) 1D sampled format:Unknown
|
||||
150: TypePointer UniformConstant 149
|
||||
151(g_tTex1df4): 150(ptr) Variable UniformConstant
|
||||
152: TypeImage 30(int) 1D sampled format:Unknown
|
||||
153: TypePointer UniformConstant 152
|
||||
154(g_tTex1di4): 153(ptr) Variable UniformConstant
|
||||
155: TypeImage 43(int) 1D sampled format:Unknown
|
||||
156: TypePointer UniformConstant 155
|
||||
157(g_tTex1du4): 156(ptr) Variable UniformConstant
|
||||
158: TypeImage 6(float) 2D sampled format:Unknown
|
||||
159: TypePointer UniformConstant 158
|
||||
160(g_tTex2df4): 159(ptr) Variable UniformConstant
|
||||
161: TypeImage 30(int) 2D sampled format:Unknown
|
||||
162: TypePointer UniformConstant 161
|
||||
163(g_tTex2di4): 162(ptr) Variable UniformConstant
|
||||
164: TypeImage 43(int) 2D sampled format:Unknown
|
||||
165: TypePointer UniformConstant 164
|
||||
166(g_tTex2du4): 165(ptr) Variable UniformConstant
|
||||
167: TypeImage 6(float) 3D sampled format:Unknown
|
||||
168: TypePointer UniformConstant 167
|
||||
169(g_tTex3df4): 168(ptr) Variable UniformConstant
|
||||
170: TypeImage 30(int) 3D sampled format:Unknown
|
||||
171: TypePointer UniformConstant 170
|
||||
172(g_tTex3di4): 171(ptr) Variable UniformConstant
|
||||
173: TypeImage 43(int) 3D sampled format:Unknown
|
||||
174: TypePointer UniformConstant 173
|
||||
175(g_tTex3du4): 174(ptr) Variable UniformConstant
|
||||
176: TypeImage 6(float) Cube sampled format:Unknown
|
||||
25: TypeVector 6(float) 3
|
||||
29: 6(float) Constant 0
|
||||
33: TypeInt 32 1
|
||||
34: TypeImage 33(int) 1D array sampled format:Unknown
|
||||
35: TypePointer UniformConstant 34
|
||||
36(g_tTex1di4a): 35(ptr) Variable UniformConstant
|
||||
39: TypeImage 33(int) 1D depth array sampled format:Unknown
|
||||
40: TypeSampledImage 39
|
||||
48: TypeInt 32 0
|
||||
49: TypeImage 48(int) 1D array sampled format:Unknown
|
||||
50: TypePointer UniformConstant 49
|
||||
51(g_tTex1du4a): 50(ptr) Variable UniformConstant
|
||||
54: TypeImage 48(int) 1D depth array sampled format:Unknown
|
||||
55: TypeSampledImage 54
|
||||
63: TypeImage 6(float) 2D array sampled format:Unknown
|
||||
64: TypePointer UniformConstant 63
|
||||
65(g_tTex2df4a): 64(ptr) Variable UniformConstant
|
||||
68: TypeImage 6(float) 2D depth array sampled format:Unknown
|
||||
69: TypeSampledImage 68
|
||||
71: 6(float) Constant 1050253722
|
||||
72: 25(fvec3) ConstantComposite 21 22 71
|
||||
73: TypeVector 6(float) 4
|
||||
81: TypeImage 33(int) 2D array sampled format:Unknown
|
||||
82: TypePointer UniformConstant 81
|
||||
83(g_tTex2di4a): 82(ptr) Variable UniformConstant
|
||||
86: TypeImage 33(int) 2D depth array sampled format:Unknown
|
||||
87: TypeSampledImage 86
|
||||
96: TypeImage 48(int) 2D array sampled format:Unknown
|
||||
97: TypePointer UniformConstant 96
|
||||
98(g_tTex2du4a): 97(ptr) Variable UniformConstant
|
||||
101: TypeImage 48(int) 2D depth array sampled format:Unknown
|
||||
102: TypeSampledImage 101
|
||||
111: TypeImage 6(float) Cube array sampled format:Unknown
|
||||
112: TypePointer UniformConstant 111
|
||||
113(g_tTexcdf4a): 112(ptr) Variable UniformConstant
|
||||
116: TypeImage 6(float) Cube depth array sampled format:Unknown
|
||||
117: TypeSampledImage 116
|
||||
119: 6(float) Constant 1053609165
|
||||
120: 73(fvec4) ConstantComposite 21 22 71 119
|
||||
128: TypeImage 33(int) Cube array sampled format:Unknown
|
||||
129: TypePointer UniformConstant 128
|
||||
130(g_tTexcdi4a): 129(ptr) Variable UniformConstant
|
||||
133: TypeImage 33(int) Cube depth array sampled format:Unknown
|
||||
134: TypeSampledImage 133
|
||||
143: TypeImage 48(int) Cube array sampled format:Unknown
|
||||
144: TypePointer UniformConstant 143
|
||||
145(g_tTexcdu4a): 144(ptr) Variable UniformConstant
|
||||
148: TypeImage 48(int) Cube depth array sampled format:Unknown
|
||||
149: TypeSampledImage 148
|
||||
157(PS_OUTPUT): TypeStruct 73(fvec4) 6(float)
|
||||
158: TypePointer Function 157(PS_OUTPUT)
|
||||
160: 33(int) Constant 0
|
||||
161: 6(float) Constant 1065353216
|
||||
162: 73(fvec4) ConstantComposite 161 161 161 161
|
||||
163: TypePointer Function 73(fvec4)
|
||||
165: 33(int) Constant 1
|
||||
167: TypePointer Output 73(fvec4)
|
||||
168(Color): 167(ptr) Variable Output
|
||||
171: TypePointer Output 6(float)
|
||||
172(Depth): 171(ptr) Variable Output
|
||||
176: TypeImage 6(float) 1D sampled format:Unknown
|
||||
177: TypePointer UniformConstant 176
|
||||
178(g_tTexcdf4): 177(ptr) Variable UniformConstant
|
||||
179: TypeImage 30(int) Cube sampled format:Unknown
|
||||
178(g_tTex1df4): 177(ptr) Variable UniformConstant
|
||||
179: TypeImage 33(int) 1D sampled format:Unknown
|
||||
180: TypePointer UniformConstant 179
|
||||
181(g_tTexcdi4): 180(ptr) Variable UniformConstant
|
||||
182: TypeImage 43(int) Cube sampled format:Unknown
|
||||
181(g_tTex1di4): 180(ptr) Variable UniformConstant
|
||||
182: TypeImage 48(int) 1D sampled format:Unknown
|
||||
183: TypePointer UniformConstant 182
|
||||
184(g_tTexcdu4): 183(ptr) Variable UniformConstant
|
||||
184(g_tTex1du4): 183(ptr) Variable UniformConstant
|
||||
185: TypeImage 6(float) 2D sampled format:Unknown
|
||||
186: TypePointer UniformConstant 185
|
||||
187(g_tTex2df4): 186(ptr) Variable UniformConstant
|
||||
188: TypeImage 33(int) 2D sampled format:Unknown
|
||||
189: TypePointer UniformConstant 188
|
||||
190(g_tTex2di4): 189(ptr) Variable UniformConstant
|
||||
191: TypeImage 48(int) 2D sampled format:Unknown
|
||||
192: TypePointer UniformConstant 191
|
||||
193(g_tTex2du4): 192(ptr) Variable UniformConstant
|
||||
194: TypeImage 6(float) 3D sampled format:Unknown
|
||||
195: TypePointer UniformConstant 194
|
||||
196(g_tTex3df4): 195(ptr) Variable UniformConstant
|
||||
197: TypeImage 33(int) 3D sampled format:Unknown
|
||||
198: TypePointer UniformConstant 197
|
||||
199(g_tTex3di4): 198(ptr) Variable UniformConstant
|
||||
200: TypeImage 48(int) 3D sampled format:Unknown
|
||||
201: TypePointer UniformConstant 200
|
||||
202(g_tTex3du4): 201(ptr) Variable UniformConstant
|
||||
203: TypeImage 6(float) Cube sampled format:Unknown
|
||||
204: TypePointer UniformConstant 203
|
||||
205(g_tTexcdf4): 204(ptr) Variable UniformConstant
|
||||
206: TypeImage 33(int) Cube sampled format:Unknown
|
||||
207: TypePointer UniformConstant 206
|
||||
208(g_tTexcdi4): 207(ptr) Variable UniformConstant
|
||||
209: TypeImage 48(int) Cube sampled format:Unknown
|
||||
210: TypePointer UniformConstant 209
|
||||
211(g_tTexcdu4): 210(ptr) Variable UniformConstant
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
8(r10): 7(ptr) Variable Function
|
||||
29(r12): 7(ptr) Variable Function
|
||||
42(r14): 7(ptr) Variable Function
|
||||
55(r30): 7(ptr) Variable Function
|
||||
70(r32): 7(ptr) Variable Function
|
||||
82(r34): 7(ptr) Variable Function
|
||||
94(r60): 7(ptr) Variable Function
|
||||
108(r62): 7(ptr) Variable Function
|
||||
119(r64): 7(ptr) Variable Function
|
||||
132(psout): 131(ptr) Variable Function
|
||||
32(r12): 7(ptr) Variable Function
|
||||
47(r14): 7(ptr) Variable Function
|
||||
62(r30): 7(ptr) Variable Function
|
||||
80(r32): 7(ptr) Variable Function
|
||||
95(r34): 7(ptr) Variable Function
|
||||
110(r60): 7(ptr) Variable Function
|
||||
127(r62): 7(ptr) Variable Function
|
||||
142(r64): 7(ptr) Variable Function
|
||||
159(psout): 158(ptr) Variable Function
|
||||
12: 9 Load 11(g_tTex1df4a)
|
||||
16: 13 Load 15(g_sSamp)
|
||||
19: 18 SampledImage 12 16
|
||||
25: 6(float) CompositeExtract 23 0
|
||||
27: 6(float) CompositeExtract 25 0
|
||||
28: 6(float) ImageSampleDrefExplicitLod 19 25 27 Lod 26
|
||||
Store 8(r10) 28
|
||||
34: 31 Load 33(g_tTex1di4a)
|
||||
35: 13 Load 15(g_sSamp)
|
||||
38: 37 SampledImage 34 35
|
||||
39: 6(float) CompositeExtract 23 0
|
||||
40: 6(float) CompositeExtract 39 0
|
||||
41: 6(float) ImageSampleDrefExplicitLod 38 39 40 Lod 26
|
||||
Store 29(r12) 41
|
||||
47: 44 Load 46(g_tTex1du4a)
|
||||
48: 13 Load 15(g_sSamp)
|
||||
51: 50 SampledImage 47 48
|
||||
52: 6(float) CompositeExtract 23 0
|
||||
53: 6(float) CompositeExtract 52 0
|
||||
54: 6(float) ImageSampleDrefExplicitLod 51 52 53 Lod 26
|
||||
Store 42(r14) 54
|
||||
59: 56 Load 58(g_tTex2df4a)
|
||||
60: 13 Load 15(g_sSamp)
|
||||
63: 62 SampledImage 59 60
|
||||
67: 6(float) CompositeExtract 66 0
|
||||
68: 6(float) CompositeExtract 67 0
|
||||
69: 6(float) ImageSampleDrefExplicitLod 63 67 68 Lod 26
|
||||
Store 55(r30) 69
|
||||
74: 71 Load 73(g_tTex2di4a)
|
||||
75: 13 Load 15(g_sSamp)
|
||||
78: 77 SampledImage 74 75
|
||||
79: 6(float) CompositeExtract 66 0
|
||||
80: 6(float) CompositeExtract 79 0
|
||||
81: 6(float) ImageSampleDrefExplicitLod 78 79 80 Lod 26
|
||||
Store 70(r32) 81
|
||||
86: 83 Load 85(g_tTex2du4a)
|
||||
87: 13 Load 15(g_sSamp)
|
||||
90: 89 SampledImage 86 87
|
||||
91: 6(float) CompositeExtract 66 0
|
||||
92: 6(float) CompositeExtract 91 0
|
||||
93: 6(float) ImageSampleDrefExplicitLod 90 91 92 Lod 26
|
||||
Store 82(r34) 93
|
||||
98: 95 Load 97(g_tTexcdf4a)
|
||||
99: 13 Load 15(g_sSamp)
|
||||
102: 101 SampledImage 98 99
|
||||
106: 6(float) CompositeExtract 105 0
|
||||
107: 6(float) ImageSampleDrefExplicitLod 102 106 24 Lod 24
|
||||
Store 94(r60) 107
|
||||
112: 109 Load 111(g_tTexcdi4a)
|
||||
113: 13 Load 15(g_sSamp)
|
||||
116: 115 SampledImage 112 113
|
||||
117: 6(float) CompositeExtract 105 0
|
||||
118: 6(float) ImageSampleDrefExplicitLod 116 117 24 Lod 24
|
||||
Store 108(r62) 118
|
||||
123: 120 Load 122(g_tTexcdu4a)
|
||||
124: 13 Load 15(g_sSamp)
|
||||
127: 126 SampledImage 123 124
|
||||
128: 6(float) CompositeExtract 105 0
|
||||
129: 6(float) ImageSampleDrefExplicitLod 127 128 24 Lod 24
|
||||
Store 119(r64) 129
|
||||
137: 136(ptr) AccessChain 132(psout) 133
|
||||
Store 137 135
|
||||
139: 7(ptr) AccessChain 132(psout) 138
|
||||
Store 139 134
|
||||
142: 136(ptr) AccessChain 132(psout) 133
|
||||
143: 103(fvec4) Load 142
|
||||
Store 141(Color) 143
|
||||
146: 7(ptr) AccessChain 132(psout) 138
|
||||
147: 6(float) Load 146
|
||||
Store 145(Depth) 147
|
||||
26: 6(float) CompositeExtract 23 0
|
||||
27: 6(float) CompositeExtract 23 1
|
||||
28: 25(fvec3) CompositeConstruct 26 27 24
|
||||
30: 6(float) CompositeExtract 28 2
|
||||
31: 6(float) ImageSampleDrefExplicitLod 19 28 30 Lod 29
|
||||
Store 8(r10) 31
|
||||
37: 34 Load 36(g_tTex1di4a)
|
||||
38: 13 Load 15(g_sSamp)
|
||||
41: 40 SampledImage 37 38
|
||||
42: 6(float) CompositeExtract 23 0
|
||||
43: 6(float) CompositeExtract 23 1
|
||||
44: 25(fvec3) CompositeConstruct 42 43 24
|
||||
45: 6(float) CompositeExtract 44 2
|
||||
46: 6(float) ImageSampleDrefExplicitLod 41 44 45 Lod 29
|
||||
Store 32(r12) 46
|
||||
52: 49 Load 51(g_tTex1du4a)
|
||||
53: 13 Load 15(g_sSamp)
|
||||
56: 55 SampledImage 52 53
|
||||
57: 6(float) CompositeExtract 23 0
|
||||
58: 6(float) CompositeExtract 23 1
|
||||
59: 25(fvec3) CompositeConstruct 57 58 24
|
||||
60: 6(float) CompositeExtract 59 2
|
||||
61: 6(float) ImageSampleDrefExplicitLod 56 59 60 Lod 29
|
||||
Store 47(r14) 61
|
||||
66: 63 Load 65(g_tTex2df4a)
|
||||
67: 13 Load 15(g_sSamp)
|
||||
70: 69 SampledImage 66 67
|
||||
74: 6(float) CompositeExtract 72 0
|
||||
75: 6(float) CompositeExtract 72 1
|
||||
76: 6(float) CompositeExtract 72 2
|
||||
77: 73(fvec4) CompositeConstruct 74 75 76 24
|
||||
78: 6(float) CompositeExtract 77 3
|
||||
79: 6(float) ImageSampleDrefExplicitLod 70 77 78 Lod 29
|
||||
Store 62(r30) 79
|
||||
84: 81 Load 83(g_tTex2di4a)
|
||||
85: 13 Load 15(g_sSamp)
|
||||
88: 87 SampledImage 84 85
|
||||
89: 6(float) CompositeExtract 72 0
|
||||
90: 6(float) CompositeExtract 72 1
|
||||
91: 6(float) CompositeExtract 72 2
|
||||
92: 73(fvec4) CompositeConstruct 89 90 91 24
|
||||
93: 6(float) CompositeExtract 92 3
|
||||
94: 6(float) ImageSampleDrefExplicitLod 88 92 93 Lod 29
|
||||
Store 80(r32) 94
|
||||
99: 96 Load 98(g_tTex2du4a)
|
||||
100: 13 Load 15(g_sSamp)
|
||||
103: 102 SampledImage 99 100
|
||||
104: 6(float) CompositeExtract 72 0
|
||||
105: 6(float) CompositeExtract 72 1
|
||||
106: 6(float) CompositeExtract 72 2
|
||||
107: 73(fvec4) CompositeConstruct 104 105 106 24
|
||||
108: 6(float) CompositeExtract 107 3
|
||||
109: 6(float) ImageSampleDrefExplicitLod 103 107 108 Lod 29
|
||||
Store 95(r34) 109
|
||||
114: 111 Load 113(g_tTexcdf4a)
|
||||
115: 13 Load 15(g_sSamp)
|
||||
118: 117 SampledImage 114 115
|
||||
121: 6(float) CompositeExtract 120 0
|
||||
122: 6(float) CompositeExtract 120 1
|
||||
123: 6(float) CompositeExtract 120 2
|
||||
124: 6(float) CompositeExtract 120 3
|
||||
125: 73(fvec4) CompositeConstruct 121 122 123 124
|
||||
126: 6(float) ImageSampleDrefExplicitLod 118 125 24 Lod 24
|
||||
Store 110(r60) 126
|
||||
131: 128 Load 130(g_tTexcdi4a)
|
||||
132: 13 Load 15(g_sSamp)
|
||||
135: 134 SampledImage 131 132
|
||||
136: 6(float) CompositeExtract 120 0
|
||||
137: 6(float) CompositeExtract 120 1
|
||||
138: 6(float) CompositeExtract 120 2
|
||||
139: 6(float) CompositeExtract 120 3
|
||||
140: 73(fvec4) CompositeConstruct 136 137 138 139
|
||||
141: 6(float) ImageSampleDrefExplicitLod 135 140 24 Lod 24
|
||||
Store 127(r62) 141
|
||||
146: 143 Load 145(g_tTexcdu4a)
|
||||
147: 13 Load 15(g_sSamp)
|
||||
150: 149 SampledImage 146 147
|
||||
151: 6(float) CompositeExtract 120 0
|
||||
152: 6(float) CompositeExtract 120 1
|
||||
153: 6(float) CompositeExtract 120 2
|
||||
154: 6(float) CompositeExtract 120 3
|
||||
155: 73(fvec4) CompositeConstruct 151 152 153 154
|
||||
156: 6(float) ImageSampleDrefExplicitLod 150 155 24 Lod 24
|
||||
Store 142(r64) 156
|
||||
164: 163(ptr) AccessChain 159(psout) 160
|
||||
Store 164 162
|
||||
166: 7(ptr) AccessChain 159(psout) 165
|
||||
Store 166 161
|
||||
169: 163(ptr) AccessChain 159(psout) 160
|
||||
170: 73(fvec4) Load 169
|
||||
Store 168(Color) 170
|
||||
173: 7(ptr) AccessChain 159(psout) 165
|
||||
174: 6(float) Load 173
|
||||
Store 172(Depth) 174
|
||||
Return
|
||||
FunctionEnd
|
||||
|
||||
Reference in New Issue
Block a user