Merge pull request #764 from steve-lunarg/imagequery-sign
Preserve signedness in SPIR-V image query ops
This commit is contained in:
commit
6212e86faa
@ -2922,6 +2922,10 @@ spv::Id TGlslangToSpvTraverser::createImageTextureFunctionCall(glslang::TIntermO
|
|||||||
glslang::TCrackedTextureOp cracked;
|
glslang::TCrackedTextureOp cracked;
|
||||||
node->crackTexture(sampler, cracked);
|
node->crackTexture(sampler, cracked);
|
||||||
|
|
||||||
|
const bool isUnsignedResult =
|
||||||
|
node->getType().getBasicType() == glslang::EbtUint64 ||
|
||||||
|
node->getType().getBasicType() == glslang::EbtUint;
|
||||||
|
|
||||||
// Check for queries
|
// Check for queries
|
||||||
if (cracked.query) {
|
if (cracked.query) {
|
||||||
// OpImageQueryLod works on a sampled image, for other queries the image has to be extracted first
|
// OpImageQueryLod works on a sampled image, for other queries the image has to be extracted first
|
||||||
@ -2933,17 +2937,17 @@ spv::Id TGlslangToSpvTraverser::createImageTextureFunctionCall(glslang::TIntermO
|
|||||||
case glslang::EOpTextureQuerySize:
|
case glslang::EOpTextureQuerySize:
|
||||||
if (arguments.size() > 1) {
|
if (arguments.size() > 1) {
|
||||||
params.lod = arguments[1];
|
params.lod = arguments[1];
|
||||||
return builder.createTextureQueryCall(spv::OpImageQuerySizeLod, params);
|
return builder.createTextureQueryCall(spv::OpImageQuerySizeLod, params, isUnsignedResult);
|
||||||
} else
|
} else
|
||||||
return builder.createTextureQueryCall(spv::OpImageQuerySize, params);
|
return builder.createTextureQueryCall(spv::OpImageQuerySize, params, isUnsignedResult);
|
||||||
case glslang::EOpImageQuerySamples:
|
case glslang::EOpImageQuerySamples:
|
||||||
case glslang::EOpTextureQuerySamples:
|
case glslang::EOpTextureQuerySamples:
|
||||||
return builder.createTextureQueryCall(spv::OpImageQuerySamples, params);
|
return builder.createTextureQueryCall(spv::OpImageQuerySamples, params, isUnsignedResult);
|
||||||
case glslang::EOpTextureQueryLod:
|
case glslang::EOpTextureQueryLod:
|
||||||
params.coords = arguments[1];
|
params.coords = arguments[1];
|
||||||
return builder.createTextureQueryCall(spv::OpImageQueryLod, params);
|
return builder.createTextureQueryCall(spv::OpImageQueryLod, params, isUnsignedResult);
|
||||||
case glslang::EOpTextureQueryLevels:
|
case glslang::EOpTextureQueryLevels:
|
||||||
return builder.createTextureQueryCall(spv::OpImageQueryLevels, params);
|
return builder.createTextureQueryCall(spv::OpImageQueryLevels, params, isUnsignedResult);
|
||||||
case glslang::EOpSparseTexelsResident:
|
case glslang::EOpSparseTexelsResident:
|
||||||
return builder.createUnaryOp(spv::OpImageSparseTexelsResident, builder.makeBoolType(), arguments[0]);
|
return builder.createUnaryOp(spv::OpImageSparseTexelsResident, builder.makeBoolType(), arguments[0]);
|
||||||
default:
|
default:
|
||||||
|
@ -1662,7 +1662,7 @@ Id Builder::createTextureCall(Decoration precision, Id resultType, bool sparse,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Comments in header
|
// Comments in header
|
||||||
Id Builder::createTextureQueryCall(Op opCode, const TextureParameters& parameters)
|
Id Builder::createTextureQueryCall(Op opCode, const TextureParameters& parameters, bool isUnsignedResult)
|
||||||
{
|
{
|
||||||
// All these need a capability
|
// All these need a capability
|
||||||
addCapability(CapabilityImageQuery);
|
addCapability(CapabilityImageQuery);
|
||||||
@ -1695,10 +1695,12 @@ Id Builder::createTextureQueryCall(Op opCode, const TextureParameters& parameter
|
|||||||
}
|
}
|
||||||
if (isArrayedImageType(getImageType(parameters.sampler)))
|
if (isArrayedImageType(getImageType(parameters.sampler)))
|
||||||
++numComponents;
|
++numComponents;
|
||||||
|
|
||||||
|
Id intType = isUnsignedResult ? makeUintType(32) : makeIntType(32);
|
||||||
if (numComponents == 1)
|
if (numComponents == 1)
|
||||||
resultType = makeIntType(32);
|
resultType = intType;
|
||||||
else
|
else
|
||||||
resultType = makeVectorType(makeIntType(32), numComponents);
|
resultType = makeVectorType(intType, numComponents);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -1707,7 +1709,7 @@ Id Builder::createTextureQueryCall(Op opCode, const TextureParameters& parameter
|
|||||||
break;
|
break;
|
||||||
case OpImageQueryLevels:
|
case OpImageQueryLevels:
|
||||||
case OpImageQuerySamples:
|
case OpImageQuerySamples:
|
||||||
resultType = makeIntType(32);
|
resultType = isUnsignedResult ? makeUintType(32) : makeIntType(32);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
assert(0);
|
assert(0);
|
||||||
|
@ -335,7 +335,7 @@ public:
|
|||||||
|
|
||||||
// Emit the OpTextureQuery* instruction that was passed in.
|
// Emit the OpTextureQuery* instruction that was passed in.
|
||||||
// Figure out the right return value and type, and return it.
|
// Figure out the right return value and type, and return it.
|
||||||
Id createTextureQueryCall(Op, const TextureParameters&);
|
Id createTextureQueryCall(Op, const TextureParameters&, bool isUnsignedResult);
|
||||||
|
|
||||||
Id createSamplePositionCall(Decoration precision, Id, Id);
|
Id createSamplePositionCall(Decoration precision, Id, Id);
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -186,17 +186,17 @@ Shader version: 450
|
|||||||
29(NumberOfLevelsU): 13(ptr) Variable Function
|
29(NumberOfLevelsU): 13(ptr) Variable Function
|
||||||
33(vsout): 32(ptr) Variable Function
|
33(vsout): 32(ptr) Variable Function
|
||||||
18: 15 Load 17(g_tTex1df4)
|
18: 15 Load 17(g_tTex1df4)
|
||||||
21: 19(int) ImageQuerySizeLod 18 20
|
21: 12(int) ImageQuerySizeLod 18 20
|
||||||
Store 14(sizeQueryTemp) 21
|
Store 14(sizeQueryTemp) 21
|
||||||
23: 12(int) Load 14(sizeQueryTemp)
|
23: 12(int) Load 14(sizeQueryTemp)
|
||||||
Store 22(WidthU) 23
|
Store 22(WidthU) 23
|
||||||
25: 15 Load 17(g_tTex1df4)
|
25: 15 Load 17(g_tTex1df4)
|
||||||
27: 19(int) ImageQuerySizeLod 25 26
|
27: 12(int) ImageQuerySizeLod 25 26
|
||||||
Store 24(sizeQueryTemp) 27
|
Store 24(sizeQueryTemp) 27
|
||||||
28: 12(int) Load 24(sizeQueryTemp)
|
28: 12(int) Load 24(sizeQueryTemp)
|
||||||
Store 22(WidthU) 28
|
Store 22(WidthU) 28
|
||||||
30: 15 Load 17(g_tTex1df4)
|
30: 15 Load 17(g_tTex1df4)
|
||||||
31: 19(int) ImageQueryLevels 30
|
31: 12(int) ImageQueryLevels 30
|
||||||
Store 29(NumberOfLevelsU) 31
|
Store 29(NumberOfLevelsU) 31
|
||||||
37: 36(ptr) AccessChain 33(vsout) 20
|
37: 36(ptr) AccessChain 33(vsout) 20
|
||||||
Store 37 35
|
Store 37 35
|
||||||
|
@ -725,7 +725,7 @@ gl_FragCoord origin is upper left
|
|||||||
Capability ImageQuery
|
Capability ImageQuery
|
||||||
1: ExtInstImport "GLSL.std.450"
|
1: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 218 222
|
EntryPoint Fragment 4 "main" 216 220
|
||||||
ExecutionMode 4 OriginUpperLeft
|
ExecutionMode 4 OriginUpperLeft
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "PS_OUTPUT"
|
Name 8 "PS_OUTPUT"
|
||||||
@ -734,8 +734,8 @@ gl_FragCoord origin is upper left
|
|||||||
Name 10 "@main("
|
Name 10 "@main("
|
||||||
Name 14 "sizeQueryTemp"
|
Name 14 "sizeQueryTemp"
|
||||||
Name 17 "g_tTex1df4"
|
Name 17 "g_tTex1df4"
|
||||||
Name 21 "WidthU"
|
Name 20 "WidthU"
|
||||||
Name 23 "sizeQueryTemp"
|
Name 22 "sizeQueryTemp"
|
||||||
Name 26 "g_tTex1di4"
|
Name 26 "g_tTex1di4"
|
||||||
Name 30 "sizeQueryTemp"
|
Name 30 "sizeQueryTemp"
|
||||||
Name 33 "g_tTex1du4"
|
Name 33 "g_tTex1du4"
|
||||||
@ -747,36 +747,36 @@ gl_FragCoord origin is upper left
|
|||||||
Name 54 "g_tBuffU"
|
Name 54 "g_tBuffU"
|
||||||
Name 60 "sizeQueryTemp"
|
Name 60 "sizeQueryTemp"
|
||||||
Name 63 "g_tTex1df4a"
|
Name 63 "g_tTex1df4a"
|
||||||
Name 70 "ElementsU"
|
Name 69 "ElementsU"
|
||||||
Name 74 "sizeQueryTemp"
|
Name 73 "sizeQueryTemp"
|
||||||
Name 77 "g_tTex1di4a"
|
Name 76 "g_tTex1di4a"
|
||||||
Name 84 "sizeQueryTemp"
|
Name 83 "sizeQueryTemp"
|
||||||
Name 87 "g_tTex1du4a"
|
Name 86 "g_tTex1du4a"
|
||||||
Name 94 "sizeQueryTemp"
|
Name 93 "sizeQueryTemp"
|
||||||
Name 97 "g_tTex2df4"
|
Name 96 "g_tTex2df4"
|
||||||
Name 102 "HeightU"
|
Name 101 "HeightU"
|
||||||
Name 105 "sizeQueryTemp"
|
Name 104 "sizeQueryTemp"
|
||||||
Name 108 "g_tTex2di4"
|
Name 107 "g_tTex2di4"
|
||||||
Name 115 "sizeQueryTemp"
|
Name 114 "sizeQueryTemp"
|
||||||
Name 118 "g_tTex2du4"
|
Name 117 "g_tTex2du4"
|
||||||
Name 127 "sizeQueryTemp"
|
Name 126 "sizeQueryTemp"
|
||||||
Name 130 "g_tTex2df4a"
|
Name 129 "g_tTex2df4a"
|
||||||
Name 141 "sizeQueryTemp"
|
Name 139 "sizeQueryTemp"
|
||||||
Name 144 "g_tTex2di4a"
|
Name 142 "g_tTex2di4a"
|
||||||
Name 153 "sizeQueryTemp"
|
Name 151 "sizeQueryTemp"
|
||||||
Name 156 "g_tTex2du4a"
|
Name 154 "g_tTex2du4a"
|
||||||
Name 165 "sizeQueryTemp"
|
Name 163 "sizeQueryTemp"
|
||||||
Name 168 "g_tTex3df4"
|
Name 166 "g_tTex3df4"
|
||||||
Name 175 "DepthU"
|
Name 173 "DepthU"
|
||||||
Name 178 "sizeQueryTemp"
|
Name 176 "sizeQueryTemp"
|
||||||
Name 181 "g_tTex3di4"
|
Name 179 "g_tTex3di4"
|
||||||
Name 190 "sizeQueryTemp"
|
Name 188 "sizeQueryTemp"
|
||||||
Name 193 "g_tTex3du4"
|
Name 191 "g_tTex3du4"
|
||||||
Name 203 "psout"
|
Name 201 "psout"
|
||||||
Name 215 "flattenTemp"
|
Name 213 "flattenTemp"
|
||||||
Name 218 "Color"
|
Name 216 "Color"
|
||||||
Name 222 "Depth"
|
Name 220 "Depth"
|
||||||
Name 227 "g_sSamp"
|
Name 225 "g_sSamp"
|
||||||
Name 229 "$Global"
|
Name 229 "$Global"
|
||||||
MemberName 229($Global) 0 "c1"
|
MemberName 229($Global) 0 "c1"
|
||||||
MemberName 229($Global) 1 "c2"
|
MemberName 229($Global) 1 "c2"
|
||||||
@ -795,21 +795,21 @@ gl_FragCoord origin is upper left
|
|||||||
Decorate 47(g_tBuffI) DescriptorSet 0
|
Decorate 47(g_tBuffI) DescriptorSet 0
|
||||||
Decorate 54(g_tBuffU) DescriptorSet 0
|
Decorate 54(g_tBuffU) DescriptorSet 0
|
||||||
Decorate 63(g_tTex1df4a) DescriptorSet 0
|
Decorate 63(g_tTex1df4a) DescriptorSet 0
|
||||||
Decorate 77(g_tTex1di4a) DescriptorSet 0
|
Decorate 76(g_tTex1di4a) DescriptorSet 0
|
||||||
Decorate 87(g_tTex1du4a) DescriptorSet 0
|
Decorate 86(g_tTex1du4a) DescriptorSet 0
|
||||||
Decorate 97(g_tTex2df4) DescriptorSet 0
|
Decorate 96(g_tTex2df4) DescriptorSet 0
|
||||||
Decorate 108(g_tTex2di4) DescriptorSet 0
|
Decorate 107(g_tTex2di4) DescriptorSet 0
|
||||||
Decorate 118(g_tTex2du4) DescriptorSet 0
|
Decorate 117(g_tTex2du4) DescriptorSet 0
|
||||||
Decorate 130(g_tTex2df4a) DescriptorSet 0
|
Decorate 129(g_tTex2df4a) DescriptorSet 0
|
||||||
Decorate 144(g_tTex2di4a) DescriptorSet 0
|
Decorate 142(g_tTex2di4a) DescriptorSet 0
|
||||||
Decorate 156(g_tTex2du4a) DescriptorSet 0
|
Decorate 154(g_tTex2du4a) DescriptorSet 0
|
||||||
Decorate 168(g_tTex3df4) DescriptorSet 0
|
Decorate 166(g_tTex3df4) DescriptorSet 0
|
||||||
Decorate 181(g_tTex3di4) DescriptorSet 0
|
Decorate 179(g_tTex3di4) DescriptorSet 0
|
||||||
Decorate 193(g_tTex3du4) DescriptorSet 0
|
Decorate 191(g_tTex3du4) DescriptorSet 0
|
||||||
Decorate 218(Color) Location 0
|
Decorate 216(Color) Location 0
|
||||||
Decorate 222(Depth) BuiltIn FragDepth
|
Decorate 220(Depth) BuiltIn FragDepth
|
||||||
Decorate 227(g_sSamp) DescriptorSet 0
|
Decorate 225(g_sSamp) DescriptorSet 0
|
||||||
Decorate 227(g_sSamp) Binding 0
|
Decorate 225(g_sSamp) Binding 0
|
||||||
MemberDecorate 229($Global) 0 Offset 0
|
MemberDecorate 229($Global) 0 Offset 0
|
||||||
MemberDecorate 229($Global) 1 Offset 8
|
MemberDecorate 229($Global) 1 Offset 8
|
||||||
MemberDecorate 229($Global) 2 Offset 16
|
MemberDecorate 229($Global) 2 Offset 16
|
||||||
@ -831,8 +831,8 @@ gl_FragCoord origin is upper left
|
|||||||
15: TypeImage 6(float) 1D nonsampled format:Rgba32f
|
15: TypeImage 6(float) 1D nonsampled format:Rgba32f
|
||||||
16: TypePointer UniformConstant 15
|
16: TypePointer UniformConstant 15
|
||||||
17(g_tTex1df4): 16(ptr) Variable UniformConstant
|
17(g_tTex1df4): 16(ptr) Variable UniformConstant
|
||||||
19: TypeInt 32 1
|
23: TypeInt 32 1
|
||||||
24: TypeImage 19(int) 1D nonsampled format:Rgba32i
|
24: TypeImage 23(int) 1D nonsampled format:Rgba32i
|
||||||
25: TypePointer UniformConstant 24
|
25: TypePointer UniformConstant 24
|
||||||
26(g_tTex1di4): 25(ptr) Variable UniformConstant
|
26(g_tTex1di4): 25(ptr) Variable UniformConstant
|
||||||
31: TypeImage 12(int) 1D nonsampled format:Rgba32ui
|
31: TypeImage 12(int) 1D nonsampled format:Rgba32ui
|
||||||
@ -841,7 +841,7 @@ gl_FragCoord origin is upper left
|
|||||||
38: TypeImage 6(float) Buffer nonsampled format:Rgba32f
|
38: TypeImage 6(float) Buffer nonsampled format:Rgba32f
|
||||||
39: TypePointer UniformConstant 38
|
39: TypePointer UniformConstant 38
|
||||||
40(g_tBuffF): 39(ptr) Variable UniformConstant
|
40(g_tBuffF): 39(ptr) Variable UniformConstant
|
||||||
45: TypeImage 19(int) Buffer nonsampled format:Rgba32i
|
45: TypeImage 23(int) Buffer nonsampled format:Rgba32i
|
||||||
46: TypePointer UniformConstant 45
|
46: TypePointer UniformConstant 45
|
||||||
47(g_tBuffI): 46(ptr) Variable UniformConstant
|
47(g_tBuffI): 46(ptr) Variable UniformConstant
|
||||||
52: TypeImage 12(int) Buffer nonsampled format:Rgba32ui
|
52: TypeImage 12(int) Buffer nonsampled format:Rgba32ui
|
||||||
@ -852,262 +852,262 @@ gl_FragCoord origin is upper left
|
|||||||
61: TypeImage 6(float) 1D array nonsampled format:Rgba32f
|
61: TypeImage 6(float) 1D array nonsampled format:Rgba32f
|
||||||
62: TypePointer UniformConstant 61
|
62: TypePointer UniformConstant 61
|
||||||
63(g_tTex1df4a): 62(ptr) Variable UniformConstant
|
63(g_tTex1df4a): 62(ptr) Variable UniformConstant
|
||||||
65: TypeVector 19(int) 2
|
66: 12(int) Constant 0
|
||||||
67: 12(int) Constant 0
|
70: 12(int) Constant 1
|
||||||
71: 12(int) Constant 1
|
74: TypeImage 23(int) 1D array nonsampled format:Rgba32i
|
||||||
75: TypeImage 19(int) 1D array nonsampled format:Rgba32i
|
75: TypePointer UniformConstant 74
|
||||||
76: TypePointer UniformConstant 75
|
76(g_tTex1di4a): 75(ptr) Variable UniformConstant
|
||||||
77(g_tTex1di4a): 76(ptr) Variable UniformConstant
|
84: TypeImage 12(int) 1D array nonsampled format:Rgba32ui
|
||||||
85: TypeImage 12(int) 1D array nonsampled format:Rgba32ui
|
85: TypePointer UniformConstant 84
|
||||||
86: TypePointer UniformConstant 85
|
86(g_tTex1du4a): 85(ptr) Variable UniformConstant
|
||||||
87(g_tTex1du4a): 86(ptr) Variable UniformConstant
|
94: TypeImage 6(float) 2D nonsampled format:Rgba32f
|
||||||
95: TypeImage 6(float) 2D nonsampled format:Rgba32f
|
95: TypePointer UniformConstant 94
|
||||||
96: TypePointer UniformConstant 95
|
96(g_tTex2df4): 95(ptr) Variable UniformConstant
|
||||||
97(g_tTex2df4): 96(ptr) Variable UniformConstant
|
105: TypeImage 23(int) 2D nonsampled format:Rgba32i
|
||||||
106: TypeImage 19(int) 2D nonsampled format:Rgba32i
|
106: TypePointer UniformConstant 105
|
||||||
107: TypePointer UniformConstant 106
|
107(g_tTex2di4): 106(ptr) Variable UniformConstant
|
||||||
108(g_tTex2di4): 107(ptr) Variable UniformConstant
|
115: TypeImage 12(int) 2D nonsampled format:Rgba32ui
|
||||||
116: TypeImage 12(int) 2D nonsampled format:Rgba32ui
|
116: TypePointer UniformConstant 115
|
||||||
117: TypePointer UniformConstant 116
|
117(g_tTex2du4): 116(ptr) Variable UniformConstant
|
||||||
118(g_tTex2du4): 117(ptr) Variable UniformConstant
|
124: TypeVector 12(int) 3
|
||||||
125: TypeVector 12(int) 3
|
125: TypePointer Function 124(ivec3)
|
||||||
126: TypePointer Function 125(ivec3)
|
127: TypeImage 6(float) 2D array nonsampled format:Rgba32f
|
||||||
128: TypeImage 6(float) 2D array nonsampled format:Rgba32f
|
128: TypePointer UniformConstant 127
|
||||||
129: TypePointer UniformConstant 128
|
129(g_tTex2df4a): 128(ptr) Variable UniformConstant
|
||||||
130(g_tTex2df4a): 129(ptr) Variable UniformConstant
|
136: 12(int) Constant 2
|
||||||
132: TypeVector 19(int) 3
|
140: TypeImage 23(int) 2D array nonsampled format:Rgba32i
|
||||||
138: 12(int) Constant 2
|
141: TypePointer UniformConstant 140
|
||||||
142: TypeImage 19(int) 2D array nonsampled format:Rgba32i
|
142(g_tTex2di4a): 141(ptr) Variable UniformConstant
|
||||||
143: TypePointer UniformConstant 142
|
152: TypeImage 12(int) 2D array nonsampled format:Rgba32ui
|
||||||
144(g_tTex2di4a): 143(ptr) Variable UniformConstant
|
153: TypePointer UniformConstant 152
|
||||||
154: TypeImage 12(int) 2D array nonsampled format:Rgba32ui
|
154(g_tTex2du4a): 153(ptr) Variable UniformConstant
|
||||||
155: TypePointer UniformConstant 154
|
164: TypeImage 6(float) 3D nonsampled format:Rgba32f
|
||||||
156(g_tTex2du4a): 155(ptr) Variable UniformConstant
|
165: TypePointer UniformConstant 164
|
||||||
166: TypeImage 6(float) 3D nonsampled format:Rgba32f
|
166(g_tTex3df4): 165(ptr) Variable UniformConstant
|
||||||
167: TypePointer UniformConstant 166
|
177: TypeImage 23(int) 3D nonsampled format:Rgba32i
|
||||||
168(g_tTex3df4): 167(ptr) Variable UniformConstant
|
178: TypePointer UniformConstant 177
|
||||||
179: TypeImage 19(int) 3D nonsampled format:Rgba32i
|
179(g_tTex3di4): 178(ptr) Variable UniformConstant
|
||||||
180: TypePointer UniformConstant 179
|
189: TypeImage 12(int) 3D nonsampled format:Rgba32ui
|
||||||
181(g_tTex3di4): 180(ptr) Variable UniformConstant
|
190: TypePointer UniformConstant 189
|
||||||
191: TypeImage 12(int) 3D nonsampled format:Rgba32ui
|
191(g_tTex3du4): 190(ptr) Variable UniformConstant
|
||||||
192: TypePointer UniformConstant 191
|
200: TypePointer Function 8(PS_OUTPUT)
|
||||||
193(g_tTex3du4): 192(ptr) Variable UniformConstant
|
202: 23(int) Constant 0
|
||||||
202: TypePointer Function 8(PS_OUTPUT)
|
203: 6(float) Constant 1065353216
|
||||||
204: 19(int) Constant 0
|
204: 7(fvec4) ConstantComposite 203 203 203 203
|
||||||
205: 6(float) Constant 1065353216
|
205: TypePointer Function 7(fvec4)
|
||||||
206: 7(fvec4) ConstantComposite 205 205 205 205
|
207: 23(int) Constant 1
|
||||||
207: TypePointer Function 7(fvec4)
|
208: TypePointer Function 6(float)
|
||||||
209: 19(int) Constant 1
|
215: TypePointer Output 7(fvec4)
|
||||||
210: TypePointer Function 6(float)
|
216(Color): 215(ptr) Variable Output
|
||||||
217: TypePointer Output 7(fvec4)
|
219: TypePointer Output 6(float)
|
||||||
218(Color): 217(ptr) Variable Output
|
220(Depth): 219(ptr) Variable Output
|
||||||
221: TypePointer Output 6(float)
|
223: TypeSampler
|
||||||
222(Depth): 221(ptr) Variable Output
|
224: TypePointer UniformConstant 223
|
||||||
225: TypeSampler
|
225(g_sSamp): 224(ptr) Variable UniformConstant
|
||||||
226: TypePointer UniformConstant 225
|
226: TypeVector 23(int) 2
|
||||||
227(g_sSamp): 226(ptr) Variable UniformConstant
|
227: TypeVector 23(int) 3
|
||||||
228: TypeVector 19(int) 4
|
228: TypeVector 23(int) 4
|
||||||
229($Global): TypeStruct 19(int) 65(ivec2) 132(ivec3) 228(ivec4) 19(int) 65(ivec2) 132(ivec3) 228(ivec4)
|
229($Global): TypeStruct 23(int) 226(ivec2) 227(ivec3) 228(ivec4) 23(int) 226(ivec2) 227(ivec3) 228(ivec4)
|
||||||
230: TypePointer Uniform 229($Global)
|
230: TypePointer Uniform 229($Global)
|
||||||
231: 230(ptr) Variable Uniform
|
231: 230(ptr) Variable Uniform
|
||||||
4(main): 2 Function None 3
|
4(main): 2 Function None 3
|
||||||
5: Label
|
5: Label
|
||||||
215(flattenTemp): 202(ptr) Variable Function
|
213(flattenTemp): 200(ptr) Variable Function
|
||||||
216:8(PS_OUTPUT) FunctionCall 10(@main()
|
214:8(PS_OUTPUT) FunctionCall 10(@main()
|
||||||
Store 215(flattenTemp) 216
|
Store 213(flattenTemp) 214
|
||||||
219: 207(ptr) AccessChain 215(flattenTemp) 204
|
217: 205(ptr) AccessChain 213(flattenTemp) 202
|
||||||
220: 7(fvec4) Load 219
|
218: 7(fvec4) Load 217
|
||||||
Store 218(Color) 220
|
Store 216(Color) 218
|
||||||
223: 210(ptr) AccessChain 215(flattenTemp) 209
|
221: 208(ptr) AccessChain 213(flattenTemp) 207
|
||||||
224: 6(float) Load 223
|
222: 6(float) Load 221
|
||||||
Store 222(Depth) 224
|
Store 220(Depth) 222
|
||||||
Return
|
Return
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
10(@main():8(PS_OUTPUT) Function None 9
|
10(@main():8(PS_OUTPUT) Function None 9
|
||||||
11: Label
|
11: Label
|
||||||
14(sizeQueryTemp): 13(ptr) Variable Function
|
14(sizeQueryTemp): 13(ptr) Variable Function
|
||||||
21(WidthU): 13(ptr) Variable Function
|
20(WidthU): 13(ptr) Variable Function
|
||||||
23(sizeQueryTemp): 13(ptr) Variable Function
|
22(sizeQueryTemp): 13(ptr) Variable Function
|
||||||
30(sizeQueryTemp): 13(ptr) Variable Function
|
30(sizeQueryTemp): 13(ptr) Variable Function
|
||||||
37(sizeQueryTemp): 13(ptr) Variable Function
|
37(sizeQueryTemp): 13(ptr) Variable Function
|
||||||
44(sizeQueryTemp): 13(ptr) Variable Function
|
44(sizeQueryTemp): 13(ptr) Variable Function
|
||||||
51(sizeQueryTemp): 13(ptr) Variable Function
|
51(sizeQueryTemp): 13(ptr) Variable Function
|
||||||
60(sizeQueryTemp): 59(ptr) Variable Function
|
60(sizeQueryTemp): 59(ptr) Variable Function
|
||||||
70(ElementsU): 13(ptr) Variable Function
|
69(ElementsU): 13(ptr) Variable Function
|
||||||
74(sizeQueryTemp): 59(ptr) Variable Function
|
73(sizeQueryTemp): 59(ptr) Variable Function
|
||||||
84(sizeQueryTemp): 59(ptr) Variable Function
|
83(sizeQueryTemp): 59(ptr) Variable Function
|
||||||
94(sizeQueryTemp): 59(ptr) Variable Function
|
93(sizeQueryTemp): 59(ptr) Variable Function
|
||||||
102(HeightU): 13(ptr) Variable Function
|
101(HeightU): 13(ptr) Variable Function
|
||||||
105(sizeQueryTemp): 59(ptr) Variable Function
|
104(sizeQueryTemp): 59(ptr) Variable Function
|
||||||
115(sizeQueryTemp): 59(ptr) Variable Function
|
114(sizeQueryTemp): 59(ptr) Variable Function
|
||||||
127(sizeQueryTemp): 126(ptr) Variable Function
|
126(sizeQueryTemp): 125(ptr) Variable Function
|
||||||
141(sizeQueryTemp): 126(ptr) Variable Function
|
139(sizeQueryTemp): 125(ptr) Variable Function
|
||||||
153(sizeQueryTemp): 126(ptr) Variable Function
|
151(sizeQueryTemp): 125(ptr) Variable Function
|
||||||
165(sizeQueryTemp): 126(ptr) Variable Function
|
163(sizeQueryTemp): 125(ptr) Variable Function
|
||||||
175(DepthU): 13(ptr) Variable Function
|
173(DepthU): 13(ptr) Variable Function
|
||||||
178(sizeQueryTemp): 126(ptr) Variable Function
|
176(sizeQueryTemp): 125(ptr) Variable Function
|
||||||
190(sizeQueryTemp): 126(ptr) Variable Function
|
188(sizeQueryTemp): 125(ptr) Variable Function
|
||||||
203(psout): 202(ptr) Variable Function
|
201(psout): 200(ptr) Variable Function
|
||||||
18: 15 Load 17(g_tTex1df4)
|
18: 15 Load 17(g_tTex1df4)
|
||||||
20: 19(int) ImageQuerySize 18
|
19: 12(int) ImageQuerySize 18
|
||||||
Store 14(sizeQueryTemp) 20
|
Store 14(sizeQueryTemp) 19
|
||||||
22: 12(int) Load 14(sizeQueryTemp)
|
21: 12(int) Load 14(sizeQueryTemp)
|
||||||
Store 21(WidthU) 22
|
Store 20(WidthU) 21
|
||||||
27: 24 Load 26(g_tTex1di4)
|
27: 24 Load 26(g_tTex1di4)
|
||||||
28: 19(int) ImageQuerySize 27
|
28: 12(int) ImageQuerySize 27
|
||||||
Store 23(sizeQueryTemp) 28
|
Store 22(sizeQueryTemp) 28
|
||||||
29: 12(int) Load 23(sizeQueryTemp)
|
29: 12(int) Load 22(sizeQueryTemp)
|
||||||
Store 21(WidthU) 29
|
Store 20(WidthU) 29
|
||||||
34: 31 Load 33(g_tTex1du4)
|
34: 31 Load 33(g_tTex1du4)
|
||||||
35: 19(int) ImageQuerySize 34
|
35: 12(int) ImageQuerySize 34
|
||||||
Store 30(sizeQueryTemp) 35
|
Store 30(sizeQueryTemp) 35
|
||||||
36: 12(int) Load 30(sizeQueryTemp)
|
36: 12(int) Load 30(sizeQueryTemp)
|
||||||
Store 21(WidthU) 36
|
Store 20(WidthU) 36
|
||||||
41: 38 Load 40(g_tBuffF)
|
41: 38 Load 40(g_tBuffF)
|
||||||
42: 19(int) ImageQuerySize 41
|
42: 12(int) ImageQuerySize 41
|
||||||
Store 37(sizeQueryTemp) 42
|
Store 37(sizeQueryTemp) 42
|
||||||
43: 12(int) Load 37(sizeQueryTemp)
|
43: 12(int) Load 37(sizeQueryTemp)
|
||||||
Store 21(WidthU) 43
|
Store 20(WidthU) 43
|
||||||
48: 45 Load 47(g_tBuffI)
|
48: 45 Load 47(g_tBuffI)
|
||||||
49: 19(int) ImageQuerySize 48
|
49: 12(int) ImageQuerySize 48
|
||||||
Store 44(sizeQueryTemp) 49
|
Store 44(sizeQueryTemp) 49
|
||||||
50: 12(int) Load 44(sizeQueryTemp)
|
50: 12(int) Load 44(sizeQueryTemp)
|
||||||
Store 21(WidthU) 50
|
Store 20(WidthU) 50
|
||||||
55: 52 Load 54(g_tBuffU)
|
55: 52 Load 54(g_tBuffU)
|
||||||
56: 19(int) ImageQuerySize 55
|
56: 12(int) ImageQuerySize 55
|
||||||
Store 51(sizeQueryTemp) 56
|
Store 51(sizeQueryTemp) 56
|
||||||
57: 12(int) Load 51(sizeQueryTemp)
|
57: 12(int) Load 51(sizeQueryTemp)
|
||||||
Store 21(WidthU) 57
|
Store 20(WidthU) 57
|
||||||
64: 61 Load 63(g_tTex1df4a)
|
64: 61 Load 63(g_tTex1df4a)
|
||||||
66: 65(ivec2) ImageQuerySize 64
|
65: 58(ivec2) ImageQuerySize 64
|
||||||
Store 60(sizeQueryTemp) 66
|
Store 60(sizeQueryTemp) 65
|
||||||
68: 13(ptr) AccessChain 60(sizeQueryTemp) 67
|
67: 13(ptr) AccessChain 60(sizeQueryTemp) 66
|
||||||
69: 12(int) Load 68
|
68: 12(int) Load 67
|
||||||
Store 21(WidthU) 69
|
Store 20(WidthU) 68
|
||||||
72: 13(ptr) AccessChain 60(sizeQueryTemp) 71
|
71: 13(ptr) AccessChain 60(sizeQueryTemp) 70
|
||||||
73: 12(int) Load 72
|
72: 12(int) Load 71
|
||||||
Store 70(ElementsU) 73
|
Store 69(ElementsU) 72
|
||||||
78: 75 Load 77(g_tTex1di4a)
|
77: 74 Load 76(g_tTex1di4a)
|
||||||
79: 65(ivec2) ImageQuerySize 78
|
78: 58(ivec2) ImageQuerySize 77
|
||||||
Store 74(sizeQueryTemp) 79
|
Store 73(sizeQueryTemp) 78
|
||||||
80: 13(ptr) AccessChain 74(sizeQueryTemp) 67
|
79: 13(ptr) AccessChain 73(sizeQueryTemp) 66
|
||||||
81: 12(int) Load 80
|
80: 12(int) Load 79
|
||||||
Store 21(WidthU) 81
|
Store 20(WidthU) 80
|
||||||
82: 13(ptr) AccessChain 74(sizeQueryTemp) 71
|
81: 13(ptr) AccessChain 73(sizeQueryTemp) 70
|
||||||
83: 12(int) Load 82
|
82: 12(int) Load 81
|
||||||
Store 70(ElementsU) 83
|
Store 69(ElementsU) 82
|
||||||
88: 85 Load 87(g_tTex1du4a)
|
87: 84 Load 86(g_tTex1du4a)
|
||||||
89: 65(ivec2) ImageQuerySize 88
|
88: 58(ivec2) ImageQuerySize 87
|
||||||
Store 84(sizeQueryTemp) 89
|
Store 83(sizeQueryTemp) 88
|
||||||
90: 13(ptr) AccessChain 84(sizeQueryTemp) 67
|
89: 13(ptr) AccessChain 83(sizeQueryTemp) 66
|
||||||
91: 12(int) Load 90
|
90: 12(int) Load 89
|
||||||
Store 21(WidthU) 91
|
Store 20(WidthU) 90
|
||||||
92: 13(ptr) AccessChain 84(sizeQueryTemp) 71
|
91: 13(ptr) AccessChain 83(sizeQueryTemp) 70
|
||||||
93: 12(int) Load 92
|
92: 12(int) Load 91
|
||||||
Store 70(ElementsU) 93
|
Store 69(ElementsU) 92
|
||||||
98: 95 Load 97(g_tTex2df4)
|
97: 94 Load 96(g_tTex2df4)
|
||||||
99: 65(ivec2) ImageQuerySize 98
|
98: 58(ivec2) ImageQuerySize 97
|
||||||
Store 94(sizeQueryTemp) 99
|
Store 93(sizeQueryTemp) 98
|
||||||
100: 13(ptr) AccessChain 94(sizeQueryTemp) 67
|
99: 13(ptr) AccessChain 93(sizeQueryTemp) 66
|
||||||
101: 12(int) Load 100
|
100: 12(int) Load 99
|
||||||
Store 21(WidthU) 101
|
Store 20(WidthU) 100
|
||||||
103: 13(ptr) AccessChain 94(sizeQueryTemp) 71
|
102: 13(ptr) AccessChain 93(sizeQueryTemp) 70
|
||||||
104: 12(int) Load 103
|
103: 12(int) Load 102
|
||||||
Store 102(HeightU) 104
|
Store 101(HeightU) 103
|
||||||
109: 106 Load 108(g_tTex2di4)
|
108: 105 Load 107(g_tTex2di4)
|
||||||
110: 65(ivec2) ImageQuerySize 109
|
109: 58(ivec2) ImageQuerySize 108
|
||||||
Store 105(sizeQueryTemp) 110
|
Store 104(sizeQueryTemp) 109
|
||||||
111: 13(ptr) AccessChain 105(sizeQueryTemp) 67
|
110: 13(ptr) AccessChain 104(sizeQueryTemp) 66
|
||||||
112: 12(int) Load 111
|
111: 12(int) Load 110
|
||||||
Store 21(WidthU) 112
|
Store 20(WidthU) 111
|
||||||
113: 13(ptr) AccessChain 105(sizeQueryTemp) 71
|
112: 13(ptr) AccessChain 104(sizeQueryTemp) 70
|
||||||
114: 12(int) Load 113
|
113: 12(int) Load 112
|
||||||
Store 102(HeightU) 114
|
Store 101(HeightU) 113
|
||||||
119: 116 Load 118(g_tTex2du4)
|
118: 115 Load 117(g_tTex2du4)
|
||||||
120: 65(ivec2) ImageQuerySize 119
|
119: 58(ivec2) ImageQuerySize 118
|
||||||
Store 115(sizeQueryTemp) 120
|
Store 114(sizeQueryTemp) 119
|
||||||
121: 13(ptr) AccessChain 115(sizeQueryTemp) 67
|
120: 13(ptr) AccessChain 114(sizeQueryTemp) 66
|
||||||
122: 12(int) Load 121
|
121: 12(int) Load 120
|
||||||
Store 21(WidthU) 122
|
Store 20(WidthU) 121
|
||||||
123: 13(ptr) AccessChain 115(sizeQueryTemp) 71
|
122: 13(ptr) AccessChain 114(sizeQueryTemp) 70
|
||||||
124: 12(int) Load 123
|
123: 12(int) Load 122
|
||||||
Store 102(HeightU) 124
|
Store 101(HeightU) 123
|
||||||
131: 128 Load 130(g_tTex2df4a)
|
130: 127 Load 129(g_tTex2df4a)
|
||||||
133: 132(ivec3) ImageQuerySize 131
|
131: 124(ivec3) ImageQuerySize 130
|
||||||
Store 127(sizeQueryTemp) 133
|
Store 126(sizeQueryTemp) 131
|
||||||
134: 13(ptr) AccessChain 127(sizeQueryTemp) 67
|
132: 13(ptr) AccessChain 126(sizeQueryTemp) 66
|
||||||
|
133: 12(int) Load 132
|
||||||
|
Store 20(WidthU) 133
|
||||||
|
134: 13(ptr) AccessChain 126(sizeQueryTemp) 70
|
||||||
135: 12(int) Load 134
|
135: 12(int) Load 134
|
||||||
Store 21(WidthU) 135
|
Store 101(HeightU) 135
|
||||||
136: 13(ptr) AccessChain 127(sizeQueryTemp) 71
|
137: 13(ptr) AccessChain 126(sizeQueryTemp) 136
|
||||||
137: 12(int) Load 136
|
138: 12(int) Load 137
|
||||||
Store 102(HeightU) 137
|
Store 69(ElementsU) 138
|
||||||
139: 13(ptr) AccessChain 127(sizeQueryTemp) 138
|
143: 140 Load 142(g_tTex2di4a)
|
||||||
140: 12(int) Load 139
|
144: 124(ivec3) ImageQuerySize 143
|
||||||
Store 70(ElementsU) 140
|
Store 139(sizeQueryTemp) 144
|
||||||
145: 142 Load 144(g_tTex2di4a)
|
145: 13(ptr) AccessChain 139(sizeQueryTemp) 66
|
||||||
146: 132(ivec3) ImageQuerySize 145
|
146: 12(int) Load 145
|
||||||
Store 141(sizeQueryTemp) 146
|
Store 20(WidthU) 146
|
||||||
147: 13(ptr) AccessChain 141(sizeQueryTemp) 67
|
147: 13(ptr) AccessChain 139(sizeQueryTemp) 70
|
||||||
148: 12(int) Load 147
|
148: 12(int) Load 147
|
||||||
Store 21(WidthU) 148
|
Store 101(HeightU) 148
|
||||||
149: 13(ptr) AccessChain 141(sizeQueryTemp) 71
|
149: 13(ptr) AccessChain 139(sizeQueryTemp) 136
|
||||||
150: 12(int) Load 149
|
150: 12(int) Load 149
|
||||||
Store 102(HeightU) 150
|
Store 69(ElementsU) 150
|
||||||
151: 13(ptr) AccessChain 141(sizeQueryTemp) 138
|
155: 152 Load 154(g_tTex2du4a)
|
||||||
152: 12(int) Load 151
|
156: 124(ivec3) ImageQuerySize 155
|
||||||
Store 70(ElementsU) 152
|
Store 151(sizeQueryTemp) 156
|
||||||
157: 154 Load 156(g_tTex2du4a)
|
157: 13(ptr) AccessChain 151(sizeQueryTemp) 66
|
||||||
158: 132(ivec3) ImageQuerySize 157
|
158: 12(int) Load 157
|
||||||
Store 153(sizeQueryTemp) 158
|
Store 20(WidthU) 158
|
||||||
159: 13(ptr) AccessChain 153(sizeQueryTemp) 67
|
159: 13(ptr) AccessChain 151(sizeQueryTemp) 70
|
||||||
160: 12(int) Load 159
|
160: 12(int) Load 159
|
||||||
Store 21(WidthU) 160
|
Store 101(HeightU) 160
|
||||||
161: 13(ptr) AccessChain 153(sizeQueryTemp) 71
|
161: 13(ptr) AccessChain 151(sizeQueryTemp) 136
|
||||||
162: 12(int) Load 161
|
162: 12(int) Load 161
|
||||||
Store 102(HeightU) 162
|
Store 69(ElementsU) 162
|
||||||
163: 13(ptr) AccessChain 153(sizeQueryTemp) 138
|
167: 164 Load 166(g_tTex3df4)
|
||||||
164: 12(int) Load 163
|
168: 124(ivec3) ImageQuerySize 167
|
||||||
Store 70(ElementsU) 164
|
Store 163(sizeQueryTemp) 168
|
||||||
169: 166 Load 168(g_tTex3df4)
|
169: 13(ptr) AccessChain 163(sizeQueryTemp) 66
|
||||||
170: 132(ivec3) ImageQuerySize 169
|
170: 12(int) Load 169
|
||||||
Store 165(sizeQueryTemp) 170
|
Store 20(WidthU) 170
|
||||||
171: 13(ptr) AccessChain 165(sizeQueryTemp) 67
|
171: 13(ptr) AccessChain 163(sizeQueryTemp) 70
|
||||||
172: 12(int) Load 171
|
172: 12(int) Load 171
|
||||||
Store 21(WidthU) 172
|
Store 101(HeightU) 172
|
||||||
173: 13(ptr) AccessChain 165(sizeQueryTemp) 71
|
174: 13(ptr) AccessChain 163(sizeQueryTemp) 136
|
||||||
174: 12(int) Load 173
|
175: 12(int) Load 174
|
||||||
Store 102(HeightU) 174
|
Store 173(DepthU) 175
|
||||||
176: 13(ptr) AccessChain 165(sizeQueryTemp) 138
|
180: 177 Load 179(g_tTex3di4)
|
||||||
177: 12(int) Load 176
|
181: 124(ivec3) ImageQuerySize 180
|
||||||
Store 175(DepthU) 177
|
Store 176(sizeQueryTemp) 181
|
||||||
182: 179 Load 181(g_tTex3di4)
|
182: 13(ptr) AccessChain 176(sizeQueryTemp) 66
|
||||||
183: 132(ivec3) ImageQuerySize 182
|
183: 12(int) Load 182
|
||||||
Store 178(sizeQueryTemp) 183
|
Store 20(WidthU) 183
|
||||||
184: 13(ptr) AccessChain 178(sizeQueryTemp) 67
|
184: 13(ptr) AccessChain 176(sizeQueryTemp) 70
|
||||||
185: 12(int) Load 184
|
185: 12(int) Load 184
|
||||||
Store 21(WidthU) 185
|
Store 101(HeightU) 185
|
||||||
186: 13(ptr) AccessChain 178(sizeQueryTemp) 71
|
186: 13(ptr) AccessChain 176(sizeQueryTemp) 136
|
||||||
187: 12(int) Load 186
|
187: 12(int) Load 186
|
||||||
Store 102(HeightU) 187
|
Store 173(DepthU) 187
|
||||||
188: 13(ptr) AccessChain 178(sizeQueryTemp) 138
|
192: 189 Load 191(g_tTex3du4)
|
||||||
189: 12(int) Load 188
|
193: 124(ivec3) ImageQuerySize 192
|
||||||
Store 175(DepthU) 189
|
Store 188(sizeQueryTemp) 193
|
||||||
194: 191 Load 193(g_tTex3du4)
|
194: 13(ptr) AccessChain 188(sizeQueryTemp) 66
|
||||||
195: 132(ivec3) ImageQuerySize 194
|
195: 12(int) Load 194
|
||||||
Store 190(sizeQueryTemp) 195
|
Store 20(WidthU) 195
|
||||||
196: 13(ptr) AccessChain 190(sizeQueryTemp) 67
|
196: 13(ptr) AccessChain 188(sizeQueryTemp) 70
|
||||||
197: 12(int) Load 196
|
197: 12(int) Load 196
|
||||||
Store 21(WidthU) 197
|
Store 101(HeightU) 197
|
||||||
198: 13(ptr) AccessChain 190(sizeQueryTemp) 71
|
198: 13(ptr) AccessChain 188(sizeQueryTemp) 136
|
||||||
199: 12(int) Load 198
|
199: 12(int) Load 198
|
||||||
Store 102(HeightU) 199
|
Store 173(DepthU) 199
|
||||||
200: 13(ptr) AccessChain 190(sizeQueryTemp) 138
|
206: 205(ptr) AccessChain 201(psout) 202
|
||||||
201: 12(int) Load 200
|
Store 206 204
|
||||||
Store 175(DepthU) 201
|
209: 208(ptr) AccessChain 201(psout) 207
|
||||||
208: 207(ptr) AccessChain 203(psout) 204
|
Store 209 203
|
||||||
Store 208 206
|
210:8(PS_OUTPUT) Load 201(psout)
|
||||||
211: 210(ptr) AccessChain 203(psout) 209
|
ReturnValue 210
|
||||||
Store 211 205
|
|
||||||
212:8(PS_OUTPUT) Load 203(psout)
|
|
||||||
ReturnValue 212
|
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
@ -1288,37 +1288,37 @@ gl_FragCoord origin is upper left
|
|||||||
276: 6(float) CompositeExtract 275 0
|
276: 6(float) CompositeExtract 275 0
|
||||||
Store 268(r51) 276
|
Store 268(r51) 276
|
||||||
281: 278 Load 280(g_tTex1df4)
|
281: 278 Load 280(g_tTex1df4)
|
||||||
282: 14(int) ImageQuerySizeLod 281 53
|
282: 15(int) ImageQuerySizeLod 281 53
|
||||||
Store 277(sizeQueryTemp) 282
|
Store 277(sizeQueryTemp) 282
|
||||||
284: 15(int) Load 277(sizeQueryTemp)
|
284: 15(int) Load 277(sizeQueryTemp)
|
||||||
285: 14(int) Bitcast 284
|
285: 14(int) Bitcast 284
|
||||||
Store 283(WidthI) 285
|
Store 283(WidthI) 285
|
||||||
287: 278 Load 280(g_tTex1df4)
|
287: 278 Load 280(g_tTex1df4)
|
||||||
289: 14(int) ImageQuerySizeLod 287 288
|
289: 15(int) ImageQuerySizeLod 287 288
|
||||||
Store 286(sizeQueryTemp) 289
|
Store 286(sizeQueryTemp) 289
|
||||||
290: 15(int) Load 286(sizeQueryTemp)
|
290: 15(int) Load 286(sizeQueryTemp)
|
||||||
291: 14(int) Bitcast 290
|
291: 14(int) Bitcast 290
|
||||||
Store 283(WidthI) 291
|
Store 283(WidthI) 291
|
||||||
293: 278 Load 280(g_tTex1df4)
|
293: 278 Load 280(g_tTex1df4)
|
||||||
294: 14(int) ImageQueryLevels 293
|
294: 15(int) ImageQueryLevels 293
|
||||||
Store 292(NumberOfLevelsU) 294
|
Store 292(NumberOfLevelsU) 294
|
||||||
296: 278 Load 280(g_tTex1df4)
|
296: 278 Load 280(g_tTex1df4)
|
||||||
297: 14(int) ImageQuerySizeLod 296 288
|
297: 15(int) ImageQuerySizeLod 296 288
|
||||||
Store 295(sizeQueryTemp) 297
|
Store 295(sizeQueryTemp) 297
|
||||||
299: 15(int) Load 295(sizeQueryTemp)
|
299: 15(int) Load 295(sizeQueryTemp)
|
||||||
Store 298(WidthU) 299
|
Store 298(WidthU) 299
|
||||||
301: 278 Load 280(g_tTex1df4)
|
301: 278 Load 280(g_tTex1df4)
|
||||||
302: 14(int) ImageQueryLevels 301
|
302: 15(int) ImageQueryLevels 301
|
||||||
303: 14(int) Bitcast 302
|
303: 14(int) Bitcast 302
|
||||||
Store 300(NumberOfLevelsI) 303
|
Store 300(NumberOfLevelsI) 303
|
||||||
305: 278 Load 280(g_tTex1df4)
|
305: 278 Load 280(g_tTex1df4)
|
||||||
306: 14(int) ImageQuerySizeLod 305 288
|
306: 15(int) ImageQuerySizeLod 305 288
|
||||||
Store 304(sizeQueryTemp) 306
|
Store 304(sizeQueryTemp) 306
|
||||||
307: 15(int) Load 304(sizeQueryTemp)
|
307: 15(int) Load 304(sizeQueryTemp)
|
||||||
308: 14(int) Bitcast 307
|
308: 14(int) Bitcast 307
|
||||||
Store 283(WidthI) 308
|
Store 283(WidthI) 308
|
||||||
309: 278 Load 280(g_tTex1df4)
|
309: 278 Load 280(g_tTex1df4)
|
||||||
310: 14(int) ImageQueryLevels 309
|
310: 15(int) ImageQueryLevels 309
|
||||||
311: 14(int) Bitcast 310
|
311: 14(int) Bitcast 310
|
||||||
Store 300(NumberOfLevelsI) 311
|
Store 300(NumberOfLevelsI) 311
|
||||||
314: 6(float) Load 13(r00)
|
314: 6(float) Load 13(r00)
|
||||||
|
@ -314,37 +314,37 @@ gl_FragCoord origin is upper left
|
|||||||
23: 6(float) Load 22
|
23: 6(float) Load 22
|
||||||
26: 6(float) ExtInst 1(GLSL.std.450) 43(FClamp) 23 24 25
|
26: 6(float) ExtInst 1(GLSL.std.450) 43(FClamp) 23 24 25
|
||||||
32: 29 Load 31(g_tTex1df4)
|
32: 29 Load 31(g_tTex1df4)
|
||||||
34: 12(int) ImageQuerySizeLod 32 33
|
34: 13(int) ImageQuerySizeLod 32 33
|
||||||
Store 28(sizeQueryTemp) 34
|
Store 28(sizeQueryTemp) 34
|
||||||
37: 13(int) Load 28(sizeQueryTemp)
|
37: 13(int) Load 28(sizeQueryTemp)
|
||||||
38: 12(int) Bitcast 37
|
38: 12(int) Bitcast 37
|
||||||
Store 36(WidthI) 38
|
Store 36(WidthI) 38
|
||||||
40: 29 Load 31(g_tTex1df4)
|
40: 29 Load 31(g_tTex1df4)
|
||||||
42: 12(int) ImageQuerySizeLod 40 41
|
42: 13(int) ImageQuerySizeLod 40 41
|
||||||
Store 39(sizeQueryTemp) 42
|
Store 39(sizeQueryTemp) 42
|
||||||
43: 13(int) Load 39(sizeQueryTemp)
|
43: 13(int) Load 39(sizeQueryTemp)
|
||||||
44: 12(int) Bitcast 43
|
44: 12(int) Bitcast 43
|
||||||
Store 36(WidthI) 44
|
Store 36(WidthI) 44
|
||||||
46: 29 Load 31(g_tTex1df4)
|
46: 29 Load 31(g_tTex1df4)
|
||||||
47: 12(int) ImageQueryLevels 46
|
47: 13(int) ImageQueryLevels 46
|
||||||
Store 45(NumberOfLevelsU) 47
|
Store 45(NumberOfLevelsU) 47
|
||||||
49: 29 Load 31(g_tTex1df4)
|
49: 29 Load 31(g_tTex1df4)
|
||||||
50: 12(int) ImageQuerySizeLod 49 41
|
50: 13(int) ImageQuerySizeLod 49 41
|
||||||
Store 48(sizeQueryTemp) 50
|
Store 48(sizeQueryTemp) 50
|
||||||
52: 13(int) Load 48(sizeQueryTemp)
|
52: 13(int) Load 48(sizeQueryTemp)
|
||||||
Store 51(WidthU) 52
|
Store 51(WidthU) 52
|
||||||
54: 29 Load 31(g_tTex1df4)
|
54: 29 Load 31(g_tTex1df4)
|
||||||
55: 12(int) ImageQueryLevels 54
|
55: 13(int) ImageQueryLevels 54
|
||||||
56: 12(int) Bitcast 55
|
56: 12(int) Bitcast 55
|
||||||
Store 53(NumberOfLevelsI) 56
|
Store 53(NumberOfLevelsI) 56
|
||||||
58: 29 Load 31(g_tTex1df4)
|
58: 29 Load 31(g_tTex1df4)
|
||||||
59: 12(int) ImageQuerySizeLod 58 41
|
59: 13(int) ImageQuerySizeLod 58 41
|
||||||
Store 57(sizeQueryTemp) 59
|
Store 57(sizeQueryTemp) 59
|
||||||
60: 13(int) Load 57(sizeQueryTemp)
|
60: 13(int) Load 57(sizeQueryTemp)
|
||||||
61: 12(int) Bitcast 60
|
61: 12(int) Bitcast 60
|
||||||
Store 36(WidthI) 61
|
Store 36(WidthI) 61
|
||||||
62: 29 Load 31(g_tTex1df4)
|
62: 29 Load 31(g_tTex1df4)
|
||||||
63: 12(int) ImageQueryLevels 62
|
63: 13(int) ImageQueryLevels 62
|
||||||
64: 12(int) Bitcast 63
|
64: 12(int) Bitcast 63
|
||||||
Store 53(NumberOfLevelsI) 64
|
Store 53(NumberOfLevelsI) 64
|
||||||
69: 68(ptr) AccessChain 66(ps_output) 33
|
69: 68(ptr) AccessChain 66(ps_output) 33
|
||||||
|
Loading…
x
Reference in New Issue
Block a user