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

639 lines
40 KiB
Plaintext

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