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

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