1. Pull OpDebugFunction, OpDebugScope and OpDebugVariable for params out of makeFunctionEntry. 2. Put above in a separate function called setupDebugFunctionEntry, which also accept line number and set it correctly in builder. 3. Call setupDebugFunctionEntry in makeFunction. Also special case handle entry function since it's created ealier elsewhere.
921 lines
56 KiB
Text
921 lines
56 KiB
Text
spv.debuginfo.hlsl.tesc
|
|
WARNING: 0:158: '' : attribute does not apply to entry point
|
|
|
|
// Module Version 10000
|
|
// Generated by (magic number): 8000b
|
|
// Id's are bound by 692
|
|
|
|
Capability Tessellation
|
|
Extension "SPV_KHR_non_semantic_info"
|
|
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
|
3: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint TessellationControl 6 "main" 584 591 598 632 641 648 655 670 685
|
|
ExecutionMode 6 OutputVertices 4
|
|
ExecutionMode 6 Quads
|
|
ExecutionMode 6 SpacingEqual
|
|
ExecutionMode 6 VertexOrderCw
|
|
1: String ""
|
|
9: String "float"
|
|
12: String "uint"
|
|
28: String "screenSpaceTessFactor"
|
|
31: String "// OpModuleProcessed auto-map-locations
|
|
// OpModuleProcessed auto-map-bindings
|
|
// OpModuleProcessed entry-point main
|
|
// OpModuleProcessed client vulkan100
|
|
// OpModuleProcessed target-env vulkan1.0
|
|
// OpModuleProcessed keep-uncalled
|
|
// OpModuleProcessed hlsl-offsets
|
|
#line 1
|
|
"
|
|
39: String "p0"
|
|
43: String "p1"
|
|
50: String "bool"
|
|
58: String "frustumCheck"
|
|
64: String "Pos"
|
|
67: String "inUV"
|
|
76: String "Normal"
|
|
80: String "UV"
|
|
84: String "VSOutput"
|
|
94: String "TessLevelOuter"
|
|
98: String "TessLevelInner"
|
|
101: String "ConstantsHSOutput"
|
|
107: String "ConstantsHS"
|
|
113: String "patch"
|
|
124: String "HSOutput"
|
|
131: String "@main"
|
|
139: String "InvocationID"
|
|
147: String "midPoint"
|
|
159: String "radius"
|
|
170: String "v0"
|
|
180: String "modelview"
|
|
185: String "lightPos"
|
|
189: String "frustumPlanes"
|
|
192: String "tessellatedEdgeSize"
|
|
196: String "viewportDim"
|
|
200: String "UBO"
|
|
203: String "ubo"
|
|
211: String "int"
|
|
223: String "clip0"
|
|
241: String "clip1"
|
|
316: String "pos"
|
|
323: String "type.2d.image"
|
|
324: String "@type.2d.image"
|
|
329: String "textureHeight"
|
|
333: String "type.sampler"
|
|
334: String "@type.sampler"
|
|
338: String "samplerHeight"
|
|
342: String "type.sampled.image"
|
|
343: String "@type.sampled.image"
|
|
361: String "i"
|
|
414: String "output"
|
|
Name 6 "main"
|
|
Name 26 "screenSpaceTessFactor(vf4;vf4;"
|
|
Name 24 "p0"
|
|
Name 25 "p1"
|
|
Name 56 "frustumCheck(vf4;vf2;"
|
|
Name 54 "Pos"
|
|
Name 55 "inUV"
|
|
Name 71 "VSOutput"
|
|
MemberName 71(VSOutput) 0 "Pos"
|
|
MemberName 71(VSOutput) 1 "Normal"
|
|
MemberName 71(VSOutput) 2 "UV"
|
|
Name 92 "ConstantsHSOutput"
|
|
MemberName 92(ConstantsHSOutput) 0 "TessLevelOuter"
|
|
MemberName 92(ConstantsHSOutput) 1 "TessLevelInner"
|
|
Name 105 "ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];"
|
|
Name 104 "patch"
|
|
Name 116 "HSOutput"
|
|
MemberName 116(HSOutput) 0 "Pos"
|
|
MemberName 116(HSOutput) 1 "Normal"
|
|
MemberName 116(HSOutput) 2 "UV"
|
|
Name 129 "@main(struct-VSOutput-vf4-vf3-vf21[4];u1;"
|
|
Name 127 "patch"
|
|
Name 128 "InvocationID"
|
|
Name 145 "midPoint"
|
|
Name 157 "radius"
|
|
Name 168 "v0"
|
|
Name 178 "UBO"
|
|
MemberName 178(UBO) 0 "projection"
|
|
MemberName 178(UBO) 1 "modelview"
|
|
MemberName 178(UBO) 2 "lightPos"
|
|
MemberName 178(UBO) 3 "frustumPlanes"
|
|
MemberName 178(UBO) 4 "displacementFactor"
|
|
MemberName 178(UBO) 5 "tessellationFactor"
|
|
MemberName 178(UBO) 6 "viewportDim"
|
|
MemberName 178(UBO) 7 "tessellatedEdgeSize"
|
|
Name 201 "ubo"
|
|
MemberName 201(ubo) 0 "ubo"
|
|
Name 207 ""
|
|
Name 221 "clip0"
|
|
Name 239 "clip1"
|
|
Name 314 "pos"
|
|
Name 327 "textureHeight"
|
|
Name 336 "samplerHeight"
|
|
Name 359 "i"
|
|
Name 412 "output"
|
|
Name 422 "param"
|
|
Name 425 "param"
|
|
Name 466 "param"
|
|
Name 469 "param"
|
|
Name 476 "param"
|
|
Name 479 "param"
|
|
Name 486 "param"
|
|
Name 489 "param"
|
|
Name 496 "param"
|
|
Name 499 "param"
|
|
Name 551 "output"
|
|
Name 581 "patch"
|
|
Name 584 "patch.Pos"
|
|
Name 591 "patch.Normal"
|
|
Name 598 "patch.UV"
|
|
Name 630 "InvocationID"
|
|
Name 632 "InvocationID"
|
|
Name 634 "flattenTemp"
|
|
Name 635 "param"
|
|
Name 637 "param"
|
|
Name 641 "@entryPointOutput.Pos"
|
|
Name 648 "@entryPointOutput.Normal"
|
|
Name 655 "@entryPointOutput.UV"
|
|
Name 665 "@patchConstantResult"
|
|
Name 666 "param"
|
|
Name 670 "@patchConstantOutput.TessLevelOuter"
|
|
Name 685 "@patchConstantOutput.TessLevelInner"
|
|
Decorate 176 ArrayStride 16
|
|
MemberDecorate 178(UBO) 0 RowMajor
|
|
MemberDecorate 178(UBO) 0 Offset 0
|
|
MemberDecorate 178(UBO) 0 MatrixStride 16
|
|
MemberDecorate 178(UBO) 1 RowMajor
|
|
MemberDecorate 178(UBO) 1 Offset 64
|
|
MemberDecorate 178(UBO) 1 MatrixStride 16
|
|
MemberDecorate 178(UBO) 2 Offset 128
|
|
MemberDecorate 178(UBO) 3 Offset 144
|
|
MemberDecorate 178(UBO) 4 Offset 240
|
|
MemberDecorate 178(UBO) 5 Offset 244
|
|
MemberDecorate 178(UBO) 6 Offset 248
|
|
MemberDecorate 178(UBO) 7 Offset 256
|
|
MemberDecorate 201(ubo) 0 Offset 0
|
|
Decorate 201(ubo) Block
|
|
Decorate 207 DescriptorSet 0
|
|
Decorate 207 Binding 0
|
|
Decorate 327(textureHeight) DescriptorSet 0
|
|
Decorate 327(textureHeight) Binding 1
|
|
Decorate 336(samplerHeight) DescriptorSet 0
|
|
Decorate 336(samplerHeight) Binding 1
|
|
Decorate 584(patch.Pos) BuiltIn Position
|
|
Decorate 591(patch.Normal) Location 0
|
|
Decorate 598(patch.UV) Location 1
|
|
Decorate 632(InvocationID) BuiltIn InvocationId
|
|
Decorate 641(@entryPointOutput.Pos) BuiltIn Position
|
|
Decorate 648(@entryPointOutput.Normal) Location 0
|
|
Decorate 655(@entryPointOutput.UV) Location 1
|
|
Decorate 670(@patchConstantOutput.TessLevelOuter) Patch
|
|
Decorate 670(@patchConstantOutput.TessLevelOuter) BuiltIn TessLevelOuter
|
|
Decorate 685(@patchConstantOutput.TessLevelInner) Patch
|
|
Decorate 685(@patchConstantOutput.TessLevelInner) BuiltIn TessLevelInner
|
|
4: TypeVoid
|
|
5: TypeFunction 4
|
|
8: TypeFloat 32
|
|
11: TypeInt 32 0
|
|
14: 11(int) Constant 32
|
|
15: 11(int) Constant 6
|
|
16: 11(int) Constant 0
|
|
13: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 12 14 15 16
|
|
17: 11(int) Constant 3
|
|
10: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 14 17 16
|
|
18: TypeVector 8(float) 4
|
|
19: 11(int) Constant 4
|
|
20: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 19
|
|
21: TypePointer Function 18(fvec4)
|
|
22: TypeFunction 8(float) 21(ptr) 21(ptr)
|
|
23: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 10 20 20
|
|
30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 31
|
|
32: 11(int) Constant 65
|
|
34: 11(int) Constant 1
|
|
35: 11(int) Constant 5
|
|
33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 34 19 30 35
|
|
29: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 28 23 30 32 16 33 28 17 32
|
|
38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 39 20 30 32 16 29 19 34
|
|
41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
|
44: 11(int) Constant 2
|
|
42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 43 20 30 32 16 29 19 44
|
|
46: TypeVector 8(float) 2
|
|
47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 44
|
|
48: TypePointer Function 46(fvec2)
|
|
49: TypeBool
|
|
51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
|
|
52: TypeFunction 49(bool) 21(ptr) 48(ptr)
|
|
53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 51 20 47
|
|
60: 11(int) Constant 95
|
|
59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 58 53 30 60 16 33 58 17 60
|
|
63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 64 20 30 60 16 59 19 34
|
|
66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 67 47 30 60 16 59 19 44
|
|
69: TypeVector 8(float) 3
|
|
70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17
|
|
71(VSOutput): TypeStruct 18(fvec4) 69(fvec3) 46(fvec2)
|
|
73: 11(int) Constant 44
|
|
74: 11(int) Constant 13
|
|
72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 64 20 30 73 74 16 16 17
|
|
77: 11(int) Constant 45
|
|
78: 11(int) Constant 35
|
|
75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 76 70 30 77 78 16 16 17
|
|
81: 11(int) Constant 46
|
|
82: 11(int) Constant 31
|
|
79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 80 47 30 81 82 16 16 17
|
|
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 84 34 30 60 16 33 84 16 17 72 75 79
|
|
85: TypeArray 71(VSOutput) 19
|
|
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 83 19
|
|
87: TypePointer Function 85
|
|
88: TypeArray 8(float) 19
|
|
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 10 19
|
|
90: TypeArray 8(float) 44
|
|
91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 10 44
|
|
92(ConstantsHSOutput): TypeStruct 88 90
|
|
95: 11(int) Constant 58
|
|
96: 11(int) Constant 25
|
|
93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 94 89 30 95 96 16 16 17
|
|
99: 11(int) Constant 59
|
|
97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 98 91 30 99 96 16 16 17
|
|
100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 101 34 30 60 16 33 101 16 17 93 97
|
|
102: TypeFunction 92(ConstantsHSOutput) 87(ptr)
|
|
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 100 86
|
|
109: 11(int) Constant 112
|
|
108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 107 103 30 109 16 33 107 17 109
|
|
112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 113 86 30 109 16 108 19 34
|
|
115: TypePointer Function 11(int)
|
|
116(HSOutput): TypeStruct 18(fvec4) 69(fvec3) 46(fvec2)
|
|
118: 11(int) Constant 51
|
|
117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 64 20 30 118 14 16 16 17
|
|
120: 11(int) Constant 52
|
|
119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 76 70 30 120 78 16 16 17
|
|
122: 11(int) Constant 53
|
|
121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 80 47 30 122 82 16 16 17
|
|
123: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 124 34 30 109 16 33 124 16 17 117 119 121
|
|
125: TypeFunction 116(HSOutput) 87(ptr) 115(ptr)
|
|
126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 123 86 13
|
|
133: 11(int) Constant 158
|
|
132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 131 126 30 133 16 33 131 17 133
|
|
136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 113 86 30 133 16 132 19 34
|
|
138: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 139 13 30 133 16 132 19 44
|
|
144: 11(int) Constant 67
|
|
146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 147 20 30 144 16 29 19
|
|
149: 8(float) Constant 1056964608
|
|
155: 11(int) Constant 69
|
|
156: TypePointer Function 8(float)
|
|
158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 159 10 30 155 16 29 19
|
|
164: 8(float) Constant 1073741824
|
|
167: 11(int) Constant 72
|
|
169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 170 20 30 167 16 29 19
|
|
173: TypeMatrix 18(fvec4) 4
|
|
175: 49(bool) ConstantTrue
|
|
174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 175
|
|
176: TypeArray 18(fvec4) 15
|
|
177: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 20 15
|
|
178(UBO): TypeStruct 173 173 18(fvec4) 176 8(float) 8(float) 46(fvec2) 8(float)
|
|
181: 11(int) Constant 29
|
|
182: 11(int) Constant 20
|
|
179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 180 174 30 181 182 16 16 17
|
|
183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 180 174 30 181 182 16 16 17
|
|
186: 11(int) Constant 30
|
|
187: 11(int) Constant 17
|
|
184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 185 20 30 186 187 16 16 17
|
|
190: 11(int) Constant 22
|
|
188: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 189 177 30 82 190 16 16 17
|
|
193: 11(int) Constant 27
|
|
191: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 192 10 30 78 193 16 16 17
|
|
194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 192 10 30 78 193 16 16 17
|
|
197: 11(int) Constant 34
|
|
195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 196 47 30 197 182 16 16 17
|
|
198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 192 10 30 78 193 16 16 17
|
|
199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 200 34 30 167 16 33 200 16 17 179 183 184 188 191 194 195 198
|
|
201(ubo): TypeStruct 178(UBO)
|
|
204: 11(int) Constant 37
|
|
202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 203 199 30 204 204 16 16 17
|
|
205: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 203 34 30 167 16 33 203 16 17 202
|
|
206: TypePointer Uniform 201(ubo)
|
|
207: 206(ptr) Variable Uniform
|
|
209: 11(int) Constant 8
|
|
208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 205 30 167 16 33 1 207 209
|
|
210: TypeInt 32 1
|
|
212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 211 14 19 16
|
|
213: 210(int) Constant 0
|
|
214: 210(int) Constant 1
|
|
215: TypePointer Uniform 173
|
|
220: 11(int) Constant 75
|
|
222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 223 20 30 220 16 29 19
|
|
227: 8(float) Constant 0
|
|
228: 69(fvec3) ConstantComposite 227 227 227
|
|
238: 11(int) Constant 76
|
|
240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 241 20 30 238 16 29 19
|
|
254: 11(int) Constant 79
|
|
261: 11(int) Constant 80
|
|
268: 11(int) Constant 83
|
|
269: 210(int) Constant 6
|
|
270: TypePointer Uniform 46(fvec2)
|
|
281: 11(int) Constant 84
|
|
292: 11(int) Constant 89
|
|
296: 210(int) Constant 7
|
|
297: TypePointer Uniform 8(float)
|
|
301: 210(int) Constant 5
|
|
305: 8(float) Constant 1065353216
|
|
306: 8(float) Constant 1115684864
|
|
313: 11(int) Constant 98
|
|
315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 316 20 30 313 16 59 19
|
|
320: 11(int) Constant 99
|
|
321: TypeImage 8(float) 2D sampled format:Unknown
|
|
325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
|
|
322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 323 16 30 320 16 33 324 325 17
|
|
326: TypePointer UniformConstant 321
|
|
327(textureHeight): 326(ptr) Variable UniformConstant
|
|
328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 329 322 30 320 16 33 329 327(textureHeight) 209
|
|
331: TypeSampler
|
|
332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 333 34 30 320 16 33 334 325 17
|
|
335: TypePointer UniformConstant 331
|
|
336(samplerHeight): 335(ptr) Variable UniformConstant
|
|
337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 338 332 30 320 16 33 338 336(samplerHeight) 209
|
|
340: TypeSampledImage 321
|
|
341: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 342 16 30 320 16 33 343 325 17
|
|
348: 210(int) Constant 4
|
|
357: 11(int) Constant 102
|
|
358: TypePointer Function 210(int)
|
|
360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 361 212 30 357 16 59 19
|
|
373: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
|
|
377: 11(int) Constant 103
|
|
379: 210(int) Constant 3
|
|
381: TypePointer Uniform 18(fvec4)
|
|
385: 8(float) Constant 1090519040
|
|
387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
|
|
391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
|
|
392: 49(bool) ConstantFalse
|
|
395: 11(int) Constant 105
|
|
401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
|
|
404: 11(int) Constant 108
|
|
410: 11(int) Constant 113
|
|
411: TypePointer Function 92(ConstantsHSOutput)
|
|
413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 414 100 30 410 16 108 19
|
|
416: 88 ConstantComposite 227 227 227 227
|
|
417: 90 ConstantComposite 227 227
|
|
418:92(ConstantsHSOutput) ConstantComposite 416 417
|
|
420: 11(int) Constant 115
|
|
421: 210(int) Constant 2
|
|
429: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
|
|
430: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
|
|
436: 11(int) Constant 117
|
|
439: 11(int) Constant 118
|
|
442: 11(int) Constant 119
|
|
445: 11(int) Constant 120
|
|
448: 11(int) Constant 121
|
|
451: 11(int) Constant 122
|
|
456: 11(int) Constant 126
|
|
459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
|
|
465: 11(int) Constant 128
|
|
475: 11(int) Constant 129
|
|
485: 11(int) Constant 130
|
|
495: 11(int) Constant 131
|
|
505: 11(int) Constant 132
|
|
513: 11(int) Constant 133
|
|
523: 11(int) Constant 139
|
|
526: 11(int) Constant 140
|
|
529: 11(int) Constant 141
|
|
532: 11(int) Constant 142
|
|
535: 11(int) Constant 143
|
|
538: 11(int) Constant 144
|
|
542: 11(int) Constant 148
|
|
549: 11(int) Constant 159
|
|
550: TypePointer Function 116(HSOutput)
|
|
552: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 414 123 30 549 16 132 19
|
|
554: 18(fvec4) ConstantComposite 227 227 227 227
|
|
555: 46(fvec2) ConstantComposite 227 227
|
|
556:116(HSOutput) ConstantComposite 554 228 555
|
|
558: 11(int) Constant 160
|
|
564: 11(int) Constant 161
|
|
566: TypePointer Function 69(fvec3)
|
|
571: 11(int) Constant 162
|
|
577: 11(int) Constant 163
|
|
582: TypeArray 18(fvec4) 19
|
|
583: TypePointer Input 582
|
|
584(patch.Pos): 583(ptr) Variable Input
|
|
585: TypePointer Input 18(fvec4)
|
|
589: TypeArray 69(fvec3) 19
|
|
590: TypePointer Input 589
|
|
591(patch.Normal): 590(ptr) Variable Input
|
|
592: TypePointer Input 69(fvec3)
|
|
596: TypeArray 46(fvec2) 19
|
|
597: TypePointer Input 596
|
|
598(patch.UV): 597(ptr) Variable Input
|
|
599: TypePointer Input 46(fvec2)
|
|
631: TypePointer Input 11(int)
|
|
632(InvocationID): 631(ptr) Variable Input
|
|
640: TypePointer Output 582
|
|
641(@entryPointOutput.Pos): 640(ptr) Variable Output
|
|
645: TypePointer Output 18(fvec4)
|
|
647: TypePointer Output 589
|
|
648(@entryPointOutput.Normal): 647(ptr) Variable Output
|
|
652: TypePointer Output 69(fvec3)
|
|
654: TypePointer Output 596
|
|
655(@entryPointOutput.UV): 654(ptr) Variable Output
|
|
659: TypePointer Output 46(fvec2)
|
|
669: TypePointer Output 88
|
|
670(@patchConstantOutput.TessLevelOuter): 669(ptr) Variable Output
|
|
673: TypePointer Output 8(float)
|
|
684: TypePointer Output 90
|
|
685(@patchConstantOutput.TessLevelInner): 684(ptr) Variable Output
|
|
Line 1 158 1
|
|
6(main): 4 Function None 5
|
|
7: Label
|
|
581(patch): 87(ptr) Variable Function
|
|
630(InvocationID): 115(ptr) Variable Function
|
|
634(flattenTemp): 550(ptr) Variable Function
|
|
635(param): 87(ptr) Variable Function
|
|
637(param): 115(ptr) Variable Function
|
|
665(@patchConstantResult): 411(ptr) Variable Function
|
|
666(param): 87(ptr) Variable Function
|
|
Line 1 158 0
|
|
586: 585(ptr) AccessChain 584(patch.Pos) 213
|
|
587: 18(fvec4) Load 586
|
|
588: 21(ptr) AccessChain 581(patch) 213 213
|
|
Store 588 587
|
|
593: 592(ptr) AccessChain 591(patch.Normal) 213
|
|
594: 69(fvec3) Load 593
|
|
595: 566(ptr) AccessChain 581(patch) 213 214
|
|
Store 595 594
|
|
600: 599(ptr) AccessChain 598(patch.UV) 213
|
|
601: 46(fvec2) Load 600
|
|
602: 48(ptr) AccessChain 581(patch) 213 421
|
|
Store 602 601
|
|
603: 585(ptr) AccessChain 584(patch.Pos) 214
|
|
604: 18(fvec4) Load 603
|
|
605: 21(ptr) AccessChain 581(patch) 214 213
|
|
Store 605 604
|
|
606: 592(ptr) AccessChain 591(patch.Normal) 214
|
|
607: 69(fvec3) Load 606
|
|
608: 566(ptr) AccessChain 581(patch) 214 214
|
|
Store 608 607
|
|
609: 599(ptr) AccessChain 598(patch.UV) 214
|
|
610: 46(fvec2) Load 609
|
|
611: 48(ptr) AccessChain 581(patch) 214 421
|
|
Store 611 610
|
|
612: 585(ptr) AccessChain 584(patch.Pos) 421
|
|
613: 18(fvec4) Load 612
|
|
614: 21(ptr) AccessChain 581(patch) 421 213
|
|
Store 614 613
|
|
615: 592(ptr) AccessChain 591(patch.Normal) 421
|
|
616: 69(fvec3) Load 615
|
|
617: 566(ptr) AccessChain 581(patch) 421 214
|
|
Store 617 616
|
|
618: 599(ptr) AccessChain 598(patch.UV) 421
|
|
619: 46(fvec2) Load 618
|
|
620: 48(ptr) AccessChain 581(patch) 421 421
|
|
Store 620 619
|
|
621: 585(ptr) AccessChain 584(patch.Pos) 379
|
|
622: 18(fvec4) Load 621
|
|
623: 21(ptr) AccessChain 581(patch) 379 213
|
|
Store 623 622
|
|
624: 592(ptr) AccessChain 591(patch.Normal) 379
|
|
625: 69(fvec3) Load 624
|
|
626: 566(ptr) AccessChain 581(patch) 379 214
|
|
Store 626 625
|
|
627: 599(ptr) AccessChain 598(patch.UV) 379
|
|
628: 46(fvec2) Load 627
|
|
629: 48(ptr) AccessChain 581(patch) 379 421
|
|
Store 629 628
|
|
633: 11(int) Load 632(InvocationID)
|
|
Store 630(InvocationID) 633
|
|
636: 85 Load 581(patch)
|
|
Store 635(param) 636
|
|
638: 11(int) Load 630(InvocationID)
|
|
Store 637(param) 638
|
|
639:116(HSOutput) FunctionCall 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) 635(param) 637(param)
|
|
Store 634(flattenTemp) 639
|
|
642: 11(int) Load 632(InvocationID)
|
|
643: 21(ptr) AccessChain 634(flattenTemp) 213
|
|
644: 18(fvec4) Load 643
|
|
646: 645(ptr) AccessChain 641(@entryPointOutput.Pos) 642
|
|
Store 646 644
|
|
649: 11(int) Load 632(InvocationID)
|
|
650: 566(ptr) AccessChain 634(flattenTemp) 214
|
|
651: 69(fvec3) Load 650
|
|
653: 652(ptr) AccessChain 648(@entryPointOutput.Normal) 649
|
|
Store 653 651
|
|
656: 11(int) Load 632(InvocationID)
|
|
657: 48(ptr) AccessChain 634(flattenTemp) 421
|
|
658: 46(fvec2) Load 657
|
|
660: 659(ptr) AccessChain 655(@entryPointOutput.UV) 656
|
|
Store 660 658
|
|
ControlBarrier 44 19 16
|
|
661: 11(int) Load 632(InvocationID)
|
|
662: 49(bool) IEqual 661 213
|
|
SelectionMerge 664 None
|
|
BranchConditional 662 663 664
|
|
663: Label
|
|
667: 85 Load 581(patch)
|
|
Store 666(param) 667
|
|
668:92(ConstantsHSOutput) FunctionCall 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) 666(param)
|
|
Store 665(@patchConstantResult) 668
|
|
671: 156(ptr) AccessChain 665(@patchConstantResult) 213 213
|
|
672: 8(float) Load 671
|
|
674: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 213
|
|
Store 674 672
|
|
675: 156(ptr) AccessChain 665(@patchConstantResult) 213 214
|
|
676: 8(float) Load 675
|
|
677: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 214
|
|
Store 677 676
|
|
678: 156(ptr) AccessChain 665(@patchConstantResult) 213 421
|
|
679: 8(float) Load 678
|
|
680: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 421
|
|
Store 680 679
|
|
681: 156(ptr) AccessChain 665(@patchConstantResult) 213 379
|
|
682: 8(float) Load 681
|
|
683: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 379
|
|
Store 683 682
|
|
686: 156(ptr) AccessChain 665(@patchConstantResult) 214 213
|
|
687: 8(float) Load 686
|
|
688: 673(ptr) AccessChain 685(@patchConstantOutput.TessLevelInner) 213
|
|
Store 688 687
|
|
689: 156(ptr) AccessChain 665(@patchConstantResult) 214 214
|
|
690: 8(float) Load 689
|
|
691: 673(ptr) AccessChain 685(@patchConstantOutput.TessLevelInner) 214
|
|
Store 691 690
|
|
Branch 664
|
|
664: Label
|
|
Return
|
|
FunctionEnd
|
|
Line 1 65 1
|
|
26(screenSpaceTessFactor(vf4;vf4;): 8(float) Function None 22
|
|
24(p0): 21(ptr) FunctionParameter
|
|
25(p1): 21(ptr) FunctionParameter
|
|
27: Label
|
|
145(midPoint): 21(ptr) Variable Function
|
|
157(radius): 156(ptr) Variable Function
|
|
168(v0): 21(ptr) Variable Function
|
|
221(clip0): 21(ptr) Variable Function
|
|
239(clip1): 21(ptr) Variable Function
|
|
36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 29
|
|
37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 32 32 16 16
|
|
40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 38 24(p0) 41
|
|
45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 42 25(p1) 41
|
|
141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 29 26(screenSpaceTessFactor(vf4;vf4;)
|
|
142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 29
|
|
143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 144 144 16 16
|
|
148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 146 145(midPoint) 41
|
|
150: 18(fvec4) Load 24(p0)
|
|
151: 18(fvec4) Load 25(p1)
|
|
152: 18(fvec4) FAdd 150 151
|
|
153: 18(fvec4) VectorTimesScalar 152 149
|
|
Store 145(midPoint) 153
|
|
154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 155 155 16 16
|
|
160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 158 157(radius) 41
|
|
161: 18(fvec4) Load 24(p0)
|
|
162: 18(fvec4) Load 25(p1)
|
|
163: 8(float) ExtInst 3(GLSL.std.450) 67(Distance) 161 162
|
|
165: 8(float) FDiv 163 164
|
|
Store 157(radius) 165
|
|
166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 167 167 16 16
|
|
171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 169 168(v0) 41
|
|
172: 18(fvec4) Load 145(midPoint)
|
|
216: 215(ptr) AccessChain 207 213 214
|
|
217: 173 Load 216
|
|
218: 18(fvec4) VectorTimesMatrix 172 217
|
|
Store 168(v0) 218
|
|
219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 220 220 16 16
|
|
224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 222 221(clip0) 41
|
|
225: 18(fvec4) Load 168(v0)
|
|
226: 8(float) Load 157(radius)
|
|
229: 8(float) CompositeExtract 228 0
|
|
230: 8(float) CompositeExtract 228 1
|
|
231: 8(float) CompositeExtract 228 2
|
|
232: 18(fvec4) CompositeConstruct 226 229 230 231
|
|
233: 18(fvec4) FSub 225 232
|
|
234: 215(ptr) AccessChain 207 213 213
|
|
235: 173 Load 234
|
|
236: 18(fvec4) VectorTimesMatrix 233 235
|
|
Store 221(clip0) 236
|
|
237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 238 238 16 16
|
|
242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 240 239(clip1) 41
|
|
243: 18(fvec4) Load 168(v0)
|
|
244: 8(float) Load 157(radius)
|
|
245: 8(float) CompositeExtract 228 0
|
|
246: 8(float) CompositeExtract 228 1
|
|
247: 8(float) CompositeExtract 228 2
|
|
248: 18(fvec4) CompositeConstruct 244 245 246 247
|
|
249: 18(fvec4) FAdd 243 248
|
|
250: 215(ptr) AccessChain 207 213 213
|
|
251: 173 Load 250
|
|
252: 18(fvec4) VectorTimesMatrix 249 251
|
|
Store 239(clip1) 252
|
|
253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 254 254 16 16
|
|
255: 156(ptr) AccessChain 221(clip0) 17
|
|
256: 8(float) Load 255
|
|
257: 18(fvec4) Load 221(clip0)
|
|
258: 18(fvec4) CompositeConstruct 256 256 256 256
|
|
259: 18(fvec4) FDiv 257 258
|
|
Store 221(clip0) 259
|
|
260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 261 261 16 16
|
|
262: 156(ptr) AccessChain 239(clip1) 17
|
|
263: 8(float) Load 262
|
|
264: 18(fvec4) Load 239(clip1)
|
|
265: 18(fvec4) CompositeConstruct 263 263 263 263
|
|
266: 18(fvec4) FDiv 264 265
|
|
Store 239(clip1) 266
|
|
267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 268 268 16 16
|
|
271: 270(ptr) AccessChain 207 213 269
|
|
272: 46(fvec2) Load 271
|
|
273: 18(fvec4) Load 221(clip0)
|
|
274: 46(fvec2) VectorShuffle 273 273 0 1
|
|
275: 46(fvec2) FMul 274 272
|
|
276: 156(ptr) AccessChain 221(clip0) 16
|
|
277: 8(float) CompositeExtract 275 0
|
|
Store 276 277
|
|
278: 156(ptr) AccessChain 221(clip0) 34
|
|
279: 8(float) CompositeExtract 275 1
|
|
Store 278 279
|
|
280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 281 281 16 16
|
|
282: 270(ptr) AccessChain 207 213 269
|
|
283: 46(fvec2) Load 282
|
|
284: 18(fvec4) Load 239(clip1)
|
|
285: 46(fvec2) VectorShuffle 284 284 0 1
|
|
286: 46(fvec2) FMul 285 283
|
|
287: 156(ptr) AccessChain 239(clip1) 16
|
|
288: 8(float) CompositeExtract 286 0
|
|
Store 287 288
|
|
289: 156(ptr) AccessChain 239(clip1) 34
|
|
290: 8(float) CompositeExtract 286 1
|
|
Store 289 290
|
|
291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 292 292 16 16
|
|
293: 18(fvec4) Load 221(clip0)
|
|
294: 18(fvec4) Load 239(clip1)
|
|
295: 8(float) ExtInst 3(GLSL.std.450) 67(Distance) 293 294
|
|
298: 297(ptr) AccessChain 207 213 296
|
|
299: 8(float) Load 298
|
|
300: 8(float) FDiv 295 299
|
|
302: 297(ptr) AccessChain 207 213 301
|
|
303: 8(float) Load 302
|
|
304: 8(float) FMul 300 303
|
|
307: 8(float) ExtInst 3(GLSL.std.450) 43(FClamp) 304 305 306
|
|
ReturnValue 307
|
|
FunctionEnd
|
|
Line 1 95 1
|
|
56(frustumCheck(vf4;vf2;): 49(bool) Function None 52
|
|
54(Pos): 21(ptr) FunctionParameter
|
|
55(inUV): 48(ptr) FunctionParameter
|
|
57: Label
|
|
314(pos): 21(ptr) Variable Function
|
|
359(i): 358(ptr) Variable Function
|
|
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
|
62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 60 60 16 16
|
|
65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 63 54(Pos) 41
|
|
68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 66 55(inUV) 41
|
|
310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 59 56(frustumCheck(vf4;vf2;)
|
|
311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
|
312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 313 313 16 16
|
|
317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 315 314(pos) 41
|
|
318: 18(fvec4) Load 54(Pos)
|
|
Store 314(pos) 318
|
|
319: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 320 320 16 16
|
|
330: 321 Load 327(textureHeight)
|
|
339: 331 Load 336(samplerHeight)
|
|
344: 340 SampledImage 330 339
|
|
345: 46(fvec2) Load 55(inUV)
|
|
346: 18(fvec4) ImageSampleExplicitLod 344 345 Lod 227
|
|
347: 8(float) CompositeExtract 346 0
|
|
349: 297(ptr) AccessChain 207 213 348
|
|
350: 8(float) Load 349
|
|
351: 8(float) FMul 347 350
|
|
352: 156(ptr) AccessChain 314(pos) 34
|
|
353: 8(float) Load 352
|
|
354: 8(float) FSub 353 351
|
|
355: 156(ptr) AccessChain 314(pos) 34
|
|
Store 355 354
|
|
356: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16
|
|
362: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 360 359(i) 41
|
|
Store 359(i) 213
|
|
Branch 363
|
|
363: Label
|
|
367: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
|
368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16
|
|
LoopMerge 365 366 None
|
|
Branch 369
|
|
369: Label
|
|
370: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
|
371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16
|
|
372: 210(int) Load 359(i)
|
|
374: 49(bool) SLessThan 372 269
|
|
BranchConditional 374 364 365
|
|
364: Label
|
|
375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
|
376: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 377 377 16 16
|
|
378: 18(fvec4) Load 314(pos)
|
|
380: 210(int) Load 359(i)
|
|
382: 381(ptr) AccessChain 207 213 379 380
|
|
383: 18(fvec4) Load 382
|
|
384: 8(float) Dot 378 383
|
|
386: 8(float) FAdd 384 385
|
|
388: 49(bool) FOrdLessThan 386 227
|
|
SelectionMerge 390 None
|
|
BranchConditional 388 389 390
|
|
389: Label
|
|
393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
|
394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 395 395 16 16
|
|
ReturnValue 392
|
|
390: Label
|
|
Branch 366
|
|
366: Label
|
|
397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
|
398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16
|
|
399: 210(int) Load 359(i)
|
|
400: 210(int) IAdd 399 214
|
|
Store 359(i) 400
|
|
Branch 363
|
|
365: Label
|
|
402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
|
|
403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 404 404 16 16
|
|
ReturnValue 175
|
|
FunctionEnd
|
|
Line 1 112 1
|
|
105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];):92(ConstantsHSOutput) Function None 102
|
|
104(patch): 87(ptr) FunctionParameter
|
|
106: Label
|
|
412(output): 411(ptr) Variable Function
|
|
422(param): 21(ptr) Variable Function
|
|
425(param): 48(ptr) Variable Function
|
|
466(param): 21(ptr) Variable Function
|
|
469(param): 21(ptr) Variable Function
|
|
476(param): 21(ptr) Variable Function
|
|
479(param): 21(ptr) Variable Function
|
|
486(param): 21(ptr) Variable Function
|
|
489(param): 21(ptr) Variable Function
|
|
496(param): 21(ptr) Variable Function
|
|
499(param): 21(ptr) Variable Function
|
|
110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
|
|
111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 109 109 16 16
|
|
114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 112 104(patch) 41
|
|
407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 108 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];)
|
|
408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
|
|
409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 410 410 16 16
|
|
415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 413 412(output) 41
|
|
Store 412(output) 418
|
|
419: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 420 420 16 16
|
|
423: 21(ptr) AccessChain 104(patch) 213 213
|
|
424: 18(fvec4) Load 423
|
|
Store 422(param) 424
|
|
426: 48(ptr) AccessChain 104(patch) 213 421
|
|
427: 46(fvec2) Load 426
|
|
Store 425(param) 427
|
|
428: 49(bool) FunctionCall 56(frustumCheck(vf4;vf2;) 422(param) 425(param)
|
|
431: 49(bool) LogicalNot 428
|
|
SelectionMerge 433 None
|
|
BranchConditional 431 432 453
|
|
432: Label
|
|
434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
|
|
435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 436 436 16 16
|
|
437: 156(ptr) AccessChain 412(output) 214 213
|
|
Store 437 227
|
|
438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 439 439 16 16
|
|
440: 156(ptr) AccessChain 412(output) 214 214
|
|
Store 440 227
|
|
441: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 442 442 16 16
|
|
443: 156(ptr) AccessChain 412(output) 213 213
|
|
Store 443 227
|
|
444: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 445 445 16 16
|
|
446: 156(ptr) AccessChain 412(output) 213 214
|
|
Store 446 227
|
|
447: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 448 448 16 16
|
|
449: 156(ptr) AccessChain 412(output) 213 421
|
|
Store 449 227
|
|
450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 451 451 16 16
|
|
452: 156(ptr) AccessChain 412(output) 213 379
|
|
Store 452 227
|
|
Branch 433
|
|
453: Label
|
|
454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
|
|
455: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 456 456 16 16
|
|
457: 297(ptr) AccessChain 207 213 301
|
|
458: 8(float) Load 457
|
|
460: 49(bool) FOrdGreaterThan 458 227
|
|
SelectionMerge 462 None
|
|
BranchConditional 460 461 520
|
|
461: Label
|
|
463: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
|
|
464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 465 465 16 16
|
|
467: 21(ptr) AccessChain 104(patch) 379 213
|
|
468: 18(fvec4) Load 467
|
|
Store 466(param) 468
|
|
470: 21(ptr) AccessChain 104(patch) 213 213
|
|
471: 18(fvec4) Load 470
|
|
Store 469(param) 471
|
|
472: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 466(param) 469(param)
|
|
473: 156(ptr) AccessChain 412(output) 213 213
|
|
Store 473 472
|
|
474: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 475 475 16 16
|
|
477: 21(ptr) AccessChain 104(patch) 213 213
|
|
478: 18(fvec4) Load 477
|
|
Store 476(param) 478
|
|
480: 21(ptr) AccessChain 104(patch) 214 213
|
|
481: 18(fvec4) Load 480
|
|
Store 479(param) 481
|
|
482: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 476(param) 479(param)
|
|
483: 156(ptr) AccessChain 412(output) 213 214
|
|
Store 483 482
|
|
484: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 485 485 16 16
|
|
487: 21(ptr) AccessChain 104(patch) 214 213
|
|
488: 18(fvec4) Load 487
|
|
Store 486(param) 488
|
|
490: 21(ptr) AccessChain 104(patch) 421 213
|
|
491: 18(fvec4) Load 490
|
|
Store 489(param) 491
|
|
492: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 486(param) 489(param)
|
|
493: 156(ptr) AccessChain 412(output) 213 421
|
|
Store 493 492
|
|
494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 495 495 16 16
|
|
497: 21(ptr) AccessChain 104(patch) 421 213
|
|
498: 18(fvec4) Load 497
|
|
Store 496(param) 498
|
|
500: 21(ptr) AccessChain 104(patch) 379 213
|
|
501: 18(fvec4) Load 500
|
|
Store 499(param) 501
|
|
502: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 496(param) 499(param)
|
|
503: 156(ptr) AccessChain 412(output) 213 379
|
|
Store 503 502
|
|
504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 505 505 16 16
|
|
506: 156(ptr) AccessChain 412(output) 213 213
|
|
507: 8(float) Load 506
|
|
508: 156(ptr) AccessChain 412(output) 213 379
|
|
509: 8(float) Load 508
|
|
510: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 507 509 149
|
|
511: 156(ptr) AccessChain 412(output) 214 213
|
|
Store 511 510
|
|
512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 513 513 16 16
|
|
514: 156(ptr) AccessChain 412(output) 213 421
|
|
515: 8(float) Load 514
|
|
516: 156(ptr) AccessChain 412(output) 213 214
|
|
517: 8(float) Load 516
|
|
518: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 515 517 149
|
|
519: 156(ptr) AccessChain 412(output) 214 214
|
|
Store 519 518
|
|
Branch 462
|
|
520: Label
|
|
521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
|
|
522: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 523 523 16 16
|
|
524: 156(ptr) AccessChain 412(output) 214 213
|
|
Store 524 305
|
|
525: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 526 526 16 16
|
|
527: 156(ptr) AccessChain 412(output) 214 214
|
|
Store 527 305
|
|
528: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 529 529 16 16
|
|
530: 156(ptr) AccessChain 412(output) 213 213
|
|
Store 530 305
|
|
531: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 532 532 16 16
|
|
533: 156(ptr) AccessChain 412(output) 213 214
|
|
Store 533 305
|
|
534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 535 535 16 16
|
|
536: 156(ptr) AccessChain 412(output) 213 421
|
|
Store 536 305
|
|
537: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 538 538 16 16
|
|
539: 156(ptr) AccessChain 412(output) 213 379
|
|
Store 539 305
|
|
Branch 462
|
|
462: Label
|
|
Branch 433
|
|
433: Label
|
|
540: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
|
|
541: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 542 542 16 16
|
|
543:92(ConstantsHSOutput) Load 412(output)
|
|
ReturnValue 543
|
|
FunctionEnd
|
|
Line 1 158 1
|
|
129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;):116(HSOutput) Function None 125
|
|
127(patch): 87(ptr) FunctionParameter
|
|
128(InvocationID): 115(ptr) FunctionParameter
|
|
130: Label
|
|
551(output): 550(ptr) Variable Function
|
|
134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 132
|
|
135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 133 133 16 16
|
|
137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 136 127(patch) 41
|
|
140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 138 128(InvocationID) 41
|
|
546: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 132 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;)
|
|
547: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 132
|
|
548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 549 549 16 16
|
|
553: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 552 551(output) 41
|
|
Store 551(output) 556
|
|
557: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 558 558 16 16
|
|
559: 11(int) Load 128(InvocationID)
|
|
560: 21(ptr) AccessChain 127(patch) 559 213
|
|
561: 18(fvec4) Load 560
|
|
562: 21(ptr) AccessChain 551(output) 213
|
|
Store 562 561
|
|
563: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 564 564 16 16
|
|
565: 11(int) Load 128(InvocationID)
|
|
567: 566(ptr) AccessChain 127(patch) 565 214
|
|
568: 69(fvec3) Load 567
|
|
569: 566(ptr) AccessChain 551(output) 214
|
|
Store 569 568
|
|
570: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 571 571 16 16
|
|
572: 11(int) Load 128(InvocationID)
|
|
573: 48(ptr) AccessChain 127(patch) 572 421
|
|
574: 46(fvec2) Load 573
|
|
575: 48(ptr) AccessChain 551(output) 421
|
|
Store 575 574
|
|
576: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 577 577 16 16
|
|
578:116(HSOutput) Load 551(output)
|
|
ReturnValue 578
|
|
FunctionEnd
|