1 spv.debuginfo.hlsl.tesc
2 WARNING: 0:158: '' : attribute does not apply to entry point
5 // Module Version 10000
6 // Generated by (magic number): 8000b
7 // Id's are bound by 593
9 Capability Tessellation
10 Extension "SPV_KHR_non_semantic_info"
11 1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
12 2: ExtInstImport "GLSL.std.450"
13 MemoryModel Logical GLSL450
14 EntryPoint TessellationControl 5 "main" 485 492 499 533 542 549 556 571 586
15 ExecutionMode 5 OutputVertices 4
17 ExecutionMode 5 SpacingEqual
18 ExecutionMode 5 VertexOrderCw
21 26: String "screenSpaceTessFactor"
26 55: String "frustumCheck"
32 91: String "TessLevelOuter"
33 95: String "TessLevelInner"
34 98: String "ConstantsHSOutput"
35 103: String "ConstantsHS"
37 120: String "HSOutput"
39 134: String "InvocationID"
40 139: String "midPoint"
43 171: String "modelview"
44 176: String "lightPos"
45 180: String "frustumPlanes"
46 183: String "tessellatedEdgeSize"
47 187: String "viewportDim"
54 298: String "type.2d.image"
55 300: String "@type.2d.image"
56 305: String "textureHeight"
57 309: String "type.sampler"
58 310: String "@type.sampler"
59 314: String "samplerHeight"
60 318: String "type.sampled.image"
61 319: String "@type.sampled.image"
65 Name 25 "screenSpaceTessFactor(vf4;vf4;"
68 Name 54 "frustumCheck(vf4;vf2;"
72 MemberName 68(VSOutput) 0 "Pos"
73 MemberName 68(VSOutput) 1 "Normal"
74 MemberName 68(VSOutput) 2 "UV"
75 Name 89 "ConstantsHSOutput"
76 MemberName 89(ConstantsHSOutput) 0 "TessLevelOuter"
77 MemberName 89(ConstantsHSOutput) 1 "TessLevelInner"
78 Name 102 "ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];"
81 MemberName 112(HSOutput) 0 "Pos"
82 MemberName 112(HSOutput) 1 "Normal"
83 MemberName 112(HSOutput) 2 "UV"
84 Name 125 "@main(struct-VSOutput-vf4-vf3-vf21[4];u1;"
86 Name 124 "InvocationID"
91 MemberName 169(UBO) 0 "projection"
92 MemberName 169(UBO) 1 "modelview"
93 MemberName 169(UBO) 2 "lightPos"
94 MemberName 169(UBO) 3 "frustumPlanes"
95 MemberName 169(UBO) 4 "displacementFactor"
96 MemberName 169(UBO) 5 "tessellationFactor"
97 MemberName 169(UBO) 6 "viewportDim"
98 MemberName 169(UBO) 7 "tessellatedEdgeSize"
100 MemberName 192(ubo) 0 "ubo"
105 Name 303 "textureHeight"
106 Name 312 "samplerHeight"
122 Name 492 "patch.Normal"
124 Name 531 "InvocationID"
125 Name 533 "InvocationID"
126 Name 535 "flattenTemp"
129 Name 542 "@entryPointOutput.Pos"
130 Name 549 "@entryPointOutput.Normal"
131 Name 556 "@entryPointOutput.UV"
132 Name 566 "@patchConstantResult"
134 Name 571 "@patchConstantOutput.TessLevelOuter"
135 Name 586 "@patchConstantOutput.TessLevelInner"
136 Decorate 167 ArrayStride 16
137 MemberDecorate 169(UBO) 0 RowMajor
138 MemberDecorate 169(UBO) 0 Offset 0
139 MemberDecorate 169(UBO) 0 MatrixStride 16
140 MemberDecorate 169(UBO) 1 RowMajor
141 MemberDecorate 169(UBO) 1 Offset 64
142 MemberDecorate 169(UBO) 1 MatrixStride 16
143 MemberDecorate 169(UBO) 2 Offset 128
144 MemberDecorate 169(UBO) 3 Offset 144
145 MemberDecorate 169(UBO) 4 Offset 240
146 MemberDecorate 169(UBO) 5 Offset 244
147 MemberDecorate 169(UBO) 6 Offset 248
148 MemberDecorate 169(UBO) 7 Offset 256
149 MemberDecorate 192(ubo) 0 Offset 0
150 Decorate 192(ubo) Block
151 Decorate 198 DescriptorSet 0
152 Decorate 198 Binding 0
153 Decorate 303(textureHeight) DescriptorSet 0
154 Decorate 303(textureHeight) Binding 1
155 Decorate 312(samplerHeight) DescriptorSet 0
156 Decorate 312(samplerHeight) Binding 1
157 Decorate 485(patch.Pos) BuiltIn Position
158 Decorate 492(patch.Normal) Location 0
159 Decorate 499(patch.UV) Location 1
160 Decorate 533(InvocationID) BuiltIn InvocationId
161 Decorate 542(@entryPointOutput.Pos) BuiltIn Position
162 Decorate 549(@entryPointOutput.Normal) Location 0
163 Decorate 556(@entryPointOutput.UV) Location 1
164 Decorate 571(@patchConstantOutput.TessLevelOuter) Patch
165 Decorate 571(@patchConstantOutput.TessLevelOuter) BuiltIn TessLevelOuter
166 Decorate 586(@patchConstantOutput.TessLevelInner) Patch
167 Decorate 586(@patchConstantOutput.TessLevelInner) BuiltIn TessLevelInner
172 13: 10(int) Constant 32
173 14: 10(int) Constant 6
174 15: 10(int) Constant 0
175 11: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 12 13 14 15
176 16: 10(int) Constant 3
177 8: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 9 13 16 15
178 17: TypeVector 7(float) 4
179 18: 10(int) Constant 4
180 19: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 8 18
181 20: TypePointer Function 17(fvec4)
182 21: TypeFunction 7(float) 20(ptr) 20(ptr)
183 22: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 16 8 19 19
184 28: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(Modf) 0 29
185 31: 10(int) Constant 1
186 32: 10(int) Constant 5
187 30: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(Round) 31 18 28 32
188 27: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 26 22 28 15 15 30 26 16 15
189 36: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 37 19 28 15 15 27 18 31
190 39: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(Sqrt)
191 42: 10(int) Constant 2
192 40: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 41 19 28 15 15 27 18 42
193 44: TypeVector 7(float) 2
194 45: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 8 42
195 46: TypePointer Function 44(fvec2)
197 49: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 48 13 42 15
198 50: TypeFunction 47(bool) 20(ptr) 46(ptr)
199 51: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 16 49 19 45
200 56: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 55 51 28 15 15 30 55 16 15
201 60: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 61 19 28 15 15 56 18 31
202 63: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 64 45 28 15 15 56 18 42
203 66: TypeVector 7(float) 3
204 67: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 8 16
205 68(VSOutput): TypeStruct 17(fvec4) 66(fvec3) 44(fvec2)
206 70: 10(int) Constant 44
207 71: 10(int) Constant 13
208 69: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 61 19 28 70 71 15 15 16
209 74: 10(int) Constant 45
210 75: 10(int) Constant 35
211 72: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 73 67 28 74 75 15 15 16
212 78: 10(int) Constant 46
213 79: 10(int) Constant 31
214 76: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 77 45 28 78 79 15 15 16
215 80: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 81 31 28 15 15 30 81 15 16 69 72 76
216 82: TypeArray 68(VSOutput) 18
217 83: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 80 18
218 84: TypePointer Function 82
219 85: TypeArray 7(float) 18
220 86: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 8 18
221 87: TypeArray 7(float) 42
222 88: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 8 42
223 89(ConstantsHSOutput): TypeStruct 85 87
224 92: 10(int) Constant 58
225 93: 10(int) Constant 25
226 90: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 91 86 28 92 93 15 15 16
227 96: 10(int) Constant 59
228 94: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 95 88 28 96 93 15 15 16
229 97: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 98 31 28 15 15 30 98 15 16 90 94
230 99: TypeFunction 89(ConstantsHSOutput) 84(ptr)
231 100: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 16 97 83
232 104: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 103 100 28 15 15 30 103 16 15
233 108: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 109 83 28 15 15 104 18 31
234 111: TypePointer Function 10(int)
235 112(HSOutput): TypeStruct 17(fvec4) 66(fvec3) 44(fvec2)
236 114: 10(int) Constant 51
237 113: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 61 19 28 114 13 15 15 16
238 116: 10(int) Constant 52
239 115: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 73 67 28 116 75 15 15 16
240 118: 10(int) Constant 53
241 117: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 77 45 28 118 79 15 15 16
242 119: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 120 31 28 15 15 30 120 15 16 113 115 117
243 121: TypeFunction 112(HSOutput) 84(ptr) 111(ptr)
244 122: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 16 119 83 11
245 127: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 126 122 28 15 15 30 126 16 15
246 131: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 109 83 28 15 15 127 18 31
247 133: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 134 11 28 15 15 127 18 42
248 140: 10(int) Constant 67
249 138: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 139 19 28 140 15 27 18
250 142: 7(float) Constant 1056964608
251 147: TypePointer Function 7(float)
252 151: 10(int) Constant 69
253 149: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 150 8 28 151 15 27 18
254 156: 7(float) Constant 1073741824
255 161: 10(int) Constant 72
256 159: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 160 19 28 161 15 27 18
257 164: TypeMatrix 17(fvec4) 4
258 166: 47(bool) ConstantTrue
259 165: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108 19 18 166
260 167: TypeArray 17(fvec4) 14
261 168: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 19 14
262 169(UBO): TypeStruct 164 164 17(fvec4) 167 7(float) 7(float) 44(fvec2) 7(float)
263 172: 10(int) Constant 29
264 173: 10(int) Constant 20
265 170: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 171 165 28 172 173 15 15 16
266 174: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 171 165 28 172 173 15 15 16
267 177: 10(int) Constant 30
268 178: 10(int) Constant 17
269 175: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 176 19 28 177 178 15 15 16
270 181: 10(int) Constant 22
271 179: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 180 168 28 79 181 15 15 16
272 184: 10(int) Constant 27
273 182: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 183 8 28 75 184 15 15 16
274 185: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 183 8 28 75 184 15 15 16
275 188: 10(int) Constant 34
276 186: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 187 45 28 188 173 15 15 16
277 189: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 183 8 28 75 184 15 15 16
278 190: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 191 31 28 161 15 30 191 15 16 170 174 175 179 182 185 186 189
279 192(ubo): TypeStruct 169(UBO)
280 195: 10(int) Constant 37
281 193: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 194 190 28 195 195 15 15 16
282 196: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 194 31 28 161 15 30 194 15 16 193
283 197: TypePointer Uniform 192(ubo)
284 198: 197(ptr) Variable Uniform
285 200: 10(int) Constant 8
286 199: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 29 196 28 161 15 30 29 198 200
288 203: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 202 13 18 15
289 204: 201(int) Constant 0
290 205: 201(int) Constant 1
291 206: TypePointer Uniform 164
292 213: 10(int) Constant 75
293 211: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 212 19 28 213 15 27 18
294 217: 7(float) Constant 0
295 218: 66(fvec3) ConstantComposite 217 217 217
296 230: 10(int) Constant 76
297 228: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 229 19 28 230 15 27 18
298 252: 201(int) Constant 6
299 253: TypePointer Uniform 44(fvec2)
300 275: 201(int) Constant 7
301 276: TypePointer Uniform 7(float)
302 280: 201(int) Constant 5
303 284: 7(float) Constant 1065353216
304 285: 7(float) Constant 1115684864
305 293: 10(int) Constant 98
306 291: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 292 19 28 293 15 56 18
307 296: TypeImage 7(float) 2D sampled format:Unknown
308 299: 10(int) Constant 99
309 301: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 0(Unknown)
310 297: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 298 15 28 299 15 30 300 301 16
311 302: TypePointer UniformConstant 296
312 303(textureHeight): 302(ptr) Variable UniformConstant
313 304: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 305 297 28 299 15 30 305 303(textureHeight) 200
315 308: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 309 31 28 299 15 30 310 301 16
316 311: TypePointer UniformConstant 307
317 312(samplerHeight): 311(ptr) Variable UniformConstant
318 313: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 314 308 28 299 15 30 314 312(samplerHeight) 200
319 316: TypeSampledImage 296
320 317: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 318 15 28 299 15 30 319 301 16
321 324: 201(int) Constant 4
322 332: TypePointer Function 201(int)
323 336: 10(int) Constant 102
324 334: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 335 203 28 336 15 56 18
325 344: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 48 13 42 15
326 347: 201(int) Constant 3
327 349: TypePointer Uniform 17(fvec4)
328 353: 7(float) Constant 1090519040
329 355: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 48 13 42 15
330 359: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 48 13 42 15
331 360: 47(bool) ConstantFalse
332 364: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 48 13 42 15
333 368: TypePointer Function 89(ConstantsHSOutput)
334 372: 10(int) Constant 113
335 370: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 371 97 28 372 15 104 18
336 374: 85 ConstantComposite 217 217 217 217
337 375: 87 ConstantComposite 217 217
338 376:89(ConstantsHSOutput) ConstantComposite 374 375
339 377: 201(int) Constant 2
340 385: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 48 13 42 15
341 386: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 48 13 42 15
342 399: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 48 13 42 15
343 458: TypePointer Function 112(HSOutput)
344 461: 10(int) Constant 159
345 460: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 371 119 28 461 15 127 18
346 463: 17(fvec4) ConstantComposite 217 217 217 217
347 464: 44(fvec2) ConstantComposite 217 217
348 465:112(HSOutput) ConstantComposite 463 218 464
349 471: TypePointer Function 66(fvec3)
350 483: TypeArray 17(fvec4) 18
351 484: TypePointer Input 483
352 485(patch.Pos): 484(ptr) Variable Input
353 486: TypePointer Input 17(fvec4)
354 490: TypeArray 66(fvec3) 18
355 491: TypePointer Input 490
356 492(patch.Normal): 491(ptr) Variable Input
357 493: TypePointer Input 66(fvec3)
358 497: TypeArray 44(fvec2) 18
359 498: TypePointer Input 497
360 499(patch.UV): 498(ptr) Variable Input
361 500: TypePointer Input 44(fvec2)
362 532: TypePointer Input 10(int)
363 533(InvocationID): 532(ptr) Variable Input
364 541: TypePointer Output 483
365 542(@entryPointOutput.Pos): 541(ptr) Variable Output
366 546: TypePointer Output 17(fvec4)
367 548: TypePointer Output 490
368 549(@entryPointOutput.Normal): 548(ptr) Variable Output
369 553: TypePointer Output 66(fvec3)
370 555: TypePointer Output 497
371 556(@entryPointOutput.UV): 555(ptr) Variable Output
372 560: TypePointer Output 44(fvec2)
373 570: TypePointer Output 85
374 571(@patchConstantOutput.TessLevelOuter): 570(ptr) Variable Output
375 574: TypePointer Output 7(float)
376 585: TypePointer Output 87
377 586(@patchConstantOutput.TessLevelInner): 585(ptr) Variable Output
378 5(main): 3 Function None 4
380 482(patch): 84(ptr) Variable Function
381 531(InvocationID): 111(ptr) Variable Function
382 535(flattenTemp): 458(ptr) Variable Function
383 536(param): 84(ptr) Variable Function
384 538(param): 111(ptr) Variable Function
385 566(@patchConstantResult): 368(ptr) Variable Function
386 567(param): 84(ptr) Variable Function
387 487: 486(ptr) AccessChain 485(patch.Pos) 204
388 488: 17(fvec4) Load 487
389 489: 20(ptr) AccessChain 482(patch) 204 204
391 494: 493(ptr) AccessChain 492(patch.Normal) 204
392 495: 66(fvec3) Load 494
393 496: 471(ptr) AccessChain 482(patch) 204 205
395 501: 500(ptr) AccessChain 499(patch.UV) 204
396 502: 44(fvec2) Load 501
397 503: 46(ptr) AccessChain 482(patch) 204 377
399 504: 486(ptr) AccessChain 485(patch.Pos) 205
400 505: 17(fvec4) Load 504
401 506: 20(ptr) AccessChain 482(patch) 205 204
403 507: 493(ptr) AccessChain 492(patch.Normal) 205
404 508: 66(fvec3) Load 507
405 509: 471(ptr) AccessChain 482(patch) 205 205
407 510: 500(ptr) AccessChain 499(patch.UV) 205
408 511: 44(fvec2) Load 510
409 512: 46(ptr) AccessChain 482(patch) 205 377
411 513: 486(ptr) AccessChain 485(patch.Pos) 377
412 514: 17(fvec4) Load 513
413 515: 20(ptr) AccessChain 482(patch) 377 204
415 516: 493(ptr) AccessChain 492(patch.Normal) 377
416 517: 66(fvec3) Load 516
417 518: 471(ptr) AccessChain 482(patch) 377 205
419 519: 500(ptr) AccessChain 499(patch.UV) 377
420 520: 44(fvec2) Load 519
421 521: 46(ptr) AccessChain 482(patch) 377 377
423 522: 486(ptr) AccessChain 485(patch.Pos) 347
424 523: 17(fvec4) Load 522
425 524: 20(ptr) AccessChain 482(patch) 347 204
427 525: 493(ptr) AccessChain 492(patch.Normal) 347
428 526: 66(fvec3) Load 525
429 527: 471(ptr) AccessChain 482(patch) 347 205
431 528: 500(ptr) AccessChain 499(patch.UV) 347
432 529: 44(fvec2) Load 528
433 530: 46(ptr) AccessChain 482(patch) 347 377
435 534: 10(int) Load 533(InvocationID)
436 Store 531(InvocationID) 534
437 537: 82 Load 482(patch)
439 539: 10(int) Load 531(InvocationID)
441 540:112(HSOutput) FunctionCall 125(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) 536(param) 538(param)
442 Store 535(flattenTemp) 540
443 543: 10(int) Load 533(InvocationID)
444 544: 20(ptr) AccessChain 535(flattenTemp) 204
445 545: 17(fvec4) Load 544
446 547: 546(ptr) AccessChain 542(@entryPointOutput.Pos) 543
448 550: 10(int) Load 533(InvocationID)
449 551: 471(ptr) AccessChain 535(flattenTemp) 205
450 552: 66(fvec3) Load 551
451 554: 553(ptr) AccessChain 549(@entryPointOutput.Normal) 550
453 557: 10(int) Load 533(InvocationID)
454 558: 46(ptr) AccessChain 535(flattenTemp) 377
455 559: 44(fvec2) Load 558
456 561: 560(ptr) AccessChain 556(@entryPointOutput.UV) 557
458 ControlBarrier 42 18 15
459 562: 10(int) Load 533(InvocationID)
460 563: 47(bool) IEqual 562 204
461 SelectionMerge 565 None
462 BranchConditional 563 564 565
464 568: 82 Load 482(patch)
466 569:89(ConstantsHSOutput) FunctionCall 102(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) 567(param)
467 Store 566(@patchConstantResult) 569
468 572: 147(ptr) AccessChain 566(@patchConstantResult) 204 204
469 573: 7(float) Load 572
470 575: 574(ptr) AccessChain 571(@patchConstantOutput.TessLevelOuter) 204
472 576: 147(ptr) AccessChain 566(@patchConstantResult) 204 205
473 577: 7(float) Load 576
474 578: 574(ptr) AccessChain 571(@patchConstantOutput.TessLevelOuter) 205
476 579: 147(ptr) AccessChain 566(@patchConstantResult) 204 377
477 580: 7(float) Load 579
478 581: 574(ptr) AccessChain 571(@patchConstantOutput.TessLevelOuter) 377
480 582: 147(ptr) AccessChain 566(@patchConstantResult) 204 347
481 583: 7(float) Load 582
482 584: 574(ptr) AccessChain 571(@patchConstantOutput.TessLevelOuter) 347
484 587: 147(ptr) AccessChain 566(@patchConstantResult) 205 204
485 588: 7(float) Load 587
486 589: 574(ptr) AccessChain 586(@patchConstantOutput.TessLevelInner) 204
488 590: 147(ptr) AccessChain 566(@patchConstantResult) 205 205
489 591: 7(float) Load 590
490 592: 574(ptr) AccessChain 586(@patchConstantOutput.TessLevelInner) 205
496 25(screenSpaceTessFactor(vf4;vf4;): 7(float) Function None 21
497 23(p0): 20(ptr) FunctionParameter
498 24(p1): 20(ptr) FunctionParameter
500 137(midPoint): 20(ptr) Variable Function
501 148(radius): 147(ptr) Variable Function
502 158(v0): 20(ptr) Variable Function
503 210(clip0): 20(ptr) Variable Function
504 227(clip1): 20(ptr) Variable Function
505 34: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(Acosh) 27
506 35: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103 28 15 15 15 15
507 38: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 36 23(p0) 39
508 43: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 40 24(p1) 39
509 136: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 27 25(screenSpaceTessFactor(vf4;vf4;)
510 141: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 138 137(midPoint) 39
511 143: 17(fvec4) Load 23(p0)
512 144: 17(fvec4) Load 24(p1)
513 145: 17(fvec4) FAdd 143 144
514 146: 17(fvec4) VectorTimesScalar 145 142
515 Store 137(midPoint) 146
516 152: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 149 148(radius) 39
517 153: 17(fvec4) Load 23(p0)
518 154: 17(fvec4) Load 24(p1)
519 155: 7(float) ExtInst 2(GLSL.std.450) 67(Distance) 153 154
520 157: 7(float) FDiv 155 156
521 Store 148(radius) 157
522 162: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 159 158(v0) 39
523 163: 17(fvec4) Load 137(midPoint)
524 207: 206(ptr) AccessChain 198 204 205
526 209: 17(fvec4) VectorTimesMatrix 163 208
528 214: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 211 210(clip0) 39
529 215: 17(fvec4) Load 158(v0)
530 216: 7(float) Load 148(radius)
531 219: 7(float) CompositeExtract 218 0
532 220: 7(float) CompositeExtract 218 1
533 221: 7(float) CompositeExtract 218 2
534 222: 17(fvec4) CompositeConstruct 216 219 220 221
535 223: 17(fvec4) FSub 215 222
536 224: 206(ptr) AccessChain 198 204 204
538 226: 17(fvec4) VectorTimesMatrix 223 225
540 231: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 228 227(clip1) 39
541 232: 17(fvec4) Load 158(v0)
542 233: 7(float) Load 148(radius)
543 234: 7(float) CompositeExtract 218 0
544 235: 7(float) CompositeExtract 218 1
545 236: 7(float) CompositeExtract 218 2
546 237: 17(fvec4) CompositeConstruct 233 234 235 236
547 238: 17(fvec4) FAdd 232 237
548 239: 206(ptr) AccessChain 198 204 204
550 241: 17(fvec4) VectorTimesMatrix 238 240
552 242: 147(ptr) AccessChain 210(clip0) 16
553 243: 7(float) Load 242
554 244: 17(fvec4) Load 210(clip0)
555 245: 17(fvec4) CompositeConstruct 243 243 243 243
556 246: 17(fvec4) FDiv 244 245
558 247: 147(ptr) AccessChain 227(clip1) 16
559 248: 7(float) Load 247
560 249: 17(fvec4) Load 227(clip1)
561 250: 17(fvec4) CompositeConstruct 248 248 248 248
562 251: 17(fvec4) FDiv 249 250
564 254: 253(ptr) AccessChain 198 204 252
565 255: 44(fvec2) Load 254
566 256: 17(fvec4) Load 210(clip0)
567 257: 44(fvec2) VectorShuffle 256 256 0 1
568 258: 44(fvec2) FMul 257 255
569 259: 147(ptr) AccessChain 210(clip0) 15
570 260: 7(float) CompositeExtract 258 0
572 261: 147(ptr) AccessChain 210(clip0) 31
573 262: 7(float) CompositeExtract 258 1
575 263: 253(ptr) AccessChain 198 204 252
576 264: 44(fvec2) Load 263
577 265: 17(fvec4) Load 227(clip1)
578 266: 44(fvec2) VectorShuffle 265 265 0 1
579 267: 44(fvec2) FMul 266 264
580 268: 147(ptr) AccessChain 227(clip1) 15
581 269: 7(float) CompositeExtract 267 0
583 270: 147(ptr) AccessChain 227(clip1) 31
584 271: 7(float) CompositeExtract 267 1
586 272: 17(fvec4) Load 210(clip0)
587 273: 17(fvec4) Load 227(clip1)
588 274: 7(float) ExtInst 2(GLSL.std.450) 67(Distance) 272 273
589 277: 276(ptr) AccessChain 198 204 275
590 278: 7(float) Load 277
591 279: 7(float) FDiv 274 278
592 281: 276(ptr) AccessChain 198 204 280
593 282: 7(float) Load 281
594 283: 7(float) FMul 279 282
595 286: 7(float) ExtInst 2(GLSL.std.450) 43(FClamp) 283 284 285
598 54(frustumCheck(vf4;vf2;): 47(bool) Function None 50
599 52(Pos): 20(ptr) FunctionParameter
600 53(inUV): 46(ptr) FunctionParameter
602 290(pos): 20(ptr) Variable Function
603 333(i): 332(ptr) Variable Function
604 58: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(Acosh) 56
605 59: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103 28 15 15 15 15
606 62: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 60 52(Pos) 39
607 65: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 63 53(inUV) 39
608 289: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 56 54(frustumCheck(vf4;vf2;)
609 294: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 291 290(pos) 39
610 295: 17(fvec4) Load 52(Pos)
612 306: 296 Load 303(textureHeight)
613 315: 307 Load 312(samplerHeight)
614 320: 316 SampledImage 306 315
615 321: 44(fvec2) Load 53(inUV)
616 322: 17(fvec4) ImageSampleExplicitLod 320 321 Lod 217
617 323: 7(float) CompositeExtract 322 0
618 325: 276(ptr) AccessChain 198 204 324
619 326: 7(float) Load 325
620 327: 7(float) FMul 323 326
621 328: 147(ptr) AccessChain 290(pos) 31
622 329: 7(float) Load 328
623 330: 7(float) FSub 329 327
624 331: 147(ptr) AccessChain 290(pos) 31
626 337: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 334 333(i) 39
630 LoopMerge 340 341 None
633 343: 201(int) Load 333(i)
634 345: 47(bool) SLessThan 343 252
635 BranchConditional 345 339 340
637 346: 17(fvec4) Load 290(pos)
638 348: 201(int) Load 333(i)
639 350: 349(ptr) AccessChain 198 204 347 348
640 351: 17(fvec4) Load 350
641 352: 7(float) Dot 346 351
642 354: 7(float) FAdd 352 353
643 356: 47(bool) FOrdLessThan 354 217
644 SelectionMerge 358 None
645 BranchConditional 356 357 358
651 362: 201(int) Load 333(i)
652 363: 201(int) IAdd 362 205
658 102(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];):89(ConstantsHSOutput) Function None 99
659 101(patch): 84(ptr) FunctionParameter
661 369(output): 368(ptr) Variable Function
662 378(param): 20(ptr) Variable Function
663 381(param): 46(ptr) Variable Function
664 403(param): 20(ptr) Variable Function
665 406(param): 20(ptr) Variable Function
666 411(param): 20(ptr) Variable Function
667 414(param): 20(ptr) Variable Function
668 419(param): 20(ptr) Variable Function
669 422(param): 20(ptr) Variable Function
670 427(param): 20(ptr) Variable Function
671 430(param): 20(ptr) Variable Function
672 106: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(Acosh) 104
673 107: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103 28 15 15 15 15
674 110: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 108 101(patch) 39
675 367: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 104 102(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];)
676 373: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 370 369(output) 39
677 Store 369(output) 376
678 379: 20(ptr) AccessChain 101(patch) 204 204
679 380: 17(fvec4) Load 379
681 382: 46(ptr) AccessChain 101(patch) 204 377
682 383: 44(fvec2) Load 382
684 384: 47(bool) FunctionCall 54(frustumCheck(vf4;vf2;) 378(param) 381(param)
685 387: 47(bool) LogicalNot 384
686 SelectionMerge 389 None
687 BranchConditional 387 388 396
689 390: 147(ptr) AccessChain 369(output) 205 204
691 391: 147(ptr) AccessChain 369(output) 205 205
693 392: 147(ptr) AccessChain 369(output) 204 204
695 393: 147(ptr) AccessChain 369(output) 204 205
697 394: 147(ptr) AccessChain 369(output) 204 377
699 395: 147(ptr) AccessChain 369(output) 204 347
703 397: 276(ptr) AccessChain 198 204 280
704 398: 7(float) Load 397
705 400: 47(bool) FOrdGreaterThan 398 217
706 SelectionMerge 402 None
707 BranchConditional 400 401 447
709 404: 20(ptr) AccessChain 101(patch) 347 204
710 405: 17(fvec4) Load 404
712 407: 20(ptr) AccessChain 101(patch) 204 204
713 408: 17(fvec4) Load 407
715 409: 7(float) FunctionCall 25(screenSpaceTessFactor(vf4;vf4;) 403(param) 406(param)
716 410: 147(ptr) AccessChain 369(output) 204 204
718 412: 20(ptr) AccessChain 101(patch) 204 204
719 413: 17(fvec4) Load 412
721 415: 20(ptr) AccessChain 101(patch) 205 204
722 416: 17(fvec4) Load 415
724 417: 7(float) FunctionCall 25(screenSpaceTessFactor(vf4;vf4;) 411(param) 414(param)
725 418: 147(ptr) AccessChain 369(output) 204 205
727 420: 20(ptr) AccessChain 101(patch) 205 204
728 421: 17(fvec4) Load 420
730 423: 20(ptr) AccessChain 101(patch) 377 204
731 424: 17(fvec4) Load 423
733 425: 7(float) FunctionCall 25(screenSpaceTessFactor(vf4;vf4;) 419(param) 422(param)
734 426: 147(ptr) AccessChain 369(output) 204 377
736 428: 20(ptr) AccessChain 101(patch) 377 204
737 429: 17(fvec4) Load 428
739 431: 20(ptr) AccessChain 101(patch) 347 204
740 432: 17(fvec4) Load 431
742 433: 7(float) FunctionCall 25(screenSpaceTessFactor(vf4;vf4;) 427(param) 430(param)
743 434: 147(ptr) AccessChain 369(output) 204 347
745 435: 147(ptr) AccessChain 369(output) 204 204
746 436: 7(float) Load 435
747 437: 147(ptr) AccessChain 369(output) 204 347
748 438: 7(float) Load 437
749 439: 7(float) ExtInst 2(GLSL.std.450) 46(FMix) 436 438 142
750 440: 147(ptr) AccessChain 369(output) 205 204
752 441: 147(ptr) AccessChain 369(output) 204 377
753 442: 7(float) Load 441
754 443: 147(ptr) AccessChain 369(output) 204 205
755 444: 7(float) Load 443
756 445: 7(float) ExtInst 2(GLSL.std.450) 46(FMix) 442 444 142
757 446: 147(ptr) AccessChain 369(output) 205 205
761 448: 147(ptr) AccessChain 369(output) 205 204
763 449: 147(ptr) AccessChain 369(output) 205 205
765 450: 147(ptr) AccessChain 369(output) 204 204
767 451: 147(ptr) AccessChain 369(output) 204 205
769 452: 147(ptr) AccessChain 369(output) 204 377
771 453: 147(ptr) AccessChain 369(output) 204 347
777 454:89(ConstantsHSOutput) Load 369(output)
780 125(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;):112(HSOutput) Function None 121
781 123(patch): 84(ptr) FunctionParameter
782 124(InvocationID): 111(ptr) FunctionParameter
784 459(output): 458(ptr) Variable Function
785 129: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(Acosh) 127
786 130: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103 28 15 15 15 15
787 132: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 131 123(patch) 39
788 135: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 133 124(InvocationID) 39
789 457: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 127 125(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;)
790 462: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 460 459(output) 39
791 Store 459(output) 465
792 466: 10(int) Load 124(InvocationID)
793 467: 20(ptr) AccessChain 123(patch) 466 204
794 468: 17(fvec4) Load 467
795 469: 20(ptr) AccessChain 459(output) 204
797 470: 10(int) Load 124(InvocationID)
798 472: 471(ptr) AccessChain 123(patch) 470 205
799 473: 66(fvec3) Load 472
800 474: 471(ptr) AccessChain 459(output) 205
802 475: 10(int) Load 124(InvocationID)
803 476: 46(ptr) AccessChain 123(patch) 475 377
804 477: 44(fvec2) Load 476
805 478: 46(ptr) AccessChain 459(output) 377
807 479:112(HSOutput) Load 459(output)