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
|
||||
@@ -25,7 +25,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
|
||||
@@ -38,7 +38,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
|
||||
@@ -51,7 +51,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
|
||||
@@ -65,7 +65,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
|
||||
@@ -79,7 +79,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
|
||||
@@ -93,7 +93,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
|
||||
@@ -108,7 +108,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
|
||||
@@ -123,7 +123,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
|
||||
@@ -206,7 +206,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
|
||||
@@ -219,7 +219,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
|
||||
@@ -232,7 +232,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
|
||||
@@ -245,7 +245,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
|
||||
@@ -259,7 +259,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
|
||||
@@ -273,7 +273,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
|
||||
@@ -287,7 +287,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
|
||||
@@ -302,7 +302,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
|
||||
@@ -317,7 +317,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
|
||||
@@ -385,79 +385,79 @@ gl_FragCoord origin is upper left
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
// Id's are bound by 184
|
||||
// Id's are bound by 211
|
||||
|
||||
Capability Shader
|
||||
Capability Sampled1D
|
||||
Capability SampledCubeArray
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 140 144
|
||||
EntryPoint Fragment 4 "main" 167 171
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Name 4 "main"
|
||||
Name 8 "r10"
|
||||
Name 11 "g_tTex1df4a"
|
||||
Name 15 "g_sSamp"
|
||||
Name 28 "r12"
|
||||
Name 32 "g_tTex1di4a"
|
||||
Name 41 "r14"
|
||||
Name 45 "g_tTex1du4a"
|
||||
Name 54 "r30"
|
||||
Name 57 "g_tTex2df4a"
|
||||
Name 69 "r32"
|
||||
Name 72 "g_tTex2di4a"
|
||||
Name 81 "r34"
|
||||
Name 84 "g_tTex2du4a"
|
||||
Name 93 "r60"
|
||||
Name 96 "g_tTexcdf4a"
|
||||
Name 107 "r62"
|
||||
Name 110 "g_tTexcdi4a"
|
||||
Name 118 "r64"
|
||||
Name 121 "g_tTexcdu4a"
|
||||
Name 129 "PS_OUTPUT"
|
||||
MemberName 129(PS_OUTPUT) 0 "Color"
|
||||
MemberName 129(PS_OUTPUT) 1 "Depth"
|
||||
Name 131 "psout"
|
||||
Name 140 "Color"
|
||||
Name 144 "Depth"
|
||||
Name 150 "g_tTex1df4"
|
||||
Name 153 "g_tTex1di4"
|
||||
Name 156 "g_tTex1du4"
|
||||
Name 159 "g_tTex2df4"
|
||||
Name 162 "g_tTex2di4"
|
||||
Name 165 "g_tTex2du4"
|
||||
Name 168 "g_tTex3df4"
|
||||
Name 171 "g_tTex3di4"
|
||||
Name 174 "g_tTex3du4"
|
||||
Name 177 "g_tTexcdf4"
|
||||
Name 180 "g_tTexcdi4"
|
||||
Name 183 "g_tTexcdu4"
|
||||
Name 31 "r12"
|
||||
Name 35 "g_tTex1di4a"
|
||||
Name 46 "r14"
|
||||
Name 50 "g_tTex1du4a"
|
||||
Name 61 "r30"
|
||||
Name 64 "g_tTex2df4a"
|
||||
Name 79 "r32"
|
||||
Name 82 "g_tTex2di4a"
|
||||
Name 94 "r34"
|
||||
Name 97 "g_tTex2du4a"
|
||||
Name 109 "r60"
|
||||
Name 112 "g_tTexcdf4a"
|
||||
Name 126 "r62"
|
||||
Name 129 "g_tTexcdi4a"
|
||||
Name 141 "r64"
|
||||
Name 144 "g_tTexcdu4a"
|
||||
Name 156 "PS_OUTPUT"
|
||||
MemberName 156(PS_OUTPUT) 0 "Color"
|
||||
MemberName 156(PS_OUTPUT) 1 "Depth"
|
||||
Name 158 "psout"
|
||||
Name 167 "Color"
|
||||
Name 171 "Depth"
|
||||
Name 177 "g_tTex1df4"
|
||||
Name 180 "g_tTex1di4"
|
||||
Name 183 "g_tTex1du4"
|
||||
Name 186 "g_tTex2df4"
|
||||
Name 189 "g_tTex2di4"
|
||||
Name 192 "g_tTex2du4"
|
||||
Name 195 "g_tTex3df4"
|
||||
Name 198 "g_tTex3di4"
|
||||
Name 201 "g_tTex3du4"
|
||||
Name 204 "g_tTexcdf4"
|
||||
Name 207 "g_tTexcdi4"
|
||||
Name 210 "g_tTexcdu4"
|
||||
Decorate 11(g_tTex1df4a) DescriptorSet 0
|
||||
Decorate 15(g_sSamp) DescriptorSet 0
|
||||
Decorate 15(g_sSamp) Binding 0
|
||||
Decorate 32(g_tTex1di4a) DescriptorSet 0
|
||||
Decorate 45(g_tTex1du4a) DescriptorSet 0
|
||||
Decorate 57(g_tTex2df4a) DescriptorSet 0
|
||||
Decorate 72(g_tTex2di4a) DescriptorSet 0
|
||||
Decorate 84(g_tTex2du4a) DescriptorSet 0
|
||||
Decorate 96(g_tTexcdf4a) DescriptorSet 0
|
||||
Decorate 110(g_tTexcdi4a) DescriptorSet 0
|
||||
Decorate 121(g_tTexcdu4a) DescriptorSet 0
|
||||
Decorate 140(Color) Location 0
|
||||
Decorate 144(Depth) BuiltIn FragDepth
|
||||
Decorate 150(g_tTex1df4) DescriptorSet 0
|
||||
Decorate 150(g_tTex1df4) Binding 0
|
||||
Decorate 153(g_tTex1di4) DescriptorSet 0
|
||||
Decorate 156(g_tTex1du4) DescriptorSet 0
|
||||
Decorate 159(g_tTex2df4) DescriptorSet 0
|
||||
Decorate 162(g_tTex2di4) DescriptorSet 0
|
||||
Decorate 165(g_tTex2du4) DescriptorSet 0
|
||||
Decorate 168(g_tTex3df4) DescriptorSet 0
|
||||
Decorate 171(g_tTex3di4) DescriptorSet 0
|
||||
Decorate 174(g_tTex3du4) DescriptorSet 0
|
||||
Decorate 177(g_tTexcdf4) DescriptorSet 0
|
||||
Decorate 180(g_tTexcdi4) DescriptorSet 0
|
||||
Decorate 183(g_tTexcdu4) DescriptorSet 0
|
||||
Decorate 35(g_tTex1di4a) DescriptorSet 0
|
||||
Decorate 50(g_tTex1du4a) DescriptorSet 0
|
||||
Decorate 64(g_tTex2df4a) DescriptorSet 0
|
||||
Decorate 82(g_tTex2di4a) DescriptorSet 0
|
||||
Decorate 97(g_tTex2du4a) DescriptorSet 0
|
||||
Decorate 112(g_tTexcdf4a) DescriptorSet 0
|
||||
Decorate 129(g_tTexcdi4a) DescriptorSet 0
|
||||
Decorate 144(g_tTexcdu4a) DescriptorSet 0
|
||||
Decorate 167(Color) Location 0
|
||||
Decorate 171(Depth) BuiltIn FragDepth
|
||||
Decorate 177(g_tTex1df4) DescriptorSet 0
|
||||
Decorate 177(g_tTex1df4) Binding 0
|
||||
Decorate 180(g_tTex1di4) DescriptorSet 0
|
||||
Decorate 183(g_tTex1du4) DescriptorSet 0
|
||||
Decorate 186(g_tTex2df4) DescriptorSet 0
|
||||
Decorate 189(g_tTex2di4) DescriptorSet 0
|
||||
Decorate 192(g_tTex2du4) DescriptorSet 0
|
||||
Decorate 195(g_tTex3df4) DescriptorSet 0
|
||||
Decorate 198(g_tTex3di4) DescriptorSet 0
|
||||
Decorate 201(g_tTex3du4) DescriptorSet 0
|
||||
Decorate 204(g_tTexcdf4) DescriptorSet 0
|
||||
Decorate 207(g_tTexcdi4) DescriptorSet 0
|
||||
Decorate 210(g_tTexcdu4) DescriptorSet 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
@@ -475,182 +475,209 @@ gl_FragCoord origin is upper left
|
||||
22: 6(float) Constant 1045220557
|
||||
23: 20(fvec2) ConstantComposite 21 22
|
||||
24: 6(float) Constant 1061158912
|
||||
29: TypeInt 32 1
|
||||
30: TypeImage 29(int) 1D array sampled format:Unknown
|
||||
31: TypePointer UniformConstant 30
|
||||
32(g_tTex1di4a): 31(ptr) Variable UniformConstant
|
||||
35: TypeImage 29(int) 1D depth array sampled format:Unknown
|
||||
36: TypeSampledImage 35
|
||||
42: TypeInt 32 0
|
||||
43: TypeImage 42(int) 1D array sampled format:Unknown
|
||||
44: TypePointer UniformConstant 43
|
||||
45(g_tTex1du4a): 44(ptr) Variable UniformConstant
|
||||
48: TypeImage 42(int) 1D depth array sampled format:Unknown
|
||||
49: TypeSampledImage 48
|
||||
55: TypeImage 6(float) 2D array sampled format:Unknown
|
||||
56: TypePointer UniformConstant 55
|
||||
57(g_tTex2df4a): 56(ptr) Variable UniformConstant
|
||||
60: TypeImage 6(float) 2D depth array sampled format:Unknown
|
||||
61: TypeSampledImage 60
|
||||
63: TypeVector 6(float) 3
|
||||
64: 6(float) Constant 1050253722
|
||||
65: 63(fvec3) ConstantComposite 21 22 64
|
||||
70: TypeImage 29(int) 2D array sampled format:Unknown
|
||||
71: TypePointer UniformConstant 70
|
||||
72(g_tTex2di4a): 71(ptr) Variable UniformConstant
|
||||
75: TypeImage 29(int) 2D depth array sampled format:Unknown
|
||||
76: TypeSampledImage 75
|
||||
82: TypeImage 42(int) 2D array sampled format:Unknown
|
||||
83: TypePointer UniformConstant 82
|
||||
84(g_tTex2du4a): 83(ptr) Variable UniformConstant
|
||||
87: TypeImage 42(int) 2D depth array sampled format:Unknown
|
||||
88: TypeSampledImage 87
|
||||
94: TypeImage 6(float) Cube array sampled format:Unknown
|
||||
95: TypePointer UniformConstant 94
|
||||
96(g_tTexcdf4a): 95(ptr) Variable UniformConstant
|
||||
99: TypeImage 6(float) Cube depth array sampled format:Unknown
|
||||
100: TypeSampledImage 99
|
||||
102: TypeVector 6(float) 4
|
||||
103: 6(float) Constant 1053609165
|
||||
104: 102(fvec4) ConstantComposite 21 22 64 103
|
||||
108: TypeImage 29(int) Cube array sampled format:Unknown
|
||||
109: TypePointer UniformConstant 108
|
||||
110(g_tTexcdi4a): 109(ptr) Variable UniformConstant
|
||||
113: TypeImage 29(int) Cube depth array sampled format:Unknown
|
||||
114: TypeSampledImage 113
|
||||
119: TypeImage 42(int) Cube array sampled format:Unknown
|
||||
120: TypePointer UniformConstant 119
|
||||
121(g_tTexcdu4a): 120(ptr) Variable UniformConstant
|
||||
124: TypeImage 42(int) Cube depth array sampled format:Unknown
|
||||
125: TypeSampledImage 124
|
||||
129(PS_OUTPUT): TypeStruct 102(fvec4) 6(float)
|
||||
130: TypePointer Function 129(PS_OUTPUT)
|
||||
132: 29(int) Constant 0
|
||||
133: 6(float) Constant 1065353216
|
||||
134: 102(fvec4) ConstantComposite 133 133 133 133
|
||||
135: TypePointer Function 102(fvec4)
|
||||
137: 29(int) Constant 1
|
||||
139: TypePointer Output 102(fvec4)
|
||||
140(Color): 139(ptr) Variable Output
|
||||
143: TypePointer Output 6(float)
|
||||
144(Depth): 143(ptr) Variable Output
|
||||
148: TypeImage 6(float) 1D sampled format:Unknown
|
||||
149: TypePointer UniformConstant 148
|
||||
150(g_tTex1df4): 149(ptr) Variable UniformConstant
|
||||
151: TypeImage 29(int) 1D sampled format:Unknown
|
||||
152: TypePointer UniformConstant 151
|
||||
153(g_tTex1di4): 152(ptr) Variable UniformConstant
|
||||
154: TypeImage 42(int) 1D sampled format:Unknown
|
||||
155: TypePointer UniformConstant 154
|
||||
156(g_tTex1du4): 155(ptr) Variable UniformConstant
|
||||
157: TypeImage 6(float) 2D sampled format:Unknown
|
||||
158: TypePointer UniformConstant 157
|
||||
159(g_tTex2df4): 158(ptr) Variable UniformConstant
|
||||
160: TypeImage 29(int) 2D sampled format:Unknown
|
||||
161: TypePointer UniformConstant 160
|
||||
162(g_tTex2di4): 161(ptr) Variable UniformConstant
|
||||
163: TypeImage 42(int) 2D sampled format:Unknown
|
||||
164: TypePointer UniformConstant 163
|
||||
165(g_tTex2du4): 164(ptr) Variable UniformConstant
|
||||
166: TypeImage 6(float) 3D sampled format:Unknown
|
||||
167: TypePointer UniformConstant 166
|
||||
168(g_tTex3df4): 167(ptr) Variable UniformConstant
|
||||
169: TypeImage 29(int) 3D sampled format:Unknown
|
||||
170: TypePointer UniformConstant 169
|
||||
171(g_tTex3di4): 170(ptr) Variable UniformConstant
|
||||
172: TypeImage 42(int) 3D sampled format:Unknown
|
||||
173: TypePointer UniformConstant 172
|
||||
174(g_tTex3du4): 173(ptr) Variable UniformConstant
|
||||
175: TypeImage 6(float) Cube sampled format:Unknown
|
||||
25: TypeVector 6(float) 3
|
||||
32: TypeInt 32 1
|
||||
33: TypeImage 32(int) 1D array sampled format:Unknown
|
||||
34: TypePointer UniformConstant 33
|
||||
35(g_tTex1di4a): 34(ptr) Variable UniformConstant
|
||||
38: TypeImage 32(int) 1D depth array sampled format:Unknown
|
||||
39: TypeSampledImage 38
|
||||
47: TypeInt 32 0
|
||||
48: TypeImage 47(int) 1D array sampled format:Unknown
|
||||
49: TypePointer UniformConstant 48
|
||||
50(g_tTex1du4a): 49(ptr) Variable UniformConstant
|
||||
53: TypeImage 47(int) 1D depth array sampled format:Unknown
|
||||
54: TypeSampledImage 53
|
||||
62: TypeImage 6(float) 2D array sampled format:Unknown
|
||||
63: TypePointer UniformConstant 62
|
||||
64(g_tTex2df4a): 63(ptr) Variable UniformConstant
|
||||
67: TypeImage 6(float) 2D depth array sampled format:Unknown
|
||||
68: TypeSampledImage 67
|
||||
70: 6(float) Constant 1050253722
|
||||
71: 25(fvec3) ConstantComposite 21 22 70
|
||||
72: TypeVector 6(float) 4
|
||||
80: TypeImage 32(int) 2D array sampled format:Unknown
|
||||
81: TypePointer UniformConstant 80
|
||||
82(g_tTex2di4a): 81(ptr) Variable UniformConstant
|
||||
85: TypeImage 32(int) 2D depth array sampled format:Unknown
|
||||
86: TypeSampledImage 85
|
||||
95: TypeImage 47(int) 2D array sampled format:Unknown
|
||||
96: TypePointer UniformConstant 95
|
||||
97(g_tTex2du4a): 96(ptr) Variable UniformConstant
|
||||
100: TypeImage 47(int) 2D depth array sampled format:Unknown
|
||||
101: TypeSampledImage 100
|
||||
110: TypeImage 6(float) Cube array sampled format:Unknown
|
||||
111: TypePointer UniformConstant 110
|
||||
112(g_tTexcdf4a): 111(ptr) Variable UniformConstant
|
||||
115: TypeImage 6(float) Cube depth array sampled format:Unknown
|
||||
116: TypeSampledImage 115
|
||||
118: 6(float) Constant 1053609165
|
||||
119: 72(fvec4) ConstantComposite 21 22 70 118
|
||||
127: TypeImage 32(int) Cube array sampled format:Unknown
|
||||
128: TypePointer UniformConstant 127
|
||||
129(g_tTexcdi4a): 128(ptr) Variable UniformConstant
|
||||
132: TypeImage 32(int) Cube depth array sampled format:Unknown
|
||||
133: TypeSampledImage 132
|
||||
142: TypeImage 47(int) Cube array sampled format:Unknown
|
||||
143: TypePointer UniformConstant 142
|
||||
144(g_tTexcdu4a): 143(ptr) Variable UniformConstant
|
||||
147: TypeImage 47(int) Cube depth array sampled format:Unknown
|
||||
148: TypeSampledImage 147
|
||||
156(PS_OUTPUT): TypeStruct 72(fvec4) 6(float)
|
||||
157: TypePointer Function 156(PS_OUTPUT)
|
||||
159: 32(int) Constant 0
|
||||
160: 6(float) Constant 1065353216
|
||||
161: 72(fvec4) ConstantComposite 160 160 160 160
|
||||
162: TypePointer Function 72(fvec4)
|
||||
164: 32(int) Constant 1
|
||||
166: TypePointer Output 72(fvec4)
|
||||
167(Color): 166(ptr) Variable Output
|
||||
170: TypePointer Output 6(float)
|
||||
171(Depth): 170(ptr) Variable Output
|
||||
175: TypeImage 6(float) 1D sampled format:Unknown
|
||||
176: TypePointer UniformConstant 175
|
||||
177(g_tTexcdf4): 176(ptr) Variable UniformConstant
|
||||
178: TypeImage 29(int) Cube sampled format:Unknown
|
||||
177(g_tTex1df4): 176(ptr) Variable UniformConstant
|
||||
178: TypeImage 32(int) 1D sampled format:Unknown
|
||||
179: TypePointer UniformConstant 178
|
||||
180(g_tTexcdi4): 179(ptr) Variable UniformConstant
|
||||
181: TypeImage 42(int) Cube sampled format:Unknown
|
||||
180(g_tTex1di4): 179(ptr) Variable UniformConstant
|
||||
181: TypeImage 47(int) 1D sampled format:Unknown
|
||||
182: TypePointer UniformConstant 181
|
||||
183(g_tTexcdu4): 182(ptr) Variable UniformConstant
|
||||
183(g_tTex1du4): 182(ptr) Variable UniformConstant
|
||||
184: TypeImage 6(float) 2D sampled format:Unknown
|
||||
185: TypePointer UniformConstant 184
|
||||
186(g_tTex2df4): 185(ptr) Variable UniformConstant
|
||||
187: TypeImage 32(int) 2D sampled format:Unknown
|
||||
188: TypePointer UniformConstant 187
|
||||
189(g_tTex2di4): 188(ptr) Variable UniformConstant
|
||||
190: TypeImage 47(int) 2D sampled format:Unknown
|
||||
191: TypePointer UniformConstant 190
|
||||
192(g_tTex2du4): 191(ptr) Variable UniformConstant
|
||||
193: TypeImage 6(float) 3D sampled format:Unknown
|
||||
194: TypePointer UniformConstant 193
|
||||
195(g_tTex3df4): 194(ptr) Variable UniformConstant
|
||||
196: TypeImage 32(int) 3D sampled format:Unknown
|
||||
197: TypePointer UniformConstant 196
|
||||
198(g_tTex3di4): 197(ptr) Variable UniformConstant
|
||||
199: TypeImage 47(int) 3D sampled format:Unknown
|
||||
200: TypePointer UniformConstant 199
|
||||
201(g_tTex3du4): 200(ptr) Variable UniformConstant
|
||||
202: TypeImage 6(float) Cube sampled format:Unknown
|
||||
203: TypePointer UniformConstant 202
|
||||
204(g_tTexcdf4): 203(ptr) Variable UniformConstant
|
||||
205: TypeImage 32(int) Cube sampled format:Unknown
|
||||
206: TypePointer UniformConstant 205
|
||||
207(g_tTexcdi4): 206(ptr) Variable UniformConstant
|
||||
208: TypeImage 47(int) Cube sampled format:Unknown
|
||||
209: TypePointer UniformConstant 208
|
||||
210(g_tTexcdu4): 209(ptr) Variable UniformConstant
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
8(r10): 7(ptr) Variable Function
|
||||
28(r12): 7(ptr) Variable Function
|
||||
41(r14): 7(ptr) Variable Function
|
||||
54(r30): 7(ptr) Variable Function
|
||||
69(r32): 7(ptr) Variable Function
|
||||
81(r34): 7(ptr) Variable Function
|
||||
93(r60): 7(ptr) Variable Function
|
||||
107(r62): 7(ptr) Variable Function
|
||||
118(r64): 7(ptr) Variable Function
|
||||
131(psout): 130(ptr) Variable Function
|
||||
31(r12): 7(ptr) Variable Function
|
||||
46(r14): 7(ptr) Variable Function
|
||||
61(r30): 7(ptr) Variable Function
|
||||
79(r32): 7(ptr) Variable Function
|
||||
94(r34): 7(ptr) Variable Function
|
||||
109(r60): 7(ptr) Variable Function
|
||||
126(r62): 7(ptr) Variable Function
|
||||
141(r64): 7(ptr) Variable Function
|
||||
158(psout): 157(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
|
||||
26: 6(float) CompositeExtract 25 0
|
||||
27: 6(float) ImageSampleDrefImplicitLod 19 25 26
|
||||
Store 8(r10) 27
|
||||
33: 30 Load 32(g_tTex1di4a)
|
||||
34: 13 Load 15(g_sSamp)
|
||||
37: 36 SampledImage 33 34
|
||||
38: 6(float) CompositeExtract 23 0
|
||||
39: 6(float) CompositeExtract 38 0
|
||||
40: 6(float) ImageSampleDrefImplicitLod 37 38 39
|
||||
Store 28(r12) 40
|
||||
46: 43 Load 45(g_tTex1du4a)
|
||||
47: 13 Load 15(g_sSamp)
|
||||
50: 49 SampledImage 46 47
|
||||
51: 6(float) CompositeExtract 23 0
|
||||
52: 6(float) CompositeExtract 51 0
|
||||
53: 6(float) ImageSampleDrefImplicitLod 50 51 52
|
||||
Store 41(r14) 53
|
||||
58: 55 Load 57(g_tTex2df4a)
|
||||
59: 13 Load 15(g_sSamp)
|
||||
62: 61 SampledImage 58 59
|
||||
66: 6(float) CompositeExtract 65 0
|
||||
67: 6(float) CompositeExtract 66 0
|
||||
68: 6(float) ImageSampleDrefImplicitLod 62 66 67
|
||||
Store 54(r30) 68
|
||||
73: 70 Load 72(g_tTex2di4a)
|
||||
74: 13 Load 15(g_sSamp)
|
||||
77: 76 SampledImage 73 74
|
||||
78: 6(float) CompositeExtract 65 0
|
||||
79: 6(float) CompositeExtract 78 0
|
||||
80: 6(float) ImageSampleDrefImplicitLod 77 78 79
|
||||
Store 69(r32) 80
|
||||
85: 82 Load 84(g_tTex2du4a)
|
||||
86: 13 Load 15(g_sSamp)
|
||||
89: 88 SampledImage 85 86
|
||||
90: 6(float) CompositeExtract 65 0
|
||||
91: 6(float) CompositeExtract 90 0
|
||||
92: 6(float) ImageSampleDrefImplicitLod 89 90 91
|
||||
Store 81(r34) 92
|
||||
97: 94 Load 96(g_tTexcdf4a)
|
||||
98: 13 Load 15(g_sSamp)
|
||||
101: 100 SampledImage 97 98
|
||||
105: 6(float) CompositeExtract 104 0
|
||||
106: 6(float) ImageSampleDrefImplicitLod 101 105 24
|
||||
Store 93(r60) 106
|
||||
111: 108 Load 110(g_tTexcdi4a)
|
||||
112: 13 Load 15(g_sSamp)
|
||||
115: 114 SampledImage 111 112
|
||||
116: 6(float) CompositeExtract 104 0
|
||||
117: 6(float) ImageSampleDrefImplicitLod 115 116 24
|
||||
Store 107(r62) 117
|
||||
122: 119 Load 121(g_tTexcdu4a)
|
||||
123: 13 Load 15(g_sSamp)
|
||||
126: 125 SampledImage 122 123
|
||||
127: 6(float) CompositeExtract 104 0
|
||||
128: 6(float) ImageSampleDrefImplicitLod 126 127 24
|
||||
Store 118(r64) 128
|
||||
136: 135(ptr) AccessChain 131(psout) 132
|
||||
Store 136 134
|
||||
138: 7(ptr) AccessChain 131(psout) 137
|
||||
Store 138 133
|
||||
141: 135(ptr) AccessChain 131(psout) 132
|
||||
142: 102(fvec4) Load 141
|
||||
Store 140(Color) 142
|
||||
145: 7(ptr) AccessChain 131(psout) 137
|
||||
146: 6(float) Load 145
|
||||
Store 144(Depth) 146
|
||||
26: 6(float) CompositeExtract 23 0
|
||||
27: 6(float) CompositeExtract 23 1
|
||||
28: 25(fvec3) CompositeConstruct 26 27 24
|
||||
29: 6(float) CompositeExtract 28 2
|
||||
30: 6(float) ImageSampleDrefImplicitLod 19 28 29
|
||||
Store 8(r10) 30
|
||||
36: 33 Load 35(g_tTex1di4a)
|
||||
37: 13 Load 15(g_sSamp)
|
||||
40: 39 SampledImage 36 37
|
||||
41: 6(float) CompositeExtract 23 0
|
||||
42: 6(float) CompositeExtract 23 1
|
||||
43: 25(fvec3) CompositeConstruct 41 42 24
|
||||
44: 6(float) CompositeExtract 43 2
|
||||
45: 6(float) ImageSampleDrefImplicitLod 40 43 44
|
||||
Store 31(r12) 45
|
||||
51: 48 Load 50(g_tTex1du4a)
|
||||
52: 13 Load 15(g_sSamp)
|
||||
55: 54 SampledImage 51 52
|
||||
56: 6(float) CompositeExtract 23 0
|
||||
57: 6(float) CompositeExtract 23 1
|
||||
58: 25(fvec3) CompositeConstruct 56 57 24
|
||||
59: 6(float) CompositeExtract 58 2
|
||||
60: 6(float) ImageSampleDrefImplicitLod 55 58 59
|
||||
Store 46(r14) 60
|
||||
65: 62 Load 64(g_tTex2df4a)
|
||||
66: 13 Load 15(g_sSamp)
|
||||
69: 68 SampledImage 65 66
|
||||
73: 6(float) CompositeExtract 71 0
|
||||
74: 6(float) CompositeExtract 71 1
|
||||
75: 6(float) CompositeExtract 71 2
|
||||
76: 72(fvec4) CompositeConstruct 73 74 75 24
|
||||
77: 6(float) CompositeExtract 76 3
|
||||
78: 6(float) ImageSampleDrefImplicitLod 69 76 77
|
||||
Store 61(r30) 78
|
||||
83: 80 Load 82(g_tTex2di4a)
|
||||
84: 13 Load 15(g_sSamp)
|
||||
87: 86 SampledImage 83 84
|
||||
88: 6(float) CompositeExtract 71 0
|
||||
89: 6(float) CompositeExtract 71 1
|
||||
90: 6(float) CompositeExtract 71 2
|
||||
91: 72(fvec4) CompositeConstruct 88 89 90 24
|
||||
92: 6(float) CompositeExtract 91 3
|
||||
93: 6(float) ImageSampleDrefImplicitLod 87 91 92
|
||||
Store 79(r32) 93
|
||||
98: 95 Load 97(g_tTex2du4a)
|
||||
99: 13 Load 15(g_sSamp)
|
||||
102: 101 SampledImage 98 99
|
||||
103: 6(float) CompositeExtract 71 0
|
||||
104: 6(float) CompositeExtract 71 1
|
||||
105: 6(float) CompositeExtract 71 2
|
||||
106: 72(fvec4) CompositeConstruct 103 104 105 24
|
||||
107: 6(float) CompositeExtract 106 3
|
||||
108: 6(float) ImageSampleDrefImplicitLod 102 106 107
|
||||
Store 94(r34) 108
|
||||
113: 110 Load 112(g_tTexcdf4a)
|
||||
114: 13 Load 15(g_sSamp)
|
||||
117: 116 SampledImage 113 114
|
||||
120: 6(float) CompositeExtract 119 0
|
||||
121: 6(float) CompositeExtract 119 1
|
||||
122: 6(float) CompositeExtract 119 2
|
||||
123: 6(float) CompositeExtract 119 3
|
||||
124: 72(fvec4) CompositeConstruct 120 121 122 123
|
||||
125: 6(float) ImageSampleDrefImplicitLod 117 124 24
|
||||
Store 109(r60) 125
|
||||
130: 127 Load 129(g_tTexcdi4a)
|
||||
131: 13 Load 15(g_sSamp)
|
||||
134: 133 SampledImage 130 131
|
||||
135: 6(float) CompositeExtract 119 0
|
||||
136: 6(float) CompositeExtract 119 1
|
||||
137: 6(float) CompositeExtract 119 2
|
||||
138: 6(float) CompositeExtract 119 3
|
||||
139: 72(fvec4) CompositeConstruct 135 136 137 138
|
||||
140: 6(float) ImageSampleDrefImplicitLod 134 139 24
|
||||
Store 126(r62) 140
|
||||
145: 142 Load 144(g_tTexcdu4a)
|
||||
146: 13 Load 15(g_sSamp)
|
||||
149: 148 SampledImage 145 146
|
||||
150: 6(float) CompositeExtract 119 0
|
||||
151: 6(float) CompositeExtract 119 1
|
||||
152: 6(float) CompositeExtract 119 2
|
||||
153: 6(float) CompositeExtract 119 3
|
||||
154: 72(fvec4) CompositeConstruct 150 151 152 153
|
||||
155: 6(float) ImageSampleDrefImplicitLod 149 154 24
|
||||
Store 141(r64) 155
|
||||
163: 162(ptr) AccessChain 158(psout) 159
|
||||
Store 163 161
|
||||
165: 7(ptr) AccessChain 158(psout) 164
|
||||
Store 165 160
|
||||
168: 162(ptr) AccessChain 158(psout) 159
|
||||
169: 72(fvec4) Load 168
|
||||
Store 167(Color) 169
|
||||
172: 7(ptr) AccessChain 158(psout) 164
|
||||
173: 6(float) Load 172
|
||||
Store 171(Depth) 173
|
||||
Return
|
||||
FunctionEnd
|
||||
|
||||
Reference in New Issue
Block a user