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