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

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