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

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