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