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

629 lines
39 KiB
Text

spv.debuginfo.hlsl.tese
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 464
Capability Tessellation
Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint TessellationEvaluation 6 "main" 355 370 379 388 395 401 441 445 449 452 455 458 461
ExecutionMode 6 Quads
1: String ""
9: String "float"
12: String "uint"
26: String "TessLevelOuter"
28: 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
"
32: String "TessLevelInner"
35: String "ConstantsHSOutput"
49: String "Pos"
52: String "Normal"
56: String "UV"
60: String "HSOutput"
68: String "WorldPos"
78: String "DSOutput"
86: String "@main"
92: String "input"
96: String "TessCoord"
99: String "patch"
108: String "output"
119: String "uv1"
122: String "int"
138: String "uv2"
161: String "n1"
173: String "n2"
195: String "pos1"
207: String "pos2"
219: String "pos"
231: String "type.2d.image"
232: String "@type.2d.image"
237: String "displacementMapTexture"
242: String "type.sampler"
243: String "@type.sampler"
247: String "displacementMapSampler"
251: String "type.sampled.image"
252: String "@type.sampled.image"
261: String "bool"
268: String "modelview"
273: String "lightPos"
277: String "frustumPlanes"
280: String "tessellatedEdgeSize"
284: String "viewportDim"
288: String "UBO"
291: String "ubo"
Name 6 "main"
Name 24 "ConstantsHSOutput"
MemberName 24(ConstantsHSOutput) 0 "TessLevelOuter"
MemberName 24(ConstantsHSOutput) 1 "TessLevelInner"
Name 47 "HSOutput"
MemberName 47(HSOutput) 0 "Pos"
MemberName 47(HSOutput) 1 "Normal"
MemberName 47(HSOutput) 2 "UV"
Name 63 "DSOutput"
MemberName 63(DSOutput) 0 "Pos"
MemberName 63(DSOutput) 1 "Normal"
MemberName 63(DSOutput) 2 "UV"
MemberName 63(DSOutput) 3 "ViewVec"
MemberName 63(DSOutput) 4 "LightVec"
MemberName 63(DSOutput) 5 "EyePos"
MemberName 63(DSOutput) 6 "WorldPos"
Name 84 "@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];"
Name 81 "input"
Name 82 "TessCoord"
Name 83 "patch"
Name 106 "output"
Name 117 "uv1"
Name 136 "uv2"
Name 159 "n1"
Name 171 "n2"
Name 193 "pos1"
Name 205 "pos2"
Name 217 "pos"
Name 235 "displacementMapTexture"
Name 245 "displacementMapSampler"
Name 266 "UBO"
MemberName 266(UBO) 0 "projection"
MemberName 266(UBO) 1 "modelview"
MemberName 266(UBO) 2 "lightPos"
MemberName 266(UBO) 3 "frustumPlanes"
MemberName 266(UBO) 4 "displacementFactor"
MemberName 266(UBO) 5 "tessellationFactor"
MemberName 266(UBO) 6 "viewportDim"
MemberName 266(UBO) 7 "tessellatedEdgeSize"
Name 289 "ubo"
MemberName 289(ubo) 0 "ubo"
Name 294 ""
Name 353 "input"
Name 355 "input.TessLevelOuter"
Name 370 "input.TessLevelInner"
Name 377 "TessCoord"
Name 379 "TessCoord"
Name 385 "patch"
Name 388 "patch.Pos"
Name 395 "patch.Normal"
Name 401 "patch.UV"
Name 433 "flattenTemp"
Name 435 "param"
Name 437 "param"
Name 441 "@entryPointOutput.Pos"
Name 445 "@entryPointOutput.Normal"
Name 449 "@entryPointOutput.UV"
Name 452 "@entryPointOutput.ViewVec"
Name 455 "@entryPointOutput.LightVec"
Name 458 "@entryPointOutput.EyePos"
Name 461 "@entryPointOutput.WorldPos"
Decorate 235(displacementMapTexture) DescriptorSet 0
Decorate 235(displacementMapTexture) Binding 1
Decorate 245(displacementMapSampler) DescriptorSet 0
Decorate 245(displacementMapSampler) Binding 1
Decorate 264 ArrayStride 16
MemberDecorate 266(UBO) 0 RowMajor
MemberDecorate 266(UBO) 0 Offset 0
MemberDecorate 266(UBO) 0 MatrixStride 16
MemberDecorate 266(UBO) 1 RowMajor
MemberDecorate 266(UBO) 1 Offset 64
MemberDecorate 266(UBO) 1 MatrixStride 16
MemberDecorate 266(UBO) 2 Offset 128
MemberDecorate 266(UBO) 3 Offset 144
MemberDecorate 266(UBO) 4 Offset 240
MemberDecorate 266(UBO) 5 Offset 244
MemberDecorate 266(UBO) 6 Offset 248
MemberDecorate 266(UBO) 7 Offset 256
MemberDecorate 289(ubo) 0 Offset 0
Decorate 289(ubo) Block
Decorate 294 DescriptorSet 0
Decorate 294 Binding 0
Decorate 355(input.TessLevelOuter) Patch
Decorate 355(input.TessLevelOuter) BuiltIn TessLevelOuter
Decorate 370(input.TessLevelInner) Patch
Decorate 370(input.TessLevelInner) BuiltIn TessLevelInner
Decorate 379(TessCoord) Patch
Decorate 379(TessCoord) BuiltIn TessCoord
Decorate 388(patch.Pos) BuiltIn Position
Decorate 395(patch.Normal) Location 0
Decorate 401(patch.UV) Location 1
Decorate 441(@entryPointOutput.Pos) BuiltIn Position
Decorate 445(@entryPointOutput.Normal) Location 0
Decorate 449(@entryPointOutput.UV) Location 1
Decorate 452(@entryPointOutput.ViewVec) Location 2
Decorate 455(@entryPointOutput.LightVec) Location 3
Decorate 458(@entryPointOutput.EyePos) Location 4
Decorate 461(@entryPointOutput.WorldPos) Location 5
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: 11(int) Constant 4
19: TypeArray 8(float) 18
20: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 10 18
21: 11(int) Constant 2
22: TypeArray 8(float) 21
23: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 10 21
24(ConstantsHSOutput): TypeStruct 19 22
27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 28
29: 11(int) Constant 51
30: 11(int) Constant 25
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 26 20 27 29 30 16 16 17
33: 11(int) Constant 52
31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 32 23 27 33 30 16 16 17
36: 11(int) Constant 1
38: 11(int) Constant 5
37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 36 18 27 38
34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 35 36 27 16 16 37 35 16 17 25 31
39: TypePointer Function 24(ConstantsHSOutput)
40: TypeVector 8(float) 2
41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 21
42: TypePointer Function 40(fvec2)
43: TypeVector 8(float) 4
44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 18
45: TypeVector 8(float) 3
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17
47(HSOutput): TypeStruct 43(fvec4) 45(fvec3) 40(fvec2)
50: 11(int) Constant 44
48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 44 27 50 14 16 16 17
53: 11(int) Constant 45
54: 11(int) Constant 35
51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 46 27 53 54 16 16 17
57: 11(int) Constant 46
58: 11(int) Constant 31
55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 56 41 27 57 58 16 16 17
59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 60 36 27 16 16 37 60 16 17 48 51 55
61: TypeArray 47(HSOutput) 18
62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 59 18
63(DSOutput): TypeStruct 43(fvec4) 45(fvec3) 40(fvec2) 45(fvec3) 45(fvec3) 45(fvec3) 45(fvec3)
65: 11(int) Constant 57
66: 11(int) Constant 13
64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 44 27 65 66 16 16 17
69: 11(int) Constant 63
70: 11(int) Constant 37
67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17
72: 11(int) Constant 59
71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 56 41 27 72 58 16 16 17
73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17
74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17
75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17
76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 46 27 69 70 16 16 17
77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 78 36 27 16 16 37 78 16 17 64 67 71 73 74 75 76
79: TypeFunction 63(DSOutput) 39(ptr) 42(ptr) 61
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 77 34 41 59
88: 11(int) Constant 68
87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 86 80 27 88 16 37 86 17 88
91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 92 34 27 88 16 87 18 36
94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 96 41 27 88 16 87 18 21
98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 99 59 27 88 16 87 18 17
104: 11(int) Constant 70
105: TypePointer Function 63(DSOutput)
107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 108 77 27 104 16 87 18
110: 8(float) Constant 0
111: 43(fvec4) ConstantComposite 110 110 110 110
112: 45(fvec3) ConstantComposite 110 110 110
113: 40(fvec2) ConstantComposite 110 110
114:63(DSOutput) ConstantComposite 111 112 113 112 112 112 112
116: 11(int) Constant 71
118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 119 41 27 116 16 87 18
121: TypeInt 32 1
123: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 122 14 18 16
124: 121(int) Constant 0
125: 121(int) Constant 2
127: 121(int) Constant 1
129: TypePointer Function 8(float)
135: 11(int) Constant 72
137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 138 41 27 135 16 87 18
140: 121(int) Constant 3
148: 11(int) Constant 73
157: 11(int) Constant 75
158: TypePointer Function 45(fvec3)
160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 161 46 27 157 16 87 18
170: 11(int) Constant 76
172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 173 46 27 170 16 87 18
182: 11(int) Constant 77
191: 11(int) Constant 80
192: TypePointer Function 43(fvec4)
194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 195 44 27 191 16 87 18
204: 11(int) Constant 81
206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 207 44 27 204 16 87 18
216: 11(int) Constant 82
218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 219 44 27 216 16 87 18
228: 11(int) Constant 84
229: TypeImage 8(float) 2D sampled format:Unknown
233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 231 16 27 228 16 37 232 233 17
234: TypePointer UniformConstant 229
235(displacementMapTexture): 234(ptr) Variable UniformConstant
238: 11(int) Constant 8
236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 237 230 27 228 16 37 237 235(displacementMapTexture) 238
240: TypeSampler
241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 242 36 27 228 16 37 243 233 17
244: TypePointer UniformConstant 240
245(displacementMapSampler): 244(ptr) Variable UniformConstant
246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 247 241 27 228 16 37 247 245(displacementMapSampler) 238
249: TypeSampledImage 229
250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 251 16 27 228 16 37 252 233 17
258: TypeMatrix 43(fvec4) 4
260: TypeBool
262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 261 14 21 16
263: 260(bool) ConstantTrue
259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 44 18 263
264: TypeArray 43(fvec4) 15
265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 44 15
266(UBO): TypeStruct 258 258 43(fvec4) 264 8(float) 8(float) 40(fvec2) 8(float)
269: 11(int) Constant 29
270: 11(int) Constant 20
267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 268 259 27 269 270 16 16 17
271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 268 259 27 269 270 16 16 17
274: 11(int) Constant 30
275: 11(int) Constant 17
272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 273 44 27 274 275 16 16 17
278: 11(int) Constant 22
276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 277 265 27 58 278 16 16 17
281: 11(int) Constant 27
279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 280 10 27 54 281 16 16 17
282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 280 10 27 54 281 16 16 17
285: 11(int) Constant 34
283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 284 41 27 285 270 16 16 17
286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 280 10 27 54 281 16 16 17
287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 288 36 27 228 16 37 288 16 17 267 271 272 276 279 282 283 286
289(ubo): TypeStruct 266(UBO)
290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 291 287 27 70 70 16 16 17
292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 291 36 27 228 16 37 291 16 17 290
293: TypePointer Uniform 289(ubo)
294: 293(ptr) Variable Uniform
295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 292 27 228 16 37 1 294 238
296: 121(int) Constant 4
297: TypePointer Uniform 8(float)
306: 11(int) Constant 86
308: TypePointer Uniform 258
317: 11(int) Constant 89
323: 11(int) Constant 90
324: TypePointer Uniform 43(fvec4)
334: 11(int) Constant 91
335: 121(int) Constant 6
340: 11(int) Constant 92
341: 121(int) Constant 5
349: 11(int) Constant 93
354: TypePointer Input 19
355(input.TessLevelOuter): 354(ptr) Variable Input
356: TypePointer Input 8(float)
369: TypePointer Input 22
370(input.TessLevelInner): 369(ptr) Variable Input
378: TypePointer Input 45(fvec3)
379(TessCoord): 378(ptr) Variable Input
384: TypePointer Function 61
386: TypeArray 43(fvec4) 18
387: TypePointer Input 386
388(patch.Pos): 387(ptr) Variable Input
389: TypePointer Input 43(fvec4)
393: TypeArray 45(fvec3) 18
394: TypePointer Input 393
395(patch.Normal): 394(ptr) Variable Input
399: TypeArray 40(fvec2) 18
400: TypePointer Input 399
401(patch.UV): 400(ptr) Variable Input
402: TypePointer Input 40(fvec2)
440: TypePointer Output 43(fvec4)
441(@entryPointOutput.Pos): 440(ptr) Variable Output
444: TypePointer Output 45(fvec3)
445(@entryPointOutput.Normal): 444(ptr) Variable Output
448: TypePointer Output 40(fvec2)
449(@entryPointOutput.UV): 448(ptr) Variable Output
452(@entryPointOutput.ViewVec): 444(ptr) Variable Output
455(@entryPointOutput.LightVec): 444(ptr) Variable Output
458(@entryPointOutput.EyePos): 444(ptr) Variable Output
461(@entryPointOutput.WorldPos): 444(ptr) Variable Output
Line 1 68 1
6(main): 4 Function None 5
7: Label
353(input): 39(ptr) Variable Function
377(TessCoord): 42(ptr) Variable Function
385(patch): 384(ptr) Variable Function
433(flattenTemp): 105(ptr) Variable Function
435(param): 39(ptr) Variable Function
437(param): 42(ptr) Variable Function
Line 1 68 0
357: 356(ptr) AccessChain 355(input.TessLevelOuter) 124
358: 8(float) Load 357
359: 129(ptr) AccessChain 353(input) 124 124
Store 359 358
360: 356(ptr) AccessChain 355(input.TessLevelOuter) 127
361: 8(float) Load 360
362: 129(ptr) AccessChain 353(input) 124 127
Store 362 361
363: 356(ptr) AccessChain 355(input.TessLevelOuter) 125
364: 8(float) Load 363
365: 129(ptr) AccessChain 353(input) 124 125
Store 365 364
366: 356(ptr) AccessChain 355(input.TessLevelOuter) 140
367: 8(float) Load 366
368: 129(ptr) AccessChain 353(input) 124 140
Store 368 367
371: 356(ptr) AccessChain 370(input.TessLevelInner) 124
372: 8(float) Load 371
373: 129(ptr) AccessChain 353(input) 127 124
Store 373 372
374: 356(ptr) AccessChain 370(input.TessLevelInner) 127
375: 8(float) Load 374
376: 129(ptr) AccessChain 353(input) 127 127
Store 376 375
380: 45(fvec3) Load 379(TessCoord)
381: 8(float) CompositeExtract 380 0
382: 8(float) CompositeExtract 380 1
383: 40(fvec2) CompositeConstruct 381 382
Store 377(TessCoord) 383
390: 389(ptr) AccessChain 388(patch.Pos) 124
391: 43(fvec4) Load 390
392: 192(ptr) AccessChain 385(patch) 124 124
Store 392 391
396: 378(ptr) AccessChain 395(patch.Normal) 124
397: 45(fvec3) Load 396
398: 158(ptr) AccessChain 385(patch) 124 127
Store 398 397
403: 402(ptr) AccessChain 401(patch.UV) 124
404: 40(fvec2) Load 403
405: 42(ptr) AccessChain 385(patch) 124 125
Store 405 404
406: 389(ptr) AccessChain 388(patch.Pos) 127
407: 43(fvec4) Load 406
408: 192(ptr) AccessChain 385(patch) 127 124
Store 408 407
409: 378(ptr) AccessChain 395(patch.Normal) 127
410: 45(fvec3) Load 409
411: 158(ptr) AccessChain 385(patch) 127 127
Store 411 410
412: 402(ptr) AccessChain 401(patch.UV) 127
413: 40(fvec2) Load 412
414: 42(ptr) AccessChain 385(patch) 127 125
Store 414 413
415: 389(ptr) AccessChain 388(patch.Pos) 125
416: 43(fvec4) Load 415
417: 192(ptr) AccessChain 385(patch) 125 124
Store 417 416
418: 378(ptr) AccessChain 395(patch.Normal) 125
419: 45(fvec3) Load 418
420: 158(ptr) AccessChain 385(patch) 125 127
Store 420 419
421: 402(ptr) AccessChain 401(patch.UV) 125
422: 40(fvec2) Load 421
423: 42(ptr) AccessChain 385(patch) 125 125
Store 423 422
424: 389(ptr) AccessChain 388(patch.Pos) 140
425: 43(fvec4) Load 424
426: 192(ptr) AccessChain 385(patch) 140 124
Store 426 425
427: 378(ptr) AccessChain 395(patch.Normal) 140
428: 45(fvec3) Load 427
429: 158(ptr) AccessChain 385(patch) 140 127
Store 429 428
430: 402(ptr) AccessChain 401(patch.UV) 140
431: 40(fvec2) Load 430
432: 42(ptr) AccessChain 385(patch) 140 125
Store 432 431
434: 61 Load 385(patch)
436:24(ConstantsHSOutput) Load 353(input)
Store 435(param) 436
438: 40(fvec2) Load 377(TessCoord)
Store 437(param) 438
439:63(DSOutput) FunctionCall 84(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];) 435(param) 437(param) 434
Store 433(flattenTemp) 439
442: 192(ptr) AccessChain 433(flattenTemp) 124
443: 43(fvec4) Load 442
Store 441(@entryPointOutput.Pos) 443
446: 158(ptr) AccessChain 433(flattenTemp) 127
447: 45(fvec3) Load 446
Store 445(@entryPointOutput.Normal) 447
450: 42(ptr) AccessChain 433(flattenTemp) 125
451: 40(fvec2) Load 450
Store 449(@entryPointOutput.UV) 451
453: 158(ptr) AccessChain 433(flattenTemp) 140
454: 45(fvec3) Load 453
Store 452(@entryPointOutput.ViewVec) 454
456: 158(ptr) AccessChain 433(flattenTemp) 296
457: 45(fvec3) Load 456
Store 455(@entryPointOutput.LightVec) 457
459: 158(ptr) AccessChain 433(flattenTemp) 341
460: 45(fvec3) Load 459
Store 458(@entryPointOutput.EyePos) 460
462: 158(ptr) AccessChain 433(flattenTemp) 335
463: 45(fvec3) Load 462
Store 461(@entryPointOutput.WorldPos) 463
Return
FunctionEnd
Line 1 68 1
84(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];):63(DSOutput) Function None 79
81(input): 39(ptr) FunctionParameter
82(TessCoord): 42(ptr) FunctionParameter
83(patch): 61 FunctionParameter
85: Label
106(output): 105(ptr) Variable Function
117(uv1): 42(ptr) Variable Function
136(uv2): 42(ptr) Variable Function
159(n1): 158(ptr) Variable Function
171(n2): 158(ptr) Variable Function
193(pos1): 192(ptr) Variable Function
205(pos2): 192(ptr) Variable Function
217(pos): 192(ptr) Variable Function
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 87
90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 88 88 16 16
93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 91 81(input) 94
97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 95 82(TessCoord) 94
100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 98 83(patch) 94
101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 87 84(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];)
102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 87
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 104 104 16 16
109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 107 106(output) 94
Store 106(output) 114
115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 116 116 16 16
120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 118 117(uv1) 94
126: 40(fvec2) CompositeExtract 83(patch) 0 2
128: 40(fvec2) CompositeExtract 83(patch) 1 2
130: 129(ptr) AccessChain 82(TessCoord) 16
131: 8(float) Load 130
132: 40(fvec2) CompositeConstruct 131 131
133: 40(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 126 128 132
Store 117(uv1) 133
134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 135 135 16 16
139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 137 136(uv2) 94
141: 40(fvec2) CompositeExtract 83(patch) 3 2
142: 40(fvec2) CompositeExtract 83(patch) 2 2
143: 129(ptr) AccessChain 82(TessCoord) 16
144: 8(float) Load 143
145: 40(fvec2) CompositeConstruct 144 144
146: 40(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 141 142 145
Store 136(uv2) 146
147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 148 148 16 16
149: 40(fvec2) Load 117(uv1)
150: 40(fvec2) Load 136(uv2)
151: 129(ptr) AccessChain 82(TessCoord) 36
152: 8(float) Load 151
153: 40(fvec2) CompositeConstruct 152 152
154: 40(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 149 150 153
155: 42(ptr) AccessChain 106(output) 125
Store 155 154
156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 157 157 16 16
162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 160 159(n1) 94
163: 45(fvec3) CompositeExtract 83(patch) 0 1
164: 45(fvec3) CompositeExtract 83(patch) 1 1
165: 129(ptr) AccessChain 82(TessCoord) 16
166: 8(float) Load 165
167: 45(fvec3) CompositeConstruct 166 166 166
168: 45(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 163 164 167
Store 159(n1) 168
169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 170 170 16 16
174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 172 171(n2) 94
175: 45(fvec3) CompositeExtract 83(patch) 3 1
176: 45(fvec3) CompositeExtract 83(patch) 2 1
177: 129(ptr) AccessChain 82(TessCoord) 16
178: 8(float) Load 177
179: 45(fvec3) CompositeConstruct 178 178 178
180: 45(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 175 176 179
Store 171(n2) 180
181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 182 182 16 16
183: 45(fvec3) Load 159(n1)
184: 45(fvec3) Load 171(n2)
185: 129(ptr) AccessChain 82(TessCoord) 36
186: 8(float) Load 185
187: 45(fvec3) CompositeConstruct 186 186 186
188: 45(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 183 184 187
189: 158(ptr) AccessChain 106(output) 127
Store 189 188
190: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 191 191 16 16
196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 194 193(pos1) 94
197: 43(fvec4) CompositeExtract 83(patch) 0 0
198: 43(fvec4) CompositeExtract 83(patch) 1 0
199: 129(ptr) AccessChain 82(TessCoord) 16
200: 8(float) Load 199
201: 43(fvec4) CompositeConstruct 200 200 200 200
202: 43(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 197 198 201
Store 193(pos1) 202
203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 204 204 16 16
208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 206 205(pos2) 94
209: 43(fvec4) CompositeExtract 83(patch) 3 0
210: 43(fvec4) CompositeExtract 83(patch) 2 0
211: 129(ptr) AccessChain 82(TessCoord) 16
212: 8(float) Load 211
213: 43(fvec4) CompositeConstruct 212 212 212 212
214: 43(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 209 210 213
Store 205(pos2) 214
215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 216 216 16 16
220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 218 217(pos) 94
221: 43(fvec4) Load 193(pos1)
222: 43(fvec4) Load 205(pos2)
223: 129(ptr) AccessChain 82(TessCoord) 36
224: 8(float) Load 223
225: 43(fvec4) CompositeConstruct 224 224 224 224
226: 43(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 221 222 225
Store 217(pos) 226
227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 228 228 16 16
239: 229 Load 235(displacementMapTexture)
248: 240 Load 245(displacementMapSampler)
253: 249 SampledImage 239 248
254: 42(ptr) AccessChain 106(output) 125
255: 40(fvec2) Load 254
256: 43(fvec4) ImageSampleExplicitLod 253 255 Lod 110
257: 8(float) CompositeExtract 256 0
298: 297(ptr) AccessChain 294 124 296
299: 8(float) Load 298
300: 8(float) FMul 257 299
301: 129(ptr) AccessChain 217(pos) 36
302: 8(float) Load 301
303: 8(float) FSub 302 300
304: 129(ptr) AccessChain 217(pos) 36
Store 304 303
305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 306 306 16 16
307: 43(fvec4) Load 217(pos)
309: 308(ptr) AccessChain 294 124 127
310: 258 Load 309
311: 43(fvec4) VectorTimesMatrix 307 310
312: 308(ptr) AccessChain 294 124 124
313: 258 Load 312
314: 43(fvec4) VectorTimesMatrix 311 313
315: 192(ptr) AccessChain 106(output) 124
Store 315 314
316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 317 317 16 16
318: 43(fvec4) Load 217(pos)
319: 45(fvec3) VectorShuffle 318 318 0 1 2
320: 45(fvec3) FNegate 319
321: 158(ptr) AccessChain 106(output) 140
Store 321 320
322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 323 323 16 16
325: 324(ptr) AccessChain 294 124 125
326: 43(fvec4) Load 325
327: 45(fvec3) VectorShuffle 326 326 0 1 2
328: 158(ptr) AccessChain 106(output) 140
329: 45(fvec3) Load 328
330: 45(fvec3) FAdd 327 329
331: 45(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 330
332: 158(ptr) AccessChain 106(output) 296
Store 332 331
333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 334 334 16 16
336: 43(fvec4) Load 217(pos)
337: 45(fvec3) VectorShuffle 336 336 0 1 2
338: 158(ptr) AccessChain 106(output) 335
Store 338 337
339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 340 340 16 16
342: 43(fvec4) Load 217(pos)
343: 308(ptr) AccessChain 294 124 127
344: 258 Load 343
345: 43(fvec4) VectorTimesMatrix 342 344
346: 45(fvec3) VectorShuffle 345 345 0 1 2
347: 158(ptr) AccessChain 106(output) 341
Store 347 346
348: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 349 349 16 16
350:63(DSOutput) Load 106(output)
ReturnValue 350
FunctionEnd