David Gonzalez Martin be2de1d672 Render a texture
2024-11-10 08:48:46 -06:00

922 lines
57 KiB
Plaintext

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 706
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" 598 605 612 646 655 662 669 684 699
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"
324: String "pos"
331: String "type.2d.image"
333: String "@type.2d.image"
339: String "textureHeight"
344: String "type.sampler"
345: String "@type.sampler"
350: String "samplerHeight"
354: String "type.sampled.image"
355: String "@type.sampled.image"
372: 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 322 "pos"
Name 337 "textureHeight"
Name 348 "samplerHeight"
Name 370 "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 595 "patch"
Name 598 "patch.Pos"
Name 605 "patch.Normal"
Name 612 "patch.UV"
Name 644 "InvocationID"
Name 646 "InvocationID"
Name 648 "flattenTemp"
Name 649 "param"
Name 651 "param"
Name 655 "@entryPointOutput.Pos"
Name 662 "@entryPointOutput.Normal"
Name 669 "@entryPointOutput.UV"
Name 679 "@patchConstantResult"
Name 680 "param"
Name 684 "@patchConstantOutput.TessLevelOuter"
Name 699 "@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 337(textureHeight) Binding 1
Decorate 337(textureHeight) DescriptorSet 0
Decorate 348(samplerHeight) Binding 1
Decorate 348(samplerHeight) DescriptorSet 0
Decorate 598(patch.Pos) BuiltIn Position
Decorate 605(patch.Normal) Location 0
Decorate 612(patch.UV) Location 1
Decorate 646(InvocationID) BuiltIn InvocationId
Decorate 655(@entryPointOutput.Pos) BuiltIn Position
Decorate 662(@entryPointOutput.Normal) Location 0
Decorate 669(@entryPointOutput.UV) Location 1
Decorate 684(@patchConstantOutput.TessLevelOuter) BuiltIn TessLevelOuter
Decorate 684(@patchConstantOutput.TessLevelOuter) Patch
Decorate 699(@patchConstantOutput.TessLevelInner) BuiltIn TessLevelInner
Decorate 699(@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
325: 11(int) Constant 98
323: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 324 20 32 325 16 62 19
329: TypeImage 8(float) 2D sampled format:Unknown
332: 11(int) Constant 99
334: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
330: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 331 16 32 332 16 35 333 334 17
335: TypePointer UniformConstant 329
336: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 330 16 16
337(textureHeight): 335(ptr) Variable UniformConstant
338: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 339 330 32 332 16 35 339 337(textureHeight) 215
342: TypeSampler
343: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 344 36 32 332 16 35 345 334 17
346: TypePointer UniformConstant 342
347: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 343 16 16
348(samplerHeight): 346(ptr) Variable UniformConstant
349: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 350 343 32 332 16 35 350 348(samplerHeight) 215
352: TypeSampledImage 329
353: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 354 16 32 332 16 35 355 334 17
360: 216(int) Constant 4
368: TypePointer Function 216(int)
369: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 218 22 16
373: 11(int) Constant 102
371: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 372 218 32 373 16 62 19
390: 11(int) Constant 103
391: 216(int) Constant 3
393: TypePointer Uniform 18(fvec4)
394: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 46 16
398: 8(float) Constant 1090519040
403: 52(bool) ConstantFalse
406: 11(int) Constant 105
414: 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
552: 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
596: TypeArray 18(fvec4) 19
597: TypePointer Input 596
598(patch.Pos): 597(ptr) Variable Input
599: TypePointer Input 18(fvec4)
603: TypeArray 72(fvec3) 19
604: TypePointer Input 603
605(patch.Normal): 604(ptr) Variable Input
606: TypePointer Input 72(fvec3)
610: TypeArray 48(fvec2) 19
611: TypePointer Input 610
612(patch.UV): 611(ptr) Variable Input
613: TypePointer Input 48(fvec2)
645: TypePointer Input 11(int)
646(InvocationID): 645(ptr) Variable Input
654: TypePointer Output 596
655(@entryPointOutput.Pos): 654(ptr) Variable Output
659: TypePointer Output 18(fvec4)
661: TypePointer Output 603
662(@entryPointOutput.Normal): 661(ptr) Variable Output
666: TypePointer Output 72(fvec3)
668: TypePointer Output 610
669(@entryPointOutput.UV): 668(ptr) Variable Output
673: TypePointer Output 48(fvec2)
683: TypePointer Output 93
684(@patchConstantOutput.TessLevelOuter): 683(ptr) Variable Output
687: TypePointer Output 8(float)
698: TypePointer Output 95
699(@patchConstantOutput.TessLevelInner): 698(ptr) Variable Output
6(main): 4 Function None 5
7: Label
595(patch): 91(ptr) Variable Function
644(InvocationID): 119(ptr) Variable Function
648(flattenTemp): 558(ptr) Variable Function
649(param): 91(ptr) Variable Function
651(param): 119(ptr) Variable Function
679(@patchConstantResult): 420(ptr) Variable Function
680(param): 91(ptr) Variable Function
600: 599(ptr) AccessChain 598(patch.Pos) 219
601: 18(fvec4) Load 600
602: 21(ptr) AccessChain 595(patch) 219 219
Store 602 601
607: 606(ptr) AccessChain 605(patch.Normal) 219
608: 72(fvec3) Load 607
609: 577(ptr) AccessChain 595(patch) 219 220
Store 609 608
614: 613(ptr) AccessChain 612(patch.UV) 219
615: 48(fvec2) Load 614
616: 50(ptr) AccessChain 595(patch) 219 431
Store 616 615
617: 599(ptr) AccessChain 598(patch.Pos) 220
618: 18(fvec4) Load 617
619: 21(ptr) AccessChain 595(patch) 220 219
Store 619 618
620: 606(ptr) AccessChain 605(patch.Normal) 220
621: 72(fvec3) Load 620
622: 577(ptr) AccessChain 595(patch) 220 220
Store 622 621
623: 613(ptr) AccessChain 612(patch.UV) 220
624: 48(fvec2) Load 623
625: 50(ptr) AccessChain 595(patch) 220 431
Store 625 624
626: 599(ptr) AccessChain 598(patch.Pos) 431
627: 18(fvec4) Load 626
628: 21(ptr) AccessChain 595(patch) 431 219
Store 628 627
629: 606(ptr) AccessChain 605(patch.Normal) 431
630: 72(fvec3) Load 629
631: 577(ptr) AccessChain 595(patch) 431 220
Store 631 630
632: 613(ptr) AccessChain 612(patch.UV) 431
633: 48(fvec2) Load 632
634: 50(ptr) AccessChain 595(patch) 431 431
Store 634 633
635: 599(ptr) AccessChain 598(patch.Pos) 391
636: 18(fvec4) Load 635
637: 21(ptr) AccessChain 595(patch) 391 219
Store 637 636
638: 606(ptr) AccessChain 605(patch.Normal) 391
639: 72(fvec3) Load 638
640: 577(ptr) AccessChain 595(patch) 391 220
Store 640 639
641: 613(ptr) AccessChain 612(patch.UV) 391
642: 48(fvec2) Load 641
643: 50(ptr) AccessChain 595(patch) 391 431
Store 643 642
647: 11(int) Load 646(InvocationID)
Store 644(InvocationID) 647
650: 89 Load 595(patch)
Store 649(param) 650
652: 11(int) Load 644(InvocationID)
Store 651(param) 652
653:121(HSOutput) FunctionCall 135(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) 649(param) 651(param)
Store 648(flattenTemp) 653
656: 11(int) Load 646(InvocationID)
657: 21(ptr) AccessChain 648(flattenTemp) 219
658: 18(fvec4) Load 657
660: 659(ptr) AccessChain 655(@entryPointOutput.Pos) 656
Store 660 658
663: 11(int) Load 646(InvocationID)
664: 577(ptr) AccessChain 648(flattenTemp) 220
665: 72(fvec3) Load 664
667: 666(ptr) AccessChain 662(@entryPointOutput.Normal) 663
Store 667 665
670: 11(int) Load 646(InvocationID)
671: 50(ptr) AccessChain 648(flattenTemp) 431
672: 48(fvec2) Load 671
674: 673(ptr) AccessChain 669(@entryPointOutput.UV) 670
Store 674 672
ControlBarrier 46 19 16
675: 11(int) Load 646(InvocationID)
676: 52(bool) IEqual 675 219
SelectionMerge 678 None
BranchConditional 676 677 678
677: Label
681: 89 Load 595(patch)
Store 680(param) 681
682:97(ConstantsHSOutput) FunctionCall 110(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) 680(param)
Store 679(@patchConstantResult) 682
685: 158(ptr) AccessChain 679(@patchConstantResult) 219 219
686: 8(float) Load 685
688: 687(ptr) AccessChain 684(@patchConstantOutput.TessLevelOuter) 219
Store 688 686
689: 158(ptr) AccessChain 679(@patchConstantResult) 219 220
690: 8(float) Load 689
691: 687(ptr) AccessChain 684(@patchConstantOutput.TessLevelOuter) 220
Store 691 690
692: 158(ptr) AccessChain 679(@patchConstantResult) 219 431
693: 8(float) Load 692
694: 687(ptr) AccessChain 684(@patchConstantOutput.TessLevelOuter) 431
Store 694 693
695: 158(ptr) AccessChain 679(@patchConstantResult) 219 391
696: 8(float) Load 695
697: 687(ptr) AccessChain 684(@patchConstantOutput.TessLevelOuter) 391
Store 697 696
700: 158(ptr) AccessChain 679(@patchConstantResult) 220 219
701: 8(float) Load 700
702: 687(ptr) AccessChain 699(@patchConstantOutput.TessLevelInner) 219
Store 702 701
703: 158(ptr) AccessChain 679(@patchConstantResult) 220 220
704: 8(float) Load 703
705: 687(ptr) AccessChain 699(@patchConstantOutput.TessLevelInner) 220
Store 705 704
Branch 678
678: 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
322(pos): 21(ptr) Variable Function
370(i): 368(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
321: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 62 59(frustumCheck(vf4;vf2;)
327: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 325 325 16 16
326: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 323 322(pos) 41
328: 18(fvec4) Load 57(Pos)
Store 322(pos) 328
341: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 332 332 16 16
340: 329 Load 337(textureHeight)
351: 342 Load 348(samplerHeight)
356: 352 SampledImage 340 351
357: 48(fvec2) Load 58(inUV)
358: 18(fvec4) ImageSampleExplicitLod 356 357 Lod 234
359: 8(float) CompositeExtract 358 0
361: 305(ptr) AccessChain 213 219 360
362: 8(float) Load 361
363: 8(float) FMul 359 362
364: 158(ptr) AccessChain 322(pos) 36
365: 8(float) Load 364
366: 8(float) FSub 365 363
367: 158(ptr) AccessChain 322(pos) 36
Store 367 366
375: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 373 373 16 16
374: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 371 370(i) 41
Store 370(i) 219
Branch 376
376: Label
380: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 62
381: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 373 373 16 16
LoopMerge 378 379 None
Branch 382
382: Label
384: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 62
385: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 373 373 16 16
383: 216(int) Load 370(i)
386: 52(bool) SLessThan 383 274
BranchConditional 386 377 378
377: Label
388: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 62
389: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 390 390 16 16
387: 18(fvec4) Load 322(pos)
392: 216(int) Load 370(i)
395: 393(ptr) AccessChain 213 219 391 392
396: 18(fvec4) Load 395
397: 8(float) Dot 387 396
399: 8(float) FAdd 397 398
400: 52(bool) FOrdLessThan 399 234
SelectionMerge 402 None
BranchConditional 400 401 402
401: Label
404: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 62
405: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 406 406 16 16
ReturnValue 403
402: Label
Branch 379
379: Label
409: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 62
410: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 373 373 16 16
408: 216(int) Load 370(i)
411: 216(int) IAdd 408 220
Store 370(i) 411
Branch 376
378: Label
412: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 62
413: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 414 414 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 391
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) 391 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) 391 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 391
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 391
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 391
Store 546 314
Branch 471
471: Label
Branch 443
443: Label
550: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 113
551: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 32 552 552 16 16
549:97(ConstantsHSOutput) Load 422(output)
ReturnValue 549
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