Always enable the generation of OpDebugBasicType for bool type

This commit is contained in:
Chao Chen 2023-10-25 11:50:44 -07:00 committed by arcady-lunarg
parent 0fedf7d95a
commit 9a35abff55
14 changed files with 5792 additions and 5865 deletions

View file

@ -1,14 +1,14 @@
spv.debuginfo.hlsl.tese
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 462
// 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" 353 368 377 386 393 399 439 443 447 450 453 456 459
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"
@ -52,13 +52,14 @@ spv.debuginfo.hlsl.tese
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"
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"
@ -89,74 +90,74 @@ spv.debuginfo.hlsl.tese
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 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 383 "patch"
Name 386 "patch.Pos"
Name 393 "patch.Normal"
Name 399 "patch.UV"
Name 431 "flattenTemp"
Name 433 "param"
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 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"
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 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
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
@ -276,189 +277,190 @@ spv.debuginfo.hlsl.tese
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
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
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
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
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)
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
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
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
@ -574,54 +576,54 @@ spv.debuginfo.hlsl.tese
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
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