blob: 47ee2bd526cb08e246930054e6a6ee7396c621d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
|
spv.debuginfo.hlsl.tese
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 462
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" 353 368 377 386 393 399 439 443 447 450 453 456 459
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"
266: String "modelview"
271: String "lightPos"
275: String "frustumPlanes"
278: String "tessellatedEdgeSize"
282: String "viewportDim"
286: String "UBO"
289: 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 264 "UBO"
MemberName 264(UBO) 0 "projection"
MemberName 264(UBO) 1 "modelview"
MemberName 264(UBO) 2 "lightPos"
MemberName 264(UBO) 3 "frustumPlanes"
MemberName 264(UBO) 4 "displacementFactor"
MemberName 264(UBO) 5 "tessellationFactor"
MemberName 264(UBO) 6 "viewportDim"
MemberName 264(UBO) 7 "tessellatedEdgeSize"
Name 287 "ubo"
MemberName 287(ubo) 0 "ubo"
Name 292 ""
Name 351 "input"
Name 353 "input.TessLevelOuter"
Name 368 "input.TessLevelInner"
Name 375 "TessCoord"
Name 377 "TessCoord"
Name 383 "patch"
Name 386 "patch.Pos"
Name 393 "patch.Normal"
Name 399 "patch.UV"
Name 431 "flattenTemp"
Name 433 "param"
Name 435 "param"
Name 439 "@entryPointOutput.Pos"
Name 443 "@entryPointOutput.Normal"
Name 447 "@entryPointOutput.UV"
Name 450 "@entryPointOutput.ViewVec"
Name 453 "@entryPointOutput.LightVec"
Name 456 "@entryPointOutput.EyePos"
Name 459 "@entryPointOutput.WorldPos"
Decorate 235(displacementMapTexture) DescriptorSet 0
Decorate 235(displacementMapTexture) Binding 1
Decorate 245(displacementMapSampler) DescriptorSet 0
Decorate 245(displacementMapSampler) Binding 1
Decorate 262 ArrayStride 16
MemberDecorate 264(UBO) 0 RowMajor
MemberDecorate 264(UBO) 0 Offset 0
MemberDecorate 264(UBO) 0 MatrixStride 16
MemberDecorate 264(UBO) 1 RowMajor
MemberDecorate 264(UBO) 1 Offset 64
MemberDecorate 264(UBO) 1 MatrixStride 16
MemberDecorate 264(UBO) 2 Offset 128
MemberDecorate 264(UBO) 3 Offset 144
MemberDecorate 264(UBO) 4 Offset 240
MemberDecorate 264(UBO) 5 Offset 244
MemberDecorate 264(UBO) 6 Offset 248
MemberDecorate 264(UBO) 7 Offset 256
MemberDecorate 287(ubo) 0 Offset 0
Decorate 287(ubo) Block
Decorate 292 DescriptorSet 0
Decorate 292 Binding 0
Decorate 353(input.TessLevelOuter) Patch
Decorate 353(input.TessLevelOuter) BuiltIn TessLevelOuter
Decorate 368(input.TessLevelInner) Patch
Decorate 368(input.TessLevelInner) BuiltIn TessLevelInner
Decorate 377(TessCoord) Patch
Decorate 377(TessCoord) BuiltIn TessCoord
Decorate 386(patch.Pos) BuiltIn Position
Decorate 393(patch.Normal) Location 0
Decorate 399(patch.UV) Location 1
Decorate 439(@entryPointOutput.Pos) BuiltIn Position
Decorate 443(@entryPointOutput.Normal) Location 0
Decorate 447(@entryPointOutput.UV) Location 1
Decorate 450(@entryPointOutput.ViewVec) Location 2
Decorate 453(@entryPointOutput.LightVec) Location 3
Decorate 456(@entryPointOutput.EyePos) Location 4
Decorate 459(@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
261: 260(bool) ConstantTrue
259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 44 18 261
262: TypeArray 43(fvec4) 15
263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 44 15
264(UBO): TypeStruct 258 258 43(fvec4) 262 8(float) 8(float) 40(fvec2) 8(float)
267: 11(int) Constant 29
268: 11(int) Constant 20
265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 266 259 27 267 268 16 16 17
269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 266 259 27 267 268 16 16 17
272: 11(int) Constant 30
273: 11(int) Constant 17
270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 271 44 27 272 273 16 16 17
276: 11(int) Constant 22
274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 275 263 27 58 276 16 16 17
279: 11(int) Constant 27
277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 278 10 27 54 279 16 16 17
280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 278 10 27 54 279 16 16 17
283: 11(int) Constant 34
281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 282 41 27 283 268 16 16 17
284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 278 10 27 54 279 16 16 17
285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 286 36 27 228 16 37 286 16 17 265 269 270 274 277 280 281 284
287(ubo): TypeStruct 264(UBO)
288: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 289 285 27 70 70 16 16 17
290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 289 36 27 228 16 37 289 16 17 288
291: TypePointer Uniform 287(ubo)
292: 291(ptr) Variable Uniform
293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 290 27 228 16 37 1 292 238
294: 121(int) Constant 4
295: TypePointer Uniform 8(float)
304: 11(int) Constant 86
306: TypePointer Uniform 258
315: 11(int) Constant 89
321: 11(int) Constant 90
322: TypePointer Uniform 43(fvec4)
332: 11(int) Constant 91
333: 121(int) Constant 6
338: 11(int) Constant 92
339: 121(int) Constant 5
347: 11(int) Constant 93
352: TypePointer Input 19
353(input.TessLevelOuter): 352(ptr) Variable Input
354: TypePointer Input 8(float)
367: TypePointer Input 22
368(input.TessLevelInner): 367(ptr) Variable Input
376: TypePointer Input 45(fvec3)
377(TessCoord): 376(ptr) Variable Input
382: TypePointer Function 61
384: TypeArray 43(fvec4) 18
385: TypePointer Input 384
386(patch.Pos): 385(ptr) Variable Input
387: TypePointer Input 43(fvec4)
391: TypeArray 45(fvec3) 18
392: TypePointer Input 391
393(patch.Normal): 392(ptr) Variable Input
397: TypeArray 40(fvec2) 18
398: TypePointer Input 397
399(patch.UV): 398(ptr) Variable Input
400: TypePointer Input 40(fvec2)
438: TypePointer Output 43(fvec4)
439(@entryPointOutput.Pos): 438(ptr) Variable Output
442: TypePointer Output 45(fvec3)
443(@entryPointOutput.Normal): 442(ptr) Variable Output
446: TypePointer Output 40(fvec2)
447(@entryPointOutput.UV): 446(ptr) Variable Output
450(@entryPointOutput.ViewVec): 442(ptr) Variable Output
453(@entryPointOutput.LightVec): 442(ptr) Variable Output
456(@entryPointOutput.EyePos): 442(ptr) Variable Output
459(@entryPointOutput.WorldPos): 442(ptr) Variable Output
Line 1 68 1
6(main): 4 Function None 5
7: Label
351(input): 39(ptr) Variable Function
375(TessCoord): 42(ptr) Variable Function
383(patch): 382(ptr) Variable Function
431(flattenTemp): 105(ptr) Variable Function
433(param): 39(ptr) Variable Function
435(param): 42(ptr) Variable Function
Line 1 68 0
355: 354(ptr) AccessChain 353(input.TessLevelOuter) 124
356: 8(float) Load 355
357: 129(ptr) AccessChain 351(input) 124 124
Store 357 356
358: 354(ptr) AccessChain 353(input.TessLevelOuter) 127
359: 8(float) Load 358
360: 129(ptr) AccessChain 351(input) 124 127
Store 360 359
361: 354(ptr) AccessChain 353(input.TessLevelOuter) 125
362: 8(float) Load 361
363: 129(ptr) AccessChain 351(input) 124 125
Store 363 362
364: 354(ptr) AccessChain 353(input.TessLevelOuter) 140
365: 8(float) Load 364
366: 129(ptr) AccessChain 351(input) 124 140
Store 366 365
369: 354(ptr) AccessChain 368(input.TessLevelInner) 124
370: 8(float) Load 369
371: 129(ptr) AccessChain 351(input) 127 124
Store 371 370
372: 354(ptr) AccessChain 368(input.TessLevelInner) 127
373: 8(float) Load 372
374: 129(ptr) AccessChain 351(input) 127 127
Store 374 373
378: 45(fvec3) Load 377(TessCoord)
379: 8(float) CompositeExtract 378 0
380: 8(float) CompositeExtract 378 1
381: 40(fvec2) CompositeConstruct 379 380
Store 375(TessCoord) 381
388: 387(ptr) AccessChain 386(patch.Pos) 124
389: 43(fvec4) Load 388
390: 192(ptr) AccessChain 383(patch) 124 124
Store 390 389
394: 376(ptr) AccessChain 393(patch.Normal) 124
395: 45(fvec3) Load 394
396: 158(ptr) AccessChain 383(patch) 124 127
Store 396 395
401: 400(ptr) AccessChain 399(patch.UV) 124
402: 40(fvec2) Load 401
403: 42(ptr) AccessChain 383(patch) 124 125
Store 403 402
404: 387(ptr) AccessChain 386(patch.Pos) 127
405: 43(fvec4) Load 404
406: 192(ptr) AccessChain 383(patch) 127 124
Store 406 405
407: 376(ptr) AccessChain 393(patch.Normal) 127
408: 45(fvec3) Load 407
409: 158(ptr) AccessChain 383(patch) 127 127
Store 409 408
410: 400(ptr) AccessChain 399(patch.UV) 127
411: 40(fvec2) Load 410
412: 42(ptr) AccessChain 383(patch) 127 125
Store 412 411
413: 387(ptr) AccessChain 386(patch.Pos) 125
414: 43(fvec4) Load 413
415: 192(ptr) AccessChain 383(patch) 125 124
Store 415 414
416: 376(ptr) AccessChain 393(patch.Normal) 125
417: 45(fvec3) Load 416
418: 158(ptr) AccessChain 383(patch) 125 127
Store 418 417
419: 400(ptr) AccessChain 399(patch.UV) 125
420: 40(fvec2) Load 419
421: 42(ptr) AccessChain 383(patch) 125 125
Store 421 420
422: 387(ptr) AccessChain 386(patch.Pos) 140
423: 43(fvec4) Load 422
424: 192(ptr) AccessChain 383(patch) 140 124
Store 424 423
425: 376(ptr) AccessChain 393(patch.Normal) 140
426: 45(fvec3) Load 425
427: 158(ptr) AccessChain 383(patch) 140 127
Store 427 426
428: 400(ptr) AccessChain 399(patch.UV) 140
429: 40(fvec2) Load 428
430: 42(ptr) AccessChain 383(patch) 140 125
Store 430 429
432: 61 Load 383(patch)
434:24(ConstantsHSOutput) Load 351(input)
Store 433(param) 434
436: 40(fvec2) Load 375(TessCoord)
Store 435(param) 436
437:63(DSOutput) FunctionCall 84(@main(struct-ConstantsHSOutput-f1[4]-f1[2]1;vf2;struct-HSOutput-vf4-vf3-vf21[4];) 433(param) 435(param) 432
Store 431(flattenTemp) 437
440: 192(ptr) AccessChain 431(flattenTemp) 124
441: 43(fvec4) Load 440
Store 439(@entryPointOutput.Pos) 441
444: 158(ptr) AccessChain 431(flattenTemp) 127
445: 45(fvec3) Load 444
Store 443(@entryPointOutput.Normal) 445
448: 42(ptr) AccessChain 431(flattenTemp) 125
449: 40(fvec2) Load 448
Store 447(@entryPointOutput.UV) 449
451: 158(ptr) AccessChain 431(flattenTemp) 140
452: 45(fvec3) Load 451
Store 450(@entryPointOutput.ViewVec) 452
454: 158(ptr) AccessChain 431(flattenTemp) 294
455: 45(fvec3) Load 454
Store 453(@entryPointOutput.LightVec) 455
457: 158(ptr) AccessChain 431(flattenTemp) 339
458: 45(fvec3) Load 457
Store 456(@entryPointOutput.EyePos) 458
460: 158(ptr) AccessChain 431(flattenTemp) 333
461: 45(fvec3) Load 460
Store 459(@entryPointOutput.WorldPos) 461
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
296: 295(ptr) AccessChain 292 124 294
297: 8(float) Load 296
298: 8(float) FMul 257 297
299: 129(ptr) AccessChain 217(pos) 36
300: 8(float) Load 299
301: 8(float) FSub 300 298
302: 129(ptr) AccessChain 217(pos) 36
Store 302 301
303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 304 304 16 16
305: 43(fvec4) Load 217(pos)
307: 306(ptr) AccessChain 292 124 127
308: 258 Load 307
309: 43(fvec4) VectorTimesMatrix 305 308
310: 306(ptr) AccessChain 292 124 124
311: 258 Load 310
312: 43(fvec4) VectorTimesMatrix 309 311
313: 192(ptr) AccessChain 106(output) 124
Store 313 312
314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 315 315 16 16
316: 43(fvec4) Load 217(pos)
317: 45(fvec3) VectorShuffle 316 316 0 1 2
318: 45(fvec3) FNegate 317
319: 158(ptr) AccessChain 106(output) 140
Store 319 318
320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 321 321 16 16
323: 322(ptr) AccessChain 292 124 125
324: 43(fvec4) Load 323
325: 45(fvec3) VectorShuffle 324 324 0 1 2
326: 158(ptr) AccessChain 106(output) 140
327: 45(fvec3) Load 326
328: 45(fvec3) FAdd 325 327
329: 45(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 328
330: 158(ptr) AccessChain 106(output) 294
Store 330 329
331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 332 332 16 16
334: 43(fvec4) Load 217(pos)
335: 45(fvec3) VectorShuffle 334 334 0 1 2
336: 158(ptr) AccessChain 106(output) 333
Store 336 335
337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 338 338 16 16
340: 43(fvec4) Load 217(pos)
341: 306(ptr) AccessChain 292 124 127
342: 258 Load 341
343: 43(fvec4) VectorTimesMatrix 340 342
344: 45(fvec3) VectorShuffle 343 343 0 1 2
345: 158(ptr) AccessChain 106(output) 339
Store 345 344
346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 347 347 16 16
348:63(DSOutput) Load 106(output)
ReturnValue 348
FunctionEnd
|