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