glslang/Test/baseResults/spv.debuginfo.hlsl.tesc.out

813 lines
47 KiB
Plaintext

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