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

@ -4407,7 +4407,7 @@ spv::Id TGlslangToSpvTraverser::convertGlslangToSpvType(const glslang::TType& ty
if (explicitLayout != glslang::ElpNone) if (explicitLayout != glslang::ElpNone)
spvType = builder.makeUintType(32); spvType = builder.makeUintType(32);
else else
spvType = builder.makeBoolType(false); spvType = builder.makeBoolType();
break; break;
case glslang::EbtInt: case glslang::EbtInt:
spvType = builder.makeIntType(32); spvType = builder.makeIntType(32);

View file

@ -182,7 +182,7 @@ Id Builder::makeVoidType()
return type->getResultId(); return type->getResultId();
} }
Id Builder::makeBoolType(bool const compilerGenerated) Id Builder::makeBoolType()
{ {
Instruction* type; Instruction* type;
if (groupedTypes[OpTypeBool].size() == 0) { if (groupedTypes[OpTypeBool].size() == 0) {
@ -190,14 +190,15 @@ Id Builder::makeBoolType(bool const compilerGenerated)
groupedTypes[OpTypeBool].push_back(type); groupedTypes[OpTypeBool].push_back(type);
constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(type)); constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(type));
module.mapInstruction(type); module.mapInstruction(type);
if (emitNonSemanticShaderDebugInfo) {
auto const debugResultId = makeBoolDebugType(32);
debugId[type->getResultId()] = debugResultId;
}
} else } else
type = groupedTypes[OpTypeBool].back(); type = groupedTypes[OpTypeBool].back();
if (emitNonSemanticShaderDebugInfo && !compilerGenerated)
{
auto const debugResultId = makeBoolDebugType(32);
debugId[type->getResultId()] = debugResultId;
}
return type->getResultId(); return type->getResultId();
} }

View file

@ -185,7 +185,7 @@ public:
// For creating new types (will return old type if the requested one was already made). // For creating new types (will return old type if the requested one was already made).
Id makeVoidType(); Id makeVoidType();
Id makeBoolType(bool const compilerGenerated = true); Id makeBoolType();
Id makePointer(StorageClass, Id pointee); Id makePointer(StorageClass, Id pointee);
Id makeForwardPointer(StorageClass); Id makeForwardPointer(StorageClass);
Id makePointerFromForwardPointer(StorageClass, Id forwardPointerType, Id pointee); Id makePointerFromForwardPointer(StorageClass, Id forwardPointerType, Id pointee);

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,14 +1,14 @@
spv.debuginfo.glsl.tesc spv.debuginfo.glsl.tesc
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 8000b // Generated by (magic number): 8000b
// Id's are bound by 545 // Id's are bound by 537
Capability Tessellation Capability Tessellation
Extension "SPV_KHR_non_semantic_info" Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450" 3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint TessellationControl 14 "main" 252 256 282 373 386 501 515 522 536 EntryPoint TessellationControl 14 "main" 252 256 282 366 379 493 507 514 528
ExecutionMode 14 OutputVertices 4 ExecutionMode 14 OutputVertices 4
1: String "" 1: String ""
8: String "uint" 8: String "uint"
@ -54,12 +54,12 @@ spv.debuginfo.glsl.tesc
277: String "samplerHeight" 277: String "samplerHeight"
284: String "inUV" 284: String "inUV"
303: String "i" 303: String "i"
375: String "gl_TessLevelInner" 368: String "gl_TessLevelInner"
388: String "gl_TessLevelOuter" 381: String "gl_TessLevelOuter"
503: String "gl_out" 495: String "gl_out"
517: String "outNormal" 509: String "outNormal"
524: String "inNormal" 516: String "inNormal"
538: String "outUV" 530: String "outUV"
Name 14 "main" Name 14 "main"
Name 27 "screenSpaceTessFactor(vf4;vf4;" Name 27 "screenSpaceTessFactor(vf4;vf4;"
Name 25 "p0" Name 25 "p0"
@ -91,25 +91,25 @@ spv.debuginfo.glsl.tesc
Name 275 "samplerHeight" Name 275 "samplerHeight"
Name 282 "inUV" Name 282 "inUV"
Name 301 "i" Name 301 "i"
Name 373 "gl_TessLevelInner" Name 366 "gl_TessLevelInner"
Name 386 "gl_TessLevelOuter" Name 379 "gl_TessLevelOuter"
Name 413 "param" Name 405 "param"
Name 416 "param" Name 408 "param"
Name 423 "param" Name 415 "param"
Name 426 "param" Name 418 "param"
Name 433 "param" Name 425 "param"
Name 436 "param" Name 428 "param"
Name 443 "param" Name 435 "param"
Name 446 "param" Name 438 "param"
Name 490 "gl_PerVertex" Name 482 "gl_PerVertex"
MemberName 490(gl_PerVertex) 0 "gl_Position" MemberName 482(gl_PerVertex) 0 "gl_Position"
MemberName 490(gl_PerVertex) 1 "gl_PointSize" MemberName 482(gl_PerVertex) 1 "gl_PointSize"
MemberName 490(gl_PerVertex) 2 "gl_ClipDistance" MemberName 482(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 490(gl_PerVertex) 3 "gl_CullDistance" MemberName 482(gl_PerVertex) 3 "gl_CullDistance"
Name 501 "gl_out" Name 493 "gl_out"
Name 515 "outNormal" Name 507 "outNormal"
Name 522 "inNormal" Name 514 "inNormal"
Name 536 "outUV" Name 528 "outUV"
Decorate 93 ArrayStride 16 Decorate 93 ArrayStride 16
MemberDecorate 97(UBO) 0 ColMajor MemberDecorate 97(UBO) 0 ColMajor
MemberDecorate 97(UBO) 0 Offset 0 MemberDecorate 97(UBO) 0 Offset 0
@ -135,18 +135,18 @@ spv.debuginfo.glsl.tesc
Decorate 275(samplerHeight) DescriptorSet 0 Decorate 275(samplerHeight) DescriptorSet 0
Decorate 275(samplerHeight) Binding 1 Decorate 275(samplerHeight) Binding 1
Decorate 282(inUV) Location 1 Decorate 282(inUV) Location 1
Decorate 373(gl_TessLevelInner) Patch Decorate 366(gl_TessLevelInner) Patch
Decorate 373(gl_TessLevelInner) BuiltIn TessLevelInner Decorate 366(gl_TessLevelInner) BuiltIn TessLevelInner
Decorate 386(gl_TessLevelOuter) Patch Decorate 379(gl_TessLevelOuter) Patch
Decorate 386(gl_TessLevelOuter) BuiltIn TessLevelOuter Decorate 379(gl_TessLevelOuter) BuiltIn TessLevelOuter
MemberDecorate 490(gl_PerVertex) 0 BuiltIn Position MemberDecorate 482(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 490(gl_PerVertex) 1 BuiltIn PointSize MemberDecorate 482(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 490(gl_PerVertex) 2 BuiltIn ClipDistance MemberDecorate 482(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 490(gl_PerVertex) 3 BuiltIn CullDistance MemberDecorate 482(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 490(gl_PerVertex) Block Decorate 482(gl_PerVertex) Block
Decorate 515(outNormal) Location 0 Decorate 507(outNormal) Location 0
Decorate 522(inNormal) Location 0 Decorate 514(inNormal) Location 0
Decorate 536(outUV) Location 1 Decorate 528(outUV) Location 1
4: TypeVoid 4: TypeVoid
5: TypeFunction 4 5: TypeFunction 4
7: TypeInt 32 0 7: TypeInt 32 0
@ -282,250 +282,242 @@ spv.debuginfo.glsl.tesc
299: 7(int) Constant 89 299: 7(int) Constant 89
300: TypePointer Function 123(int) 300: TypePointer Function 123(int)
302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 303 125 31 299 12 54 20 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 303 125 31 299 12 54 20
315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 318: 7(int) Constant 90
319: 7(int) Constant 90 320: 123(int) Constant 3
321: 123(int) Constant 3 322: TypePointer Uniform 19(fvec4)
323: TypePointer Uniform 19(fvec4) 326: 16(float) Constant 1090519040
327: 16(float) Constant 1090519040 331: 46(bool) ConstantFalse
329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 334: 7(int) Constant 92
333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 342: 7(int) Constant 95
334: 46(bool) ConstantFalse 348: 7(int) Constant 100
337: 7(int) Constant 92 355: 7(int) Constant 102
343: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 362: 7(int) Constant 104
346: 7(int) Constant 95 363: TypeArray 16(float) 36
352: 7(int) Constant 100 364: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 36
354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 365: TypePointer Output 363
360: 7(int) Constant 102 366(gl_TessLevelInner): 365(ptr) Variable Output
362: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 367: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 368 364 31 362 12 34 368 366(gl_TessLevelInner) 111
363: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 369: TypePointer Output 16(float)
369: 7(int) Constant 104 372: 7(int) Constant 105
370: TypeArray 16(float) 36 375: 7(int) Constant 106
371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 36 376: TypeArray 16(float) 20
372: TypePointer Output 370 377: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 20
373(gl_TessLevelInner): 372(ptr) Variable Output 378: TypePointer Output 376
374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 375 371 31 369 12 34 375 373(gl_TessLevelInner) 111 379(gl_TessLevelOuter): 378(ptr) Variable Output
376: TypePointer Output 16(float) 380: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 381 377 31 375 12 34 381 379(gl_TessLevelOuter) 111
379: 7(int) Constant 105 384: 7(int) Constant 107
382: 7(int) Constant 106 387: 7(int) Constant 108
383: TypeArray 16(float) 20 388: 123(int) Constant 2
384: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 18 20 391: 7(int) Constant 109
385: TypePointer Output 383 396: 7(int) Constant 113
386(gl_TessLevelOuter): 385(ptr) Variable Output 404: 7(int) Constant 115
387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 388 384 31 382 12 34 388 386(gl_TessLevelOuter) 111 414: 7(int) Constant 116
391: 7(int) Constant 107 424: 7(int) Constant 117
394: 7(int) Constant 108 434: 7(int) Constant 118
395: 123(int) Constant 2 444: 7(int) Constant 119
398: 7(int) Constant 109 452: 7(int) Constant 120
403: 7(int) Constant 113 462: 7(int) Constant 126
406: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 36 12 465: 7(int) Constant 127
412: 7(int) Constant 115 468: 7(int) Constant 128
422: 7(int) Constant 116 471: 7(int) Constant 129
432: 7(int) Constant 117 474: 7(int) Constant 130
442: 7(int) Constant 118 477: 7(int) Constant 131
452: 7(int) Constant 119 481: 7(int) Constant 137
460: 7(int) Constant 120 482(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 234 234
470: 7(int) Constant 126 484: 7(int) Constant 110
473: 7(int) Constant 127 483: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 21 31 35 484 12 12 13
476: 7(int) Constant 128 485: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 18 31 35 468 12 12 13
479: 7(int) Constant 129 487: 7(int) Constant 171
482: 7(int) Constant 130 486: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 487 12 12 13
485: 7(int) Constant 131 488: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 487 12 12 13
489: 7(int) Constant 137 489: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 248 35 31 481 12 34 248 12 13 483 485 486 488
490(gl_PerVertex): TypeStruct 19(fvec4) 16(float) 234 234 490: TypeArray 482(gl_PerVertex) 20
492: 7(int) Constant 110 491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 489 20
491: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 21 31 35 492 12 12 13 492: TypePointer Output 490
493: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 18 31 35 476 12 12 13 493(gl_out): 492(ptr) Variable Output
495: 7(int) Constant 171 494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 495 491 31 481 12 34 495 493(gl_out) 111
494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 495 12 12 13 500: TypePointer Output 19(fvec4)
496: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 235 31 35 495 12 12 13 503: 7(int) Constant 138
497: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 248 35 31 489 12 34 248 12 13 491 493 494 496 504: TypeArray 143(fvec3) 20
498: TypeArray 490(gl_PerVertex) 20 505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 20
499: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 497 20 506: TypePointer Output 504
500: TypePointer Output 498 507(outNormal): 506(ptr) Variable Output
501(gl_out): 500(ptr) Variable Output 508: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 509 505 31 503 12 34 509 507(outNormal) 111
502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 503 499 31 489 12 34 503 501(gl_out) 111 511: TypeArray 143(fvec3) 10
508: TypePointer Output 19(fvec4) 512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 10
511: 7(int) Constant 138 513: TypePointer Input 511
512: TypeArray 143(fvec3) 20 514(inNormal): 513(ptr) Variable Input
513: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 20 515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 516 512 31 503 12 34 516 514(inNormal) 111
514: TypePointer Output 512 518: TypePointer Input 143(fvec3)
515(outNormal): 514(ptr) Variable Output 521: TypePointer Output 143(fvec3)
516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 517 513 31 511 12 34 517 515(outNormal) 111 524: 7(int) Constant 139
519: TypeArray 143(fvec3) 10 525: TypeArray 95(fvec2) 20
520: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 144 10 526: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 96 20
521: TypePointer Input 519 527: TypePointer Output 525
522(inNormal): 521(ptr) Variable Input 528(outUV): 527(ptr) Variable Output
523: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 524 520 31 511 12 34 524 522(inNormal) 111 529: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 530 526 31 524 12 34 530 528(outUV) 111
526: TypePointer Input 143(fvec3) 535: TypePointer Output 95(fvec2)
529: TypePointer Output 143(fvec3)
532: 7(int) Constant 139
533: TypeArray 95(fvec2) 20
534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 96 20
535: TypePointer Output 533
536(outUV): 535(ptr) Variable Output
537: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 538 534 31 532 12 34 538 536(outUV) 111
543: TypePointer Output 95(fvec2)
Line 1 98 11 Line 1 98 11
14(main): 4 Function None 5 14(main): 4 Function None 5
15: Label 15: Label
413(param): 22(ptr) Variable Function 405(param): 22(ptr) Variable Function
416(param): 22(ptr) Variable Function 408(param): 22(ptr) Variable Function
423(param): 22(ptr) Variable Function 415(param): 22(ptr) Variable Function
426(param): 22(ptr) Variable Function 418(param): 22(ptr) Variable Function
433(param): 22(ptr) Variable Function 425(param): 22(ptr) Variable Function
436(param): 22(ptr) Variable Function 428(param): 22(ptr) Variable Function
443(param): 22(ptr) Variable Function 435(param): 22(ptr) Variable Function
446(param): 22(ptr) Variable Function 438(param): 22(ptr) Variable Function
349: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 57 14(main) 345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 57 14(main)
350: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
351: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 352 352 12 12 347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 348 348 12 12
353: 123(int) Load 256(gl_InvocationID) 349: 123(int) Load 256(gl_InvocationID)
355: 46(bool) IEqual 353 138 350: 46(bool) IEqual 349 138
SelectionMerge 357 None SelectionMerge 352 None
BranchConditional 355 356 357 BranchConditional 350 351 352
356: Label 351: Label
358: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 353: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
359: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 360 360 12 12 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 355 355 12 12
361: 46(bool) FunctionCall 51(frustumCheck() 356: 46(bool) FunctionCall 51(frustumCheck()
364: 46(bool) LogicalNot 361 357: 46(bool) LogicalNot 356
SelectionMerge 366 None SelectionMerge 359 None
BranchConditional 364 365 400 BranchConditional 357 358 393
365: Label 358: Label
367: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 369 369 12 12 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 362 362 12 12
377: 376(ptr) AccessChain 373(gl_TessLevelInner) 138 370: 369(ptr) AccessChain 366(gl_TessLevelInner) 138
Store 377 145 Store 370 145
378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 379 379 12 12 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 372 372 12 12
380: 376(ptr) AccessChain 373(gl_TessLevelInner) 126 373: 369(ptr) AccessChain 366(gl_TessLevelInner) 126
Store 380 145 Store 373 145
381: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 382 382 12 12 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 375 375 12 12
389: 376(ptr) AccessChain 386(gl_TessLevelOuter) 138 382: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138
Store 382 145
383: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 384 384 12 12
385: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126
Store 385 145
386: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 387 387 12 12
389: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388
Store 389 145 Store 389 145
390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 391 391 12 12 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 391 391 12 12
392: 376(ptr) AccessChain 386(gl_TessLevelOuter) 126 392: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320
Store 392 145 Store 392 145
393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 394 394 12 12 Branch 359
396: 376(ptr) AccessChain 386(gl_TessLevelOuter) 395 393: Label
Store 396 145 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 398 398 12 12 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 396 396 12 12
399: 376(ptr) AccessChain 386(gl_TessLevelOuter) 321 397: 213(ptr) AccessChain 120(ubo) 217
Store 399 145 398: 16(float) Load 397
Branch 366 399: 46(bool) FOrdGreaterThan 398 145
400: Label SelectionMerge 401 None
401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 BranchConditional 399 400 459
402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 403 403 12 12 400: Label
404: 213(ptr) AccessChain 120(ubo) 217 402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
405: 16(float) Load 404 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 404 404 12 12
407: 46(bool) FOrdGreaterThan 405 145 406: 260(ptr) AccessChain 252(gl_in) 320 138
SelectionMerge 409 None 407: 19(fvec4) Load 406
BranchConditional 407 408 467 Store 405(param) 407
408: Label 409: 260(ptr) AccessChain 252(gl_in) 138 138
410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 410: 19(fvec4) Load 409
411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 412 412 12 12 Store 408(param) 410
414: 260(ptr) AccessChain 252(gl_in) 321 138 411: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 405(param) 408(param)
415: 19(fvec4) Load 414 412: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138
Store 413(param) 415 Store 412 411
417: 260(ptr) AccessChain 252(gl_in) 138 138 413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 414 414 12 12
418: 19(fvec4) Load 417 416: 260(ptr) AccessChain 252(gl_in) 138 138
Store 416(param) 418 417: 19(fvec4) Load 416
419: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 413(param) 416(param) Store 415(param) 417
420: 376(ptr) AccessChain 386(gl_TessLevelOuter) 138 419: 260(ptr) AccessChain 252(gl_in) 126 138
Store 420 419 420: 19(fvec4) Load 419
421: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 422 422 12 12 Store 418(param) 420
424: 260(ptr) AccessChain 252(gl_in) 138 138 421: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 415(param) 418(param)
425: 19(fvec4) Load 424 422: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126
Store 423(param) 425 Store 422 421
427: 260(ptr) AccessChain 252(gl_in) 126 138 423: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 424 424 12 12
428: 19(fvec4) Load 427 426: 260(ptr) AccessChain 252(gl_in) 126 138
Store 426(param) 428 427: 19(fvec4) Load 426
429: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 423(param) 426(param) Store 425(param) 427
430: 376(ptr) AccessChain 386(gl_TessLevelOuter) 126 429: 260(ptr) AccessChain 252(gl_in) 388 138
Store 430 429 430: 19(fvec4) Load 429
431: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 432 432 12 12 Store 428(param) 430
434: 260(ptr) AccessChain 252(gl_in) 126 138 431: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 425(param) 428(param)
435: 19(fvec4) Load 434 432: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388
Store 433(param) 435 Store 432 431
437: 260(ptr) AccessChain 252(gl_in) 395 138 433: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 434 434 12 12
438: 19(fvec4) Load 437 436: 260(ptr) AccessChain 252(gl_in) 388 138
Store 436(param) 438 437: 19(fvec4) Load 436
439: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 433(param) 436(param) Store 435(param) 437
440: 376(ptr) AccessChain 386(gl_TessLevelOuter) 395 439: 260(ptr) AccessChain 252(gl_in) 320 138
Store 440 439 440: 19(fvec4) Load 439
441: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 442 442 12 12 Store 438(param) 440
444: 260(ptr) AccessChain 252(gl_in) 395 138 441: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 435(param) 438(param)
445: 19(fvec4) Load 444 442: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320
Store 443(param) 445 Store 442 441
447: 260(ptr) AccessChain 252(gl_in) 321 138 443: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 444 444 12 12
448: 19(fvec4) Load 447 445: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138
Store 446(param) 448 446: 16(float) Load 445
449: 16(float) FunctionCall 27(screenSpaceTessFactor(vf4;vf4;) 443(param) 446(param) 447: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320
450: 376(ptr) AccessChain 386(gl_TessLevelOuter) 321 448: 16(float) Load 447
449: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 446 448 67
450: 369(ptr) AccessChain 366(gl_TessLevelInner) 138
Store 450 449 Store 450 449
451: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 452 452 12 12 451: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 452 452 12 12
453: 376(ptr) AccessChain 386(gl_TessLevelOuter) 138 453: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388
454: 16(float) Load 453 454: 16(float) Load 453
455: 376(ptr) AccessChain 386(gl_TessLevelOuter) 321 455: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126
456: 16(float) Load 455 456: 16(float) Load 455
457: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 454 456 67 457: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 454 456 67
458: 376(ptr) AccessChain 373(gl_TessLevelInner) 138 458: 369(ptr) AccessChain 366(gl_TessLevelInner) 126
Store 458 457 Store 458 457
459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 460 460 12 12 Branch 401
461: 376(ptr) AccessChain 386(gl_TessLevelOuter) 395 459: Label
462: 16(float) Load 461 460: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
463: 376(ptr) AccessChain 386(gl_TessLevelOuter) 126 461: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 462 462 12 12
464: 16(float) Load 463 463: 369(ptr) AccessChain 366(gl_TessLevelInner) 138
465: 16(float) ExtInst 3(GLSL.std.450) 46(FMix) 462 464 67 Store 463 221
466: 376(ptr) AccessChain 373(gl_TessLevelInner) 126 464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 465 465 12 12
Store 466 465 466: 369(ptr) AccessChain 366(gl_TessLevelInner) 126
Branch 409 Store 466 221
467: Label 467: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 468 468 12 12
468: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 469: 369(ptr) AccessChain 379(gl_TessLevelOuter) 138
469: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 470 470 12 12 Store 469 221
471: 376(ptr) AccessChain 373(gl_TessLevelInner) 138 470: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 471 471 12 12
Store 471 221 472: 369(ptr) AccessChain 379(gl_TessLevelOuter) 126
472: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 473 473 12 12 Store 472 221
474: 376(ptr) AccessChain 373(gl_TessLevelInner) 126 473: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 474 474 12 12
Store 474 221 475: 369(ptr) AccessChain 379(gl_TessLevelOuter) 388
475: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 476 476 12 12 Store 475 221
477: 376(ptr) AccessChain 386(gl_TessLevelOuter) 138 476: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 477 477 12 12
Store 477 221 478: 369(ptr) AccessChain 379(gl_TessLevelOuter) 320
478: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 479 479 12 12 Store 478 221
480: 376(ptr) AccessChain 386(gl_TessLevelOuter) 126 Branch 401
Store 480 221 401: Label
481: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 482 482 12 12 Branch 359
483: 376(ptr) AccessChain 386(gl_TessLevelOuter) 395 359: Label
Store 483 221 Branch 352
484: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 485 485 12 12 352: Label
486: 376(ptr) AccessChain 386(gl_TessLevelOuter) 321 479: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57
Store 486 221 480: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 481 481 12 12
Branch 409 496: 123(int) Load 256(gl_InvocationID)
409: Label 497: 123(int) Load 256(gl_InvocationID)
Branch 366 498: 260(ptr) AccessChain 252(gl_in) 497 138
366: Label 499: 19(fvec4) Load 498
Branch 357 501: 500(ptr) AccessChain 493(gl_out) 496 138
357: Label Store 501 499
487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 57 502: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 503 503 12 12
488: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 489 489 12 12 510: 123(int) Load 256(gl_InvocationID)
504: 123(int) Load 256(gl_InvocationID) 517: 123(int) Load 256(gl_InvocationID)
505: 123(int) Load 256(gl_InvocationID) 519: 518(ptr) AccessChain 514(inNormal) 517
506: 260(ptr) AccessChain 252(gl_in) 505 138 520: 143(fvec3) Load 519
507: 19(fvec4) Load 506 522: 521(ptr) AccessChain 507(outNormal) 510
509: 508(ptr) AccessChain 501(gl_out) 504 138 Store 522 520
Store 509 507 523: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 524 524 12 12
510: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 511 511 12 12 531: 123(int) Load 256(gl_InvocationID)
518: 123(int) Load 256(gl_InvocationID) 532: 123(int) Load 256(gl_InvocationID)
525: 123(int) Load 256(gl_InvocationID) 533: 285(ptr) AccessChain 282(inUV) 532
527: 526(ptr) AccessChain 522(inNormal) 525 534: 95(fvec2) Load 533
528: 143(fvec3) Load 527 536: 535(ptr) AccessChain 528(outUV) 531
530: 529(ptr) AccessChain 515(outNormal) 518 Store 536 534
Store 530 528
531: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 532 532 12 12
539: 123(int) Load 256(gl_InvocationID)
540: 123(int) Load 256(gl_InvocationID)
541: 285(ptr) AccessChain 282(inUV) 540
542: 95(fvec2) Load 541
544: 543(ptr) AccessChain 536(outUV) 539
Store 544 542
Return Return
FunctionEnd FunctionEnd
Line 1 51 45 Line 1 51 45
@ -682,35 +674,35 @@ spv.debuginfo.glsl.tesc
312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12
314: 123(int) Load 301(i) 314: 123(int) Load 301(i)
316: 46(bool) SLessThan 314 185 315: 46(bool) SLessThan 314 185
BranchConditional 316 306 307 BranchConditional 315 306 307
306: Label 306: Label
317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 319 319 12 12 317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 318 318 12 12
320: 19(fvec4) Load 230(pos) 319: 19(fvec4) Load 230(pos)
322: 123(int) Load 301(i) 321: 123(int) Load 301(i)
324: 323(ptr) AccessChain 120(ubo) 321 322 323: 322(ptr) AccessChain 120(ubo) 320 321
325: 19(fvec4) Load 324 324: 19(fvec4) Load 323
326: 16(float) Dot 320 325 325: 16(float) Dot 319 324
328: 16(float) FAdd 326 327 327: 16(float) FAdd 325 326
330: 46(bool) FOrdLessThan 328 145 328: 46(bool) FOrdLessThan 327 145
SelectionMerge 332 None SelectionMerge 330 None
BranchConditional 330 331 332 BranchConditional 328 329 330
331: Label 329: Label
335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 337 337 12 12 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 334 334 12 12
ReturnValue 334 ReturnValue 331
332: Label 330: Label
Branch 308 Branch 308
308: Label 308: Label
339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 299 299 12 12
341: 123(int) Load 301(i) 338: 123(int) Load 301(i)
342: 123(int) IAdd 341 126 339: 123(int) IAdd 338 126
Store 301(i) 342 Store 301(i) 339
Branch 305 Branch 305
307: Label 307: Label
344: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54 340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 54
345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 346 346 12 12 341: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 342 342 12 12
ReturnValue 92 ReturnValue 92
FunctionEnd FunctionEnd

View file

@ -1,14 +1,14 @@
spv.debuginfo.glsl.tese spv.debuginfo.glsl.tese
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 8000b // Generated by (magic number): 8000b
// Id's are bound by 333 // Id's are bound by 335
Capability Tessellation Capability Tessellation
Extension "SPV_KHR_non_semantic_info" Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450" 3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint TessellationEvaluation 14 "main" 43 60 87 106 134 170 281 295 303 315 322 EntryPoint TessellationEvaluation 14 "main" 43 60 87 106 134 170 283 297 305 317 324
ExecutionMode 14 Quads ExecutionMode 14 Quads
ExecutionMode 14 SpacingEqual ExecutionMode 14 SpacingEqual
ExecutionMode 14 VertexOrderCw ExecutionMode 14 VertexOrderCw
@ -47,17 +47,18 @@ spv.debuginfo.glsl.tese
217: String "type.sampled.image" 217: String "type.sampled.image"
218: String "@type.sampled.image" 218: String "@type.sampled.image"
222: String "displacementMap" 222: String "displacementMap"
236: String "modelview" 231: String "bool"
241: String "lightPos" 238: String "modelview"
244: String "frustumPlanes" 243: String "lightPos"
246: String "tessellatedEdgeSize" 246: String "frustumPlanes"
250: String "viewportDim" 248: String "tessellatedEdgeSize"
254: String "UBO" 252: String "viewportDim"
258: String "ubo" 256: String "UBO"
297: String "outViewVec" 260: String "ubo"
305: String "outLightVec" 299: String "outViewVec"
317: String "outWorldPos" 307: String "outLightVec"
324: String "outEyePos" 319: String "outWorldPos"
326: String "outEyePos"
Name 14 "main" Name 14 "main"
Name 35 "uv1" Name 35 "uv1"
Name 43 "inUV" Name 43 "inUV"
@ -78,26 +79,26 @@ spv.debuginfo.glsl.tese
Name 184 "pos2" Name 184 "pos2"
Name 198 "pos" Name 198 "pos"
Name 220 "displacementMap" Name 220 "displacementMap"
Name 234 "UBO" Name 236 "UBO"
MemberName 234(UBO) 0 "projection" MemberName 236(UBO) 0 "projection"
MemberName 234(UBO) 1 "modelview" MemberName 236(UBO) 1 "modelview"
MemberName 234(UBO) 2 "lightPos" MemberName 236(UBO) 2 "lightPos"
MemberName 234(UBO) 3 "frustumPlanes" MemberName 236(UBO) 3 "frustumPlanes"
MemberName 234(UBO) 4 "displacementFactor" MemberName 236(UBO) 4 "displacementFactor"
MemberName 234(UBO) 5 "tessellationFactor" MemberName 236(UBO) 5 "tessellationFactor"
MemberName 234(UBO) 6 "viewportDim" MemberName 236(UBO) 6 "viewportDim"
MemberName 234(UBO) 7 "tessellatedEdgeSize" MemberName 236(UBO) 7 "tessellatedEdgeSize"
Name 256 "ubo" Name 258 "ubo"
Name 271 "gl_PerVertex" Name 273 "gl_PerVertex"
MemberName 271(gl_PerVertex) 0 "gl_Position" MemberName 273(gl_PerVertex) 0 "gl_Position"
MemberName 271(gl_PerVertex) 1 "gl_PointSize" MemberName 273(gl_PerVertex) 1 "gl_PointSize"
MemberName 271(gl_PerVertex) 2 "gl_ClipDistance" MemberName 273(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 271(gl_PerVertex) 3 "gl_CullDistance" MemberName 273(gl_PerVertex) 3 "gl_CullDistance"
Name 281 "" Name 283 ""
Name 295 "outViewVec" Name 297 "outViewVec"
Name 303 "outLightVec" Name 305 "outLightVec"
Name 315 "outWorldPos" Name 317 "outWorldPos"
Name 322 "outEyePos" Name 324 "outEyePos"
Decorate 43(inUV) Location 1 Decorate 43(inUV) Location 1
Decorate 60(gl_TessCoord) BuiltIn TessCoord Decorate 60(gl_TessCoord) BuiltIn TessCoord
Decorate 87(outUV) Location 1 Decorate 87(outUV) Location 1
@ -110,31 +111,31 @@ spv.debuginfo.glsl.tese
Decorate 154(gl_PerVertex) Block Decorate 154(gl_PerVertex) Block
Decorate 220(displacementMap) DescriptorSet 0 Decorate 220(displacementMap) DescriptorSet 0
Decorate 220(displacementMap) Binding 1 Decorate 220(displacementMap) Binding 1
Decorate 232 ArrayStride 16 Decorate 234 ArrayStride 16
MemberDecorate 234(UBO) 0 ColMajor MemberDecorate 236(UBO) 0 ColMajor
MemberDecorate 234(UBO) 0 Offset 0 MemberDecorate 236(UBO) 0 Offset 0
MemberDecorate 234(UBO) 0 MatrixStride 16 MemberDecorate 236(UBO) 0 MatrixStride 16
MemberDecorate 234(UBO) 1 ColMajor MemberDecorate 236(UBO) 1 ColMajor
MemberDecorate 234(UBO) 1 Offset 64 MemberDecorate 236(UBO) 1 Offset 64
MemberDecorate 234(UBO) 1 MatrixStride 16 MemberDecorate 236(UBO) 1 MatrixStride 16
MemberDecorate 234(UBO) 2 Offset 128 MemberDecorate 236(UBO) 2 Offset 128
MemberDecorate 234(UBO) 3 Offset 144 MemberDecorate 236(UBO) 3 Offset 144
MemberDecorate 234(UBO) 4 Offset 240 MemberDecorate 236(UBO) 4 Offset 240
MemberDecorate 234(UBO) 5 Offset 244 MemberDecorate 236(UBO) 5 Offset 244
MemberDecorate 234(UBO) 6 Offset 248 MemberDecorate 236(UBO) 6 Offset 248
MemberDecorate 234(UBO) 7 Offset 256 MemberDecorate 236(UBO) 7 Offset 256
Decorate 234(UBO) Block Decorate 236(UBO) Block
Decorate 256(ubo) DescriptorSet 0 Decorate 258(ubo) DescriptorSet 0
Decorate 256(ubo) Binding 0 Decorate 258(ubo) Binding 0
MemberDecorate 271(gl_PerVertex) 0 BuiltIn Position MemberDecorate 273(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 271(gl_PerVertex) 1 BuiltIn PointSize MemberDecorate 273(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 271(gl_PerVertex) 2 BuiltIn ClipDistance MemberDecorate 273(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 271(gl_PerVertex) 3 BuiltIn CullDistance MemberDecorate 273(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 271(gl_PerVertex) Block Decorate 273(gl_PerVertex) Block
Decorate 295(outViewVec) Location 2 Decorate 297(outViewVec) Location 2
Decorate 303(outLightVec) Location 3 Decorate 305(outLightVec) Location 3
Decorate 315(outWorldPos) Location 5 Decorate 317(outWorldPos) Location 5
Decorate 322(outEyePos) Location 4 Decorate 324(outEyePos) Location 4
4: TypeVoid 4: TypeVoid
5: TypeFunction 4 5: TypeFunction 4
7: TypeInt 32 0 7: TypeInt 32 0
@ -236,59 +237,60 @@ spv.debuginfo.glsl.tese
225: 29(float) Constant 0 225: 29(float) Constant 0
228: TypeMatrix 145(fvec4) 4 228: TypeMatrix 145(fvec4) 4
230: TypeBool 230: TypeBool
231: 230(bool) ConstantTrue 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 231 10 24 12
229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 146 23 231 233: 230(bool) ConstantTrue
232: TypeArray 145(fvec4) 11 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 146 23 233
233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 146 11 234: TypeArray 145(fvec4) 11
234(UBO): TypeStruct 228 228 145(fvec4) 232 29(float) 29(float) 32(fvec2) 29(float) 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 146 11
237: 7(int) Constant 30 236(UBO): TypeStruct 228 228 145(fvec4) 234 29(float) 29(float) 32(fvec2) 29(float)
238: 7(int) Constant 7 239: 7(int) Constant 30
235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 236 229 18 237 238 12 12 13 240: 7(int) Constant 7
239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 236 229 18 237 238 12 12 13 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 229 18 239 240 12 12 13
242: 7(int) Constant 31 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 229 18 239 240 12 12 13
240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 146 18 242 238 12 12 13 244: 7(int) Constant 31
243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 233 18 10 238 12 12 13 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 243 146 18 244 240 12 12 13
247: 7(int) Constant 36 245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 235 18 10 240 12 12 13
245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 31 18 247 46 12 12 13 249: 7(int) Constant 36
248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 31 18 247 46 12 12 13 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 31 18 249 46 12 12 13
251: 7(int) Constant 35 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 31 18 249 46 12 12 13
249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 250 33 18 251 238 12 12 13 253: 7(int) Constant 35
252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 31 18 247 46 12 12 13 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 252 33 18 253 240 12 12 13
253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 254 22 18 209 12 21 254 12 13 235 239 240 243 245 248 249 252 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 31 18 249 46 12 12 13
255: TypePointer Uniform 234(UBO) 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 256 22 18 209 12 21 256 12 13 237 241 242 245 247 250 251 254
256(ubo): 255(ptr) Variable Uniform 257: TypePointer Uniform 236(UBO)
257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 258 253 18 209 12 21 258 256(ubo) 46 258(ubo): 257(ptr) Variable Uniform
259: 47(int) Constant 4 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 260 255 18 209 12 21 260 258(ubo) 46
260: TypePointer Uniform 29(float) 261: 47(int) Constant 4
264: TypePointer Function 29(float) 262: TypePointer Uniform 29(float)
270: 7(int) Constant 71 266: TypePointer Function 29(float)
271(gl_PerVertex): TypeStruct 145(fvec4) 29(float) 152 152 272: 7(int) Constant 71
273: 7(int) Constant 165 273(gl_PerVertex): TypeStruct 145(fvec4) 29(float) 152 152
272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 146 18 22 273 12 12 13 275: 7(int) Constant 165
275: 7(int) Constant 183 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 146 18 22 275 12 12 13
274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 31 18 22 275 12 12 13 277: 7(int) Constant 183
277: 7(int) Constant 226 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 31 18 22 277 12 12 13
276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 277 12 12 13 279: 7(int) Constant 226
278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 277 12 12 13 278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 279 12 12 13
279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 22 18 270 12 21 166 12 13 272 274 276 278 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 279 12 12 13
280: TypePointer Output 271(gl_PerVertex) 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 22 18 272 12 21 166 12 13 274 276 278 280
281: 280(ptr) Variable Output 282: TypePointer Output 273(gl_PerVertex)
282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 279 18 270 12 21 1 281 46 283: 282(ptr) Variable Output
283: TypePointer Uniform 228 284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 281 18 272 12 21 1 283 46
291: TypePointer Output 145(fvec4) 285: TypePointer Uniform 228
294: 7(int) Constant 74 293: TypePointer Output 145(fvec4)
295(outViewVec): 133(ptr) Variable Output 296: 7(int) Constant 74
296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 297 58 18 294 12 21 297 295(outViewVec) 46 297(outViewVec): 133(ptr) Variable Output
302: 7(int) Constant 75 298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 299 58 18 296 12 21 299 297(outViewVec) 46
303(outLightVec): 133(ptr) Variable Output 304: 7(int) Constant 75
304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 305 58 18 302 12 21 305 303(outLightVec) 46 305(outLightVec): 133(ptr) Variable Output
306: TypePointer Uniform 145(fvec4) 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 307 58 18 304 12 21 307 305(outLightVec) 46
314: 7(int) Constant 76 308: TypePointer Uniform 145(fvec4)
315(outWorldPos): 133(ptr) Variable Output 316: 7(int) Constant 76
316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 317 58 18 314 12 21 317 315(outWorldPos) 46 317(outWorldPos): 133(ptr) Variable Output
321: 7(int) Constant 77 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 319 58 18 316 12 21 319 317(outWorldPos) 46
322(outEyePos): 133(ptr) Variable Output 323: 7(int) Constant 77
323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 324 58 18 321 12 21 324 322(outEyePos) 46 324(outEyePos): 133(ptr) Variable Output
325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 326 58 18 323 12 21 326 324(outEyePos) 46
Line 1 53 11 Line 1 53 11
14(main): 4 Function None 5 14(main): 4 Function None 5
15: Label 15: Label
@ -397,50 +399,50 @@ spv.debuginfo.glsl.tese
224: 32(fvec2) Load 87(outUV) 224: 32(fvec2) Load 87(outUV)
226: 145(fvec4) ImageSampleExplicitLod 223 224 Lod 225 226: 145(fvec4) ImageSampleExplicitLod 223 224 Lod 225
227: 29(float) CompositeExtract 226 0 227: 29(float) CompositeExtract 226 0
261: 260(ptr) AccessChain 256(ubo) 259 263: 262(ptr) AccessChain 258(ubo) 261
262: 29(float) Load 261 264: 29(float) Load 263
263: 29(float) FMul 227 262 265: 29(float) FMul 227 264
265: 264(ptr) AccessChain 198(pos) 22 267: 266(ptr) AccessChain 198(pos) 22
266: 29(float) Load 265 268: 29(float) Load 267
267: 29(float) FSub 266 263 269: 29(float) FSub 268 265
268: 264(ptr) AccessChain 198(pos) 22 270: 266(ptr) AccessChain 198(pos) 22
Store 268 267 Store 270 269
269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 270 270 12 12 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 272 272 12 12
284: 283(ptr) AccessChain 256(ubo) 50 286: 285(ptr) AccessChain 258(ubo) 50
285: 228 Load 284
286: 283(ptr) AccessChain 256(ubo) 54
287: 228 Load 286 287: 228 Load 286
288: 228 MatrixTimesMatrix 285 287 288: 285(ptr) AccessChain 258(ubo) 54
289: 145(fvec4) Load 198(pos) 289: 228 Load 288
290: 145(fvec4) MatrixTimesVector 288 289 290: 228 MatrixTimesMatrix 287 289
292: 291(ptr) AccessChain 281 50 291: 145(fvec4) Load 198(pos)
Store 292 290 292: 145(fvec4) MatrixTimesVector 290 291
293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 294 294 12 12 294: 293(ptr) AccessChain 283 50
298: 145(fvec4) Load 198(pos) Store 294 292
299: 57(fvec3) VectorShuffle 298 298 0 1 2 295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 296 296 12 12
300: 57(fvec3) FNegate 299 300: 145(fvec4) Load 198(pos)
Store 295(outViewVec) 300 301: 57(fvec3) VectorShuffle 300 300 0 1 2
301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 302 302 12 12 302: 57(fvec3) FNegate 301
307: 306(ptr) AccessChain 256(ubo) 77 Store 297(outViewVec) 302
308: 145(fvec4) Load 307 303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 304 304 12 12
309: 57(fvec3) VectorShuffle 308 308 0 1 2 309: 308(ptr) AccessChain 258(ubo) 77
310: 57(fvec3) Load 295(outViewVec) 310: 145(fvec4) Load 309
311: 57(fvec3) FAdd 309 310 311: 57(fvec3) VectorShuffle 310 310 0 1 2
312: 57(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 311 312: 57(fvec3) Load 297(outViewVec)
Store 303(outLightVec) 312 313: 57(fvec3) FAdd 311 312
313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 314 314 12 12 314: 57(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 313
318: 145(fvec4) Load 198(pos) Store 305(outLightVec) 314
319: 57(fvec3) VectorShuffle 318 318 0 1 2 315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 316 316 12 12
Store 315(outWorldPos) 319 320: 145(fvec4) Load 198(pos)
320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 321 321 12 12 321: 57(fvec3) VectorShuffle 320 320 0 1 2
325: 283(ptr) AccessChain 256(ubo) 54 Store 317(outWorldPos) 321
326: 228 Load 325 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 323 323 12 12
327: 145(fvec4) Load 198(pos) 327: 285(ptr) AccessChain 258(ubo) 54
328: 145(fvec4) MatrixTimesVector 326 327 328: 228 Load 327
329: 29(float) CompositeExtract 328 0 329: 145(fvec4) Load 198(pos)
330: 29(float) CompositeExtract 328 1 330: 145(fvec4) MatrixTimesVector 328 329
331: 29(float) CompositeExtract 328 2 331: 29(float) CompositeExtract 330 0
332: 57(fvec3) CompositeConstruct 329 330 331 332: 29(float) CompositeExtract 330 1
Store 322(outEyePos) 332 333: 29(float) CompositeExtract 330 2
334: 57(fvec3) CompositeConstruct 331 332 333
Store 324(outEyePos) 334
Return Return
FunctionEnd FunctionEnd

View file

@ -1,14 +1,14 @@
spv.debuginfo.glsl.vert spv.debuginfo.glsl.vert
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 8000b // Generated by (magic number): 8000b
// Id's are bound by 425 // Id's are bound by 427
Capability Shader Capability Shader
Extension "SPV_KHR_non_semantic_info" Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450" 3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Vertex 14 "main" 35 40 46 52 60 76 290 308 313 338 354 371 410 419 EntryPoint Vertex 14 "main" 35 40 46 52 60 76 292 310 315 340 356 373 412 421
1: String "" 1: String ""
8: String "uint" 8: String "uint"
16: String "main" 16: String "main"
@ -29,31 +29,32 @@ spv.debuginfo.glsl.vert
62: String "instanceTexIndex" 62: String "instanceTexIndex"
73: String "s" 73: String "s"
78: String "instanceRot" 78: String "instanceRot"
90: String "modelview" 87: String "bool"
95: String "lightPos" 92: String "modelview"
98: String "globSpeed" 97: String "lightPos"
102: String "UBO" 100: String "globSpeed"
106: String "ubo" 104: String "UBO"
117: String "c" 108: String "ubo"
132: String "mx" 119: String "c"
175: String "my" 134: String "mx"
212: String "mz" 177: String "my"
233: String "rotMat" 214: String "mz"
262: String "gRotMat" 235: String "rotMat"
288: String "locPos" 264: String "gRotMat"
292: String "inPos" 290: String "locPos"
304: String "pos" 294: String "inPos"
310: String "instanceScale" 306: String "pos"
315: String "instancePos" 312: String "instanceScale"
328: String "gl_Position" 317: String "instancePos"
331: String "gl_PointSize" 330: String "gl_Position"
333: String "gl_CullDistance" 333: String "gl_PointSize"
336: String "gl_PerVertex" 335: String "gl_CullDistance"
356: String "outNormal" 338: String "gl_PerVertex"
373: String "inNormal" 358: String "outNormal"
392: String "lPos" 375: String "inNormal"
412: String "outLightVec" 394: String "lPos"
421: String "outViewVec" 414: String "outLightVec"
423: String "outViewVec"
Name 14 "main" Name 14 "main"
Name 35 "outColor" Name 35 "outColor"
Name 40 "inColor" Name 40 "inColor"
@ -62,65 +63,65 @@ spv.debuginfo.glsl.vert
Name 60 "instanceTexIndex" Name 60 "instanceTexIndex"
Name 71 "s" Name 71 "s"
Name 76 "instanceRot" Name 76 "instanceRot"
Name 88 "UBO" Name 90 "UBO"
MemberName 88(UBO) 0 "projection" MemberName 90(UBO) 0 "projection"
MemberName 88(UBO) 1 "modelview" MemberName 90(UBO) 1 "modelview"
MemberName 88(UBO) 2 "lightPos" MemberName 90(UBO) 2 "lightPos"
MemberName 88(UBO) 3 "locSpeed" MemberName 90(UBO) 3 "locSpeed"
MemberName 88(UBO) 4 "globSpeed" MemberName 90(UBO) 4 "globSpeed"
Name 104 "ubo" Name 106 "ubo"
Name 115 "c" Name 117 "c"
Name 130 "mx" Name 132 "mx"
Name 173 "my" Name 175 "my"
Name 210 "mz" Name 212 "mz"
Name 231 "rotMat" Name 233 "rotMat"
Name 260 "gRotMat" Name 262 "gRotMat"
Name 286 "locPos" Name 288 "locPos"
Name 290 "inPos" Name 292 "inPos"
Name 302 "pos" Name 304 "pos"
Name 308 "instanceScale" Name 310 "instanceScale"
Name 313 "instancePos" Name 315 "instancePos"
Name 326 "gl_PerVertex" Name 328 "gl_PerVertex"
MemberName 326(gl_PerVertex) 0 "gl_Position" MemberName 328(gl_PerVertex) 0 "gl_Position"
MemberName 326(gl_PerVertex) 1 "gl_PointSize" MemberName 328(gl_PerVertex) 1 "gl_PointSize"
MemberName 326(gl_PerVertex) 2 "gl_ClipDistance" MemberName 328(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 326(gl_PerVertex) 3 "gl_CullDistance" MemberName 328(gl_PerVertex) 3 "gl_CullDistance"
Name 338 "" Name 340 ""
Name 354 "outNormal" Name 356 "outNormal"
Name 371 "inNormal" Name 373 "inNormal"
Name 390 "lPos" Name 392 "lPos"
Name 410 "outLightVec" Name 412 "outLightVec"
Name 419 "outViewVec" Name 421 "outViewVec"
Decorate 35(outColor) Location 1 Decorate 35(outColor) Location 1
Decorate 40(inColor) Location 3 Decorate 40(inColor) Location 3
Decorate 46(outUV) Location 2 Decorate 46(outUV) Location 2
Decorate 52(inUV) Location 2 Decorate 52(inUV) Location 2
Decorate 60(instanceTexIndex) Location 7 Decorate 60(instanceTexIndex) Location 7
Decorate 76(instanceRot) Location 5 Decorate 76(instanceRot) Location 5
MemberDecorate 88(UBO) 0 ColMajor MemberDecorate 90(UBO) 0 ColMajor
MemberDecorate 88(UBO) 0 Offset 0 MemberDecorate 90(UBO) 0 Offset 0
MemberDecorate 88(UBO) 0 MatrixStride 16 MemberDecorate 90(UBO) 0 MatrixStride 16
MemberDecorate 88(UBO) 1 ColMajor MemberDecorate 90(UBO) 1 ColMajor
MemberDecorate 88(UBO) 1 Offset 64 MemberDecorate 90(UBO) 1 Offset 64
MemberDecorate 88(UBO) 1 MatrixStride 16 MemberDecorate 90(UBO) 1 MatrixStride 16
MemberDecorate 88(UBO) 2 Offset 128 MemberDecorate 90(UBO) 2 Offset 128
MemberDecorate 88(UBO) 3 Offset 144 MemberDecorate 90(UBO) 3 Offset 144
MemberDecorate 88(UBO) 4 Offset 148 MemberDecorate 90(UBO) 4 Offset 148
Decorate 88(UBO) Block Decorate 90(UBO) Block
Decorate 104(ubo) DescriptorSet 0 Decorate 106(ubo) DescriptorSet 0
Decorate 104(ubo) Binding 0 Decorate 106(ubo) Binding 0
Decorate 290(inPos) Location 0 Decorate 292(inPos) Location 0
Decorate 308(instanceScale) Location 6 Decorate 310(instanceScale) Location 6
Decorate 313(instancePos) Location 4 Decorate 315(instancePos) Location 4
MemberDecorate 326(gl_PerVertex) 0 BuiltIn Position MemberDecorate 328(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 326(gl_PerVertex) 1 BuiltIn PointSize MemberDecorate 328(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 326(gl_PerVertex) 2 BuiltIn ClipDistance MemberDecorate 328(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 326(gl_PerVertex) 3 BuiltIn CullDistance MemberDecorate 328(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 326(gl_PerVertex) Block Decorate 328(gl_PerVertex) Block
Decorate 354(outNormal) Location 0 Decorate 356(outNormal) Location 0
Decorate 371(inNormal) Location 1 Decorate 373(inNormal) Location 1
Decorate 410(outLightVec) Location 4 Decorate 412(outLightVec) Location 4
Decorate 419(outViewVec) Location 3 Decorate 421(outViewVec) Location 3
4: TypeVoid 4: TypeVoid
5: TypeFunction 4 5: TypeFunction 4
7: TypeInt 32 0 7: TypeInt 32 0
@ -173,121 +174,122 @@ spv.debuginfo.glsl.vert
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 23 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 23
84: TypeMatrix 82(fvec4) 4 84: TypeMatrix 82(fvec4) 4
86: TypeBool 86: TypeBool
87: 86(bool) ConstantTrue 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 87 10 24 12
85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 83 23 87 89: 86(bool) ConstantTrue
88(UBO): TypeStruct 84 84 82(fvec4) 29(float) 29(float) 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 83 23 89
91: 7(int) Constant 42 90(UBO): TypeStruct 84 84 82(fvec4) 29(float) 29(float)
92: 7(int) Constant 7 93: 7(int) Constant 42
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 90 85 18 91 92 12 12 13 94: 7(int) Constant 7
93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 90 85 18 91 92 12 12 13 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 92 85 18 93 94 12 12 13
96: 7(int) Constant 43 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 92 85 18 93 94 12 12 13
94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 95 83 18 96 92 12 12 13 98: 7(int) Constant 43
99: 7(int) Constant 45 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 97 83 18 98 94 12 12 13
97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 98 31 18 99 38 12 12 13 101: 7(int) Constant 45
100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 98 31 18 99 38 12 12 13 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 100 31 18 101 38 12 12 13
101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 102 22 18 69 12 21 102 12 13 89 93 94 97 100 102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 100 31 18 101 38 12 12 13
103: TypePointer Uniform 88(UBO) 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 104 22 18 69 12 21 104 12 13 91 95 96 99 102
104(ubo): 103(ptr) Variable Uniform 105: TypePointer Uniform 90(UBO)
105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 106 101 18 69 12 21 106 104(ubo) 38 106(ubo): 105(ptr) Variable Uniform
107: 56(int) Constant 3 107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 108 103 18 69 12 21 108 106(ubo) 38
108: TypePointer Uniform 29(float) 109: 56(int) Constant 3
114: 7(int) Constant 63 110: TypePointer Uniform 29(float)
116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 117 31 18 114 12 17 23 116: 7(int) Constant 63
126: 7(int) Constant 65 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 119 31 18 116 12 17 23
127: TypeMatrix 32(fvec3) 3 128: 7(int) Constant 65
128: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 33 13 87 129: TypeMatrix 32(fvec3) 3
129: TypePointer Function 127 130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 33 13 89
131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 132 128 18 126 12 17 23 131: TypePointer Function 129
134: 56(int) Constant 0 133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 134 130 18 128 12 17 23
137: 29(float) Constant 0 136: 56(int) Constant 0
139: TypePointer Function 32(fvec3) 139: 29(float) Constant 0
142: 7(int) Constant 66 141: TypePointer Function 32(fvec3)
143: 56(int) Constant 1 144: 7(int) Constant 66
150: 7(int) Constant 67 145: 56(int) Constant 1
151: 56(int) Constant 2 152: 7(int) Constant 67
152: 29(float) Constant 1065353216 153: 56(int) Constant 2
153: 32(fvec3) ConstantComposite 137 137 152 154: 29(float) Constant 1065353216
156: 7(int) Constant 70 155: 32(fvec3) ConstantComposite 139 139 154
164: 7(int) Constant 71 158: 7(int) Constant 70
172: 7(int) Constant 73 166: 7(int) Constant 71
174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 175 128 18 172 12 17 23 174: 7(int) Constant 73
182: 7(int) Constant 74 176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 177 130 18 174 12 17 23
183: 32(fvec3) ConstantComposite 137 152 137 184: 7(int) Constant 74
186: 7(int) Constant 75 185: 32(fvec3) ConstantComposite 139 154 139
193: 7(int) Constant 78 188: 7(int) Constant 75
201: 7(int) Constant 79 195: 7(int) Constant 78
209: 7(int) Constant 81 203: 7(int) Constant 79
211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 212 128 18 209 12 17 23 211: 7(int) Constant 81
214: 32(fvec3) ConstantComposite 152 137 137 213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 214 130 18 211 12 17 23
217: 7(int) Constant 82 216: 32(fvec3) ConstantComposite 154 139 139
223: 7(int) Constant 83 219: 7(int) Constant 82
230: 7(int) Constant 85 225: 7(int) Constant 83
232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 233 128 18 230 12 17 23 232: 7(int) Constant 85
241: 7(int) Constant 88 234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 235 130 18 232 12 17 23
244: 56(int) Constant 4 243: 7(int) Constant 88
250: 7(int) Constant 89 246: 56(int) Constant 4
258: 7(int) Constant 90 252: 7(int) Constant 89
259: TypePointer Function 84 260: 7(int) Constant 90
261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 262 85 18 258 12 17 23 261: TypePointer Function 84
267: TypePointer Function 82(fvec4) 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 264 85 18 260 12 17 23
270: 7(int) Constant 91 269: TypePointer Function 82(fvec4)
271: 82(fvec4) ConstantComposite 137 152 137 137 272: 7(int) Constant 91
274: 7(int) Constant 92 273: 82(fvec4) ConstantComposite 139 154 139 139
281: 7(int) Constant 93 276: 7(int) Constant 92
282: 82(fvec4) ConstantComposite 137 137 137 152 283: 7(int) Constant 93
285: 7(int) Constant 95 284: 82(fvec4) ConstantComposite 139 139 139 154
287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 288 83 18 285 12 17 23 287: 7(int) Constant 95
290(inPos): 39(ptr) Variable Input 289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 290 83 18 287 12 17 23
291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 292 33 18 285 12 21 292 290(inPos) 38 292(inPos): 39(ptr) Variable Input
301: 7(int) Constant 96 293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 294 33 18 287 12 21 294 292(inPos) 38
303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 304 83 18 301 12 17 23 303: 7(int) Constant 96
308(instanceScale): 79(ptr) Variable Input 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 306 83 18 303 12 17 23
309: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 310 31 18 301 12 21 310 308(instanceScale) 38 310(instanceScale): 79(ptr) Variable Input
313(instancePos): 39(ptr) Variable Input 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 312 31 18 303 12 21 312 310(instanceScale) 38
314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 315 33 18 301 12 21 315 313(instancePos) 38 315(instancePos): 39(ptr) Variable Input
323: 7(int) Constant 98 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 317 33 18 303 12 21 317 315(instancePos) 38
324: TypeArray 29(float) 22 325: 7(int) Constant 98
325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22 326: TypeArray 29(float) 22
326(gl_PerVertex): TypeStruct 82(fvec4) 29(float) 324 324 327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22
329: 7(int) Constant 24 328(gl_PerVertex): TypeStruct 82(fvec4) 29(float) 326 326
327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 328 83 18 22 329 12 12 13 331: 7(int) Constant 24
330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 331 31 18 22 91 12 12 13 329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 330 83 18 22 331 12 12 13
332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 333 325 18 22 230 12 12 13 332: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 333 31 18 22 93 12 12 13
334: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 333 325 18 22 230 12 12 13 334: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 335 327 18 22 232 12 12 13
335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 336 22 18 323 12 21 336 12 13 327 330 332 334 336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 335 327 18 22 232 12 12 13
337: TypePointer Output 326(gl_PerVertex) 337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 338 22 18 325 12 21 338 12 13 329 332 334 336
338: 337(ptr) Variable Output 339: TypePointer Output 328(gl_PerVertex)
339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 335 18 323 12 21 1 338 38 340: 339(ptr) Variable Output
340: TypePointer Uniform 84 341: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 337 18 325 12 21 1 340 38
350: TypePointer Output 82(fvec4) 342: TypePointer Uniform 84
353: 7(int) Constant 99 352: TypePointer Output 82(fvec4)
354(outNormal): 34(ptr) Variable Output 355: 7(int) Constant 99
355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 356 33 18 353 12 21 356 354(outNormal) 38 356(outNormal): 34(ptr) Variable Output
371(inNormal): 39(ptr) Variable Input 357: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 358 33 18 355 12 21 358 356(outNormal) 38
372: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 373 33 18 353 12 21 373 371(inNormal) 38 373(inNormal): 39(ptr) Variable Input
377: 7(int) Constant 101 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 375 33 18 355 12 21 375 373(inNormal) 38
389: 7(int) Constant 102 379: 7(int) Constant 101
391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 392 33 18 389 12 17 23 391: 7(int) Constant 102
403: TypePointer Uniform 82(fvec4) 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 394 33 18 391 12 17 23
409: 7(int) Constant 103 405: TypePointer Uniform 82(fvec4)
410(outLightVec): 34(ptr) Variable Output 411: 7(int) Constant 103
411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 412 33 18 409 12 21 412 410(outLightVec) 38 412(outLightVec): 34(ptr) Variable Output
418: 7(int) Constant 104 413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 414 33 18 411 12 21 414 412(outLightVec) 38
419(outViewVec): 34(ptr) Variable Output 420: 7(int) Constant 104
420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 421 33 18 418 12 21 421 419(outViewVec) 38 421(outViewVec): 34(ptr) Variable Output
422: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 423 33 18 420 12 21 423 421(outViewVec) 38
Line 1 54 11 Line 1 54 11
14(main): 4 Function None 5 14(main): 4 Function None 5
15: Label 15: Label
71(s): 70(ptr) Variable Function 71(s): 70(ptr) Variable Function
115(c): 70(ptr) Variable Function 117(c): 70(ptr) Variable Function
130(mx): 129(ptr) Variable Function 132(mx): 131(ptr) Variable Function
173(my): 129(ptr) Variable Function 175(my): 131(ptr) Variable Function
210(mz): 129(ptr) Variable Function 212(mz): 131(ptr) Variable Function
231(rotMat): 129(ptr) Variable Function 233(rotMat): 131(ptr) Variable Function
260(gRotMat): 259(ptr) Variable Function 262(gRotMat): 261(ptr) Variable Function
286(locPos): 267(ptr) Variable Function 288(locPos): 269(ptr) Variable Function
302(pos): 267(ptr) Variable Function 304(pos): 269(ptr) Variable Function
390(lPos): 139(ptr) Variable Function 392(lPos): 141(ptr) Variable Function
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main) 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main)
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12 27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
@ -305,238 +307,238 @@ spv.debuginfo.glsl.vert
74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 72 71(s) 75 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 72 71(s) 75
80: 79(ptr) AccessChain 76(instanceRot) 12 80: 79(ptr) AccessChain 76(instanceRot) 12
81: 29(float) Load 80 81: 29(float) Load 80
109: 108(ptr) AccessChain 104(ubo) 107 111: 110(ptr) AccessChain 106(ubo) 109
110: 29(float) Load 109 112: 29(float) Load 111
111: 29(float) FAdd 81 110 113: 29(float) FAdd 81 112
112: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 111 114: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 113
Store 71(s) 112 Store 71(s) 114
113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 114 114 12 12 115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 116 116 12 12
118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 116 115(c) 75 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 118 117(c) 75
119: 79(ptr) AccessChain 76(instanceRot) 12 121: 79(ptr) AccessChain 76(instanceRot) 12
120: 29(float) Load 119
121: 108(ptr) AccessChain 104(ubo) 107
122: 29(float) Load 121 122: 29(float) Load 121
123: 29(float) FAdd 120 122 123: 110(ptr) AccessChain 106(ubo) 109
124: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 123 124: 29(float) Load 123
Store 115(c) 124 125: 29(float) FAdd 122 124
125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 126 126 12 12 126: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 125
133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 131 130(mx) 75 Store 117(c) 126
135: 29(float) Load 115(c) 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 128 128 12 12
136: 29(float) Load 71(s) 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 133 132(mx) 75
138: 32(fvec3) CompositeConstruct 135 136 137 137: 29(float) Load 117(c)
140: 139(ptr) AccessChain 130(mx) 134 138: 29(float) Load 71(s)
Store 140 138 140: 32(fvec3) CompositeConstruct 137 138 139
141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 142 142 12 12 142: 141(ptr) AccessChain 132(mx) 136
144: 29(float) Load 71(s) Store 142 140
145: 29(float) FNegate 144 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 144 144 12 12
146: 29(float) Load 115(c) 146: 29(float) Load 71(s)
147: 32(fvec3) CompositeConstruct 145 146 137 147: 29(float) FNegate 146
148: 139(ptr) AccessChain 130(mx) 143 148: 29(float) Load 117(c)
Store 148 147 149: 32(fvec3) CompositeConstruct 147 148 139
149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 150 150 12 12 150: 141(ptr) AccessChain 132(mx) 145
154: 139(ptr) AccessChain 130(mx) 151 Store 150 149
Store 154 153 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 152 152 12 12
155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 156 156 12 12 156: 141(ptr) AccessChain 132(mx) 153
157: 79(ptr) AccessChain 76(instanceRot) 22 Store 156 155
158: 29(float) Load 157 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 158 158 12 12
159: 108(ptr) AccessChain 104(ubo) 107 159: 79(ptr) AccessChain 76(instanceRot) 22
160: 29(float) Load 159 160: 29(float) Load 159
161: 29(float) FAdd 158 160 161: 110(ptr) AccessChain 106(ubo) 109
162: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 161 162: 29(float) Load 161
Store 71(s) 162 163: 29(float) FAdd 160 162
163: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 164 164 12 12 164: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 163
165: 79(ptr) AccessChain 76(instanceRot) 22 Store 71(s) 164
166: 29(float) Load 165 165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 166 166 12 12
167: 108(ptr) AccessChain 104(ubo) 107 167: 79(ptr) AccessChain 76(instanceRot) 22
168: 29(float) Load 167 168: 29(float) Load 167
169: 29(float) FAdd 166 168 169: 110(ptr) AccessChain 106(ubo) 109
170: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 169 170: 29(float) Load 169
Store 115(c) 170 171: 29(float) FAdd 168 170
171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 172 172 12 12 172: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 171
176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 174 173(my) 75 Store 117(c) 172
177: 29(float) Load 115(c) 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 174 174 12 12
178: 29(float) Load 71(s) 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 176 175(my) 75
179: 32(fvec3) CompositeConstruct 177 137 178 179: 29(float) Load 117(c)
180: 139(ptr) AccessChain 173(my) 134 180: 29(float) Load 71(s)
Store 180 179 181: 32(fvec3) CompositeConstruct 179 139 180
181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 182 182 12 12 182: 141(ptr) AccessChain 175(my) 136
184: 139(ptr) AccessChain 173(my) 143 Store 182 181
Store 184 183 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 184 184 12 12
185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 186 186 12 12 186: 141(ptr) AccessChain 175(my) 145
187: 29(float) Load 71(s) Store 186 185
188: 29(float) FNegate 187 187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 188 188 12 12
189: 29(float) Load 115(c) 189: 29(float) Load 71(s)
190: 32(fvec3) CompositeConstruct 188 137 189 190: 29(float) FNegate 189
191: 139(ptr) AccessChain 173(my) 151 191: 29(float) Load 117(c)
Store 191 190 192: 32(fvec3) CompositeConstruct 190 139 191
192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 193 193 12 12 193: 141(ptr) AccessChain 175(my) 153
194: 79(ptr) AccessChain 76(instanceRot) 24 Store 193 192
195: 29(float) Load 194 194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 195 195 12 12
196: 108(ptr) AccessChain 104(ubo) 107 196: 79(ptr) AccessChain 76(instanceRot) 24
197: 29(float) Load 196 197: 29(float) Load 196
198: 29(float) FAdd 195 197 198: 110(ptr) AccessChain 106(ubo) 109
199: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 198 199: 29(float) Load 198
Store 71(s) 199 200: 29(float) FAdd 197 199
200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 201 201 12 12 201: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 200
202: 79(ptr) AccessChain 76(instanceRot) 24 Store 71(s) 201
203: 29(float) Load 202 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 203 203 12 12
204: 108(ptr) AccessChain 104(ubo) 107 204: 79(ptr) AccessChain 76(instanceRot) 24
205: 29(float) Load 204 205: 29(float) Load 204
206: 29(float) FAdd 203 205 206: 110(ptr) AccessChain 106(ubo) 109
207: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 206 207: 29(float) Load 206
Store 115(c) 207 208: 29(float) FAdd 205 207
208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 209 209 12 12 209: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 208
213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 211 210(mz) 75 Store 117(c) 209
215: 139(ptr) AccessChain 210(mz) 134 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 211 211 12 12
Store 215 214 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 213 212(mz) 75
216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 217 217 12 12 217: 141(ptr) AccessChain 212(mz) 136
218: 29(float) Load 115(c) Store 217 216
219: 29(float) Load 71(s) 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 219 219 12 12
220: 32(fvec3) CompositeConstruct 137 218 219 220: 29(float) Load 117(c)
221: 139(ptr) AccessChain 210(mz) 143 221: 29(float) Load 71(s)
Store 221 220 222: 32(fvec3) CompositeConstruct 139 220 221
222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 223 223 12 12 223: 141(ptr) AccessChain 212(mz) 145
224: 29(float) Load 71(s) Store 223 222
225: 29(float) FNegate 224 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 225 225 12 12
226: 29(float) Load 115(c) 226: 29(float) Load 71(s)
227: 32(fvec3) CompositeConstruct 137 225 226 227: 29(float) FNegate 226
228: 139(ptr) AccessChain 210(mz) 151 228: 29(float) Load 117(c)
Store 228 227 229: 32(fvec3) CompositeConstruct 139 227 228
229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 230 230 12 12 230: 141(ptr) AccessChain 212(mz) 153
234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 232 231(rotMat) 75 Store 230 229
235: 127 Load 210(mz) 231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 232 232 12 12
236: 127 Load 173(my) 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 234 233(rotMat) 75
237: 127 MatrixTimesMatrix 235 236 237: 129 Load 212(mz)
238: 127 Load 130(mx) 238: 129 Load 175(my)
239: 127 MatrixTimesMatrix 237 238 239: 129 MatrixTimesMatrix 237 238
Store 231(rotMat) 239 240: 129 Load 132(mx)
240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 241 241 12 12 241: 129 MatrixTimesMatrix 239 240
242: 79(ptr) AccessChain 76(instanceRot) 22 Store 233(rotMat) 241
243: 29(float) Load 242 242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 243 243 12 12
245: 108(ptr) AccessChain 104(ubo) 244 244: 79(ptr) AccessChain 76(instanceRot) 22
246: 29(float) Load 245 245: 29(float) Load 244
247: 29(float) FAdd 243 246 247: 110(ptr) AccessChain 106(ubo) 246
248: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 247 248: 29(float) Load 247
Store 71(s) 248 249: 29(float) FAdd 245 248
249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 250 250 12 12 250: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 249
251: 79(ptr) AccessChain 76(instanceRot) 22 Store 71(s) 250
252: 29(float) Load 251 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 252 252 12 12
253: 108(ptr) AccessChain 104(ubo) 244 253: 79(ptr) AccessChain 76(instanceRot) 22
254: 29(float) Load 253 254: 29(float) Load 253
255: 29(float) FAdd 252 254 255: 110(ptr) AccessChain 106(ubo) 246
256: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 255 256: 29(float) Load 255
Store 115(c) 256 257: 29(float) FAdd 254 256
257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 258 258 12 12 258: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 257
263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 261 260(gRotMat) 75 Store 117(c) 258
264: 29(float) Load 115(c) 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 260 260 12 12
265: 29(float) Load 71(s) 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 263 262(gRotMat) 75
266: 82(fvec4) CompositeConstruct 264 137 265 137 266: 29(float) Load 117(c)
268: 267(ptr) AccessChain 260(gRotMat) 134 267: 29(float) Load 71(s)
Store 268 266 268: 82(fvec4) CompositeConstruct 266 139 267 139
269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 270 270 12 12 270: 269(ptr) AccessChain 262(gRotMat) 136
272: 267(ptr) AccessChain 260(gRotMat) 143 Store 270 268
Store 272 271 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 272 272 12 12
273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 274 274 12 12 274: 269(ptr) AccessChain 262(gRotMat) 145
275: 29(float) Load 71(s) Store 274 273
276: 29(float) FNegate 275 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 276 276 12 12
277: 29(float) Load 115(c) 277: 29(float) Load 71(s)
278: 82(fvec4) CompositeConstruct 276 137 277 137 278: 29(float) FNegate 277
279: 267(ptr) AccessChain 260(gRotMat) 151 279: 29(float) Load 117(c)
Store 279 278 280: 82(fvec4) CompositeConstruct 278 139 279 139
280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 281 281 12 12 281: 269(ptr) AccessChain 262(gRotMat) 153
283: 267(ptr) AccessChain 260(gRotMat) 107 Store 281 280
Store 283 282 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 283 283 12 12
284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 285 285 12 12 285: 269(ptr) AccessChain 262(gRotMat) 109
289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 287 286(locPos) 75 Store 285 284
293: 32(fvec3) Load 290(inPos) 286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 287 287 12 12
294: 127 Load 231(rotMat) 291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 289 288(locPos) 75
295: 32(fvec3) VectorTimesMatrix 293 294 295: 32(fvec3) Load 292(inPos)
296: 29(float) CompositeExtract 295 0 296: 129 Load 233(rotMat)
297: 29(float) CompositeExtract 295 1 297: 32(fvec3) VectorTimesMatrix 295 296
298: 29(float) CompositeExtract 295 2 298: 29(float) CompositeExtract 297 0
299: 82(fvec4) CompositeConstruct 296 297 298 152 299: 29(float) CompositeExtract 297 1
Store 286(locPos) 299 300: 29(float) CompositeExtract 297 2
300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 301 301 12 12 301: 82(fvec4) CompositeConstruct 298 299 300 154
305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 303 302(pos) 75 Store 288(locPos) 301
306: 82(fvec4) Load 286(locPos) 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 303 303 12 12
307: 32(fvec3) VectorShuffle 306 306 0 1 2 307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 305 304(pos) 75
311: 29(float) Load 308(instanceScale) 308: 82(fvec4) Load 288(locPos)
312: 32(fvec3) VectorTimesScalar 307 311 309: 32(fvec3) VectorShuffle 308 308 0 1 2
316: 32(fvec3) Load 313(instancePos) 313: 29(float) Load 310(instanceScale)
317: 32(fvec3) FAdd 312 316 314: 32(fvec3) VectorTimesScalar 309 313
318: 29(float) CompositeExtract 317 0 318: 32(fvec3) Load 315(instancePos)
319: 29(float) CompositeExtract 317 1 319: 32(fvec3) FAdd 314 318
320: 29(float) CompositeExtract 317 2 320: 29(float) CompositeExtract 319 0
321: 82(fvec4) CompositeConstruct 318 319 320 152 321: 29(float) CompositeExtract 319 1
Store 302(pos) 321 322: 29(float) CompositeExtract 319 2
322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 323 323 12 12 323: 82(fvec4) CompositeConstruct 320 321 322 154
341: 340(ptr) AccessChain 104(ubo) 134 Store 304(pos) 323
342: 84 Load 341 324: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 325 325 12 12
343: 340(ptr) AccessChain 104(ubo) 143 343: 342(ptr) AccessChain 106(ubo) 136
344: 84 Load 343 344: 84 Load 343
345: 84 MatrixTimesMatrix 342 344 345: 342(ptr) AccessChain 106(ubo) 145
346: 84 Load 260(gRotMat) 346: 84 Load 345
347: 84 MatrixTimesMatrix 345 346 347: 84 MatrixTimesMatrix 344 346
348: 82(fvec4) Load 302(pos) 348: 84 Load 262(gRotMat)
349: 82(fvec4) MatrixTimesVector 347 348 349: 84 MatrixTimesMatrix 347 348
351: 350(ptr) AccessChain 338 134 350: 82(fvec4) Load 304(pos)
Store 351 349 351: 82(fvec4) MatrixTimesVector 349 350
352: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 353 353 12 12 353: 352(ptr) AccessChain 340 136
357: 340(ptr) AccessChain 104(ubo) 143 Store 353 351
358: 84 Load 357 354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 355 355 12 12
359: 84 Load 260(gRotMat) 359: 342(ptr) AccessChain 106(ubo) 145
360: 84 MatrixTimesMatrix 358 359 360: 84 Load 359
361: 82(fvec4) CompositeExtract 360 0 361: 84 Load 262(gRotMat)
362: 32(fvec3) VectorShuffle 361 361 0 1 2 362: 84 MatrixTimesMatrix 360 361
363: 82(fvec4) CompositeExtract 360 1 363: 82(fvec4) CompositeExtract 362 0
364: 32(fvec3) VectorShuffle 363 363 0 1 2 364: 32(fvec3) VectorShuffle 363 363 0 1 2
365: 82(fvec4) CompositeExtract 360 2 365: 82(fvec4) CompositeExtract 362 1
366: 32(fvec3) VectorShuffle 365 365 0 1 2 366: 32(fvec3) VectorShuffle 365 365 0 1 2
367: 127 CompositeConstruct 362 364 366 367: 82(fvec4) CompositeExtract 362 2
368: 127 Load 231(rotMat) 368: 32(fvec3) VectorShuffle 367 367 0 1 2
369: 127 ExtInst 3(GLSL.std.450) 34(MatrixInverse) 368 369: 129 CompositeConstruct 364 366 368
370: 127 MatrixTimesMatrix 367 369 370: 129 Load 233(rotMat)
374: 32(fvec3) Load 371(inNormal) 371: 129 ExtInst 3(GLSL.std.450) 34(MatrixInverse) 370
375: 32(fvec3) MatrixTimesVector 370 374 372: 129 MatrixTimesMatrix 369 371
Store 354(outNormal) 375 376: 32(fvec3) Load 373(inNormal)
376: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 377 377 12 12 377: 32(fvec3) MatrixTimesVector 372 376
378: 340(ptr) AccessChain 104(ubo) 143 Store 356(outNormal) 377
379: 84 Load 378 378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 379 379 12 12
380: 32(fvec3) Load 290(inPos) 380: 342(ptr) AccessChain 106(ubo) 145
381: 32(fvec3) Load 313(instancePos) 381: 84 Load 380
382: 32(fvec3) FAdd 380 381 382: 32(fvec3) Load 292(inPos)
383: 29(float) CompositeExtract 382 0 383: 32(fvec3) Load 315(instancePos)
384: 29(float) CompositeExtract 382 1 384: 32(fvec3) FAdd 382 383
385: 29(float) CompositeExtract 382 2 385: 29(float) CompositeExtract 384 0
386: 82(fvec4) CompositeConstruct 383 384 385 152 386: 29(float) CompositeExtract 384 1
387: 82(fvec4) MatrixTimesVector 379 386 387: 29(float) CompositeExtract 384 2
Store 302(pos) 387 388: 82(fvec4) CompositeConstruct 385 386 387 154
388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 389 389 12 12 389: 82(fvec4) MatrixTimesVector 381 388
393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 391 390(lPos) 75 Store 304(pos) 389
394: 340(ptr) AccessChain 104(ubo) 143 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 391 391 12 12
395: 84 Load 394 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 393 392(lPos) 75
396: 82(fvec4) CompositeExtract 395 0 396: 342(ptr) AccessChain 106(ubo) 145
397: 32(fvec3) VectorShuffle 396 396 0 1 2 397: 84 Load 396
398: 82(fvec4) CompositeExtract 395 1 398: 82(fvec4) CompositeExtract 397 0
399: 32(fvec3) VectorShuffle 398 398 0 1 2 399: 32(fvec3) VectorShuffle 398 398 0 1 2
400: 82(fvec4) CompositeExtract 395 2 400: 82(fvec4) CompositeExtract 397 1
401: 32(fvec3) VectorShuffle 400 400 0 1 2 401: 32(fvec3) VectorShuffle 400 400 0 1 2
402: 127 CompositeConstruct 397 399 401 402: 82(fvec4) CompositeExtract 397 2
404: 403(ptr) AccessChain 104(ubo) 151 403: 32(fvec3) VectorShuffle 402 402 0 1 2
405: 82(fvec4) Load 404 404: 129 CompositeConstruct 399 401 403
406: 32(fvec3) VectorShuffle 405 405 0 1 2 406: 405(ptr) AccessChain 106(ubo) 153
407: 32(fvec3) MatrixTimesVector 402 406 407: 82(fvec4) Load 406
Store 390(lPos) 407 408: 32(fvec3) VectorShuffle 407 407 0 1 2
408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 409 409 12 12 409: 32(fvec3) MatrixTimesVector 404 408
413: 32(fvec3) Load 390(lPos) Store 392(lPos) 409
414: 82(fvec4) Load 302(pos) 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 411 411 12 12
415: 32(fvec3) VectorShuffle 414 414 0 1 2 415: 32(fvec3) Load 392(lPos)
416: 32(fvec3) FSub 413 415 416: 82(fvec4) Load 304(pos)
Store 410(outLightVec) 416 417: 32(fvec3) VectorShuffle 416 416 0 1 2
417: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 418 418 12 12 418: 32(fvec3) FSub 415 417
422: 82(fvec4) Load 302(pos) Store 412(outLightVec) 418
423: 32(fvec3) VectorShuffle 422 422 0 1 2 419: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 420 420 12 12
424: 32(fvec3) FNegate 423 424: 82(fvec4) Load 304(pos)
Store 419(outViewVec) 424 425: 32(fvec3) VectorShuffle 424 424 0 1 2
426: 32(fvec3) FNegate 425
Store 421(outViewVec) 426
Return Return
FunctionEnd FunctionEnd

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -3,14 +3,14 @@ WARNING: 0:158: '' : attribute does not apply to entry point
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 8000b // Generated by (magic number): 8000b
// Id's are bound by 692 // Id's are bound by 685
Capability Tessellation Capability Tessellation
Extension "SPV_KHR_non_semantic_info" Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450" 3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint TessellationControl 6 "main" 584 591 598 632 641 648 655 670 685 EntryPoint TessellationControl 6 "main" 577 584 591 625 634 641 648 663 678
ExecutionMode 6 OutputVertices 4 ExecutionMode 6 OutputVertices 4
ExecutionMode 6 Quads ExecutionMode 6 Quads
ExecutionMode 6 SpacingEqual ExecutionMode 6 SpacingEqual
@ -68,7 +68,7 @@ WARNING: 0:158: '' : attribute does not apply to entry point
342: String "type.sampled.image" 342: String "type.sampled.image"
343: String "@type.sampled.image" 343: String "@type.sampled.image"
361: String "i" 361: String "i"
414: String "output" 410: String "output"
Name 6 "main" Name 6 "main"
Name 26 "screenSpaceTessFactor(vf4;vf4;" Name 26 "screenSpaceTessFactor(vf4;vf4;"
Name 24 "p0" Name 24 "p0"
@ -113,34 +113,34 @@ WARNING: 0:158: '' : attribute does not apply to entry point
Name 327 "textureHeight" Name 327 "textureHeight"
Name 336 "samplerHeight" Name 336 "samplerHeight"
Name 359 "i" Name 359 "i"
Name 412 "output" Name 408 "output"
Name 422 "param" Name 418 "param"
Name 425 "param" Name 421 "param"
Name 466 "param" Name 459 "param"
Name 462 "param"
Name 469 "param" Name 469 "param"
Name 476 "param" Name 472 "param"
Name 479 "param" Name 479 "param"
Name 486 "param" Name 482 "param"
Name 489 "param" Name 489 "param"
Name 496 "param" Name 492 "param"
Name 499 "param" Name 544 "output"
Name 551 "output" Name 574 "patch"
Name 581 "patch" Name 577 "patch.Pos"
Name 584 "patch.Pos" Name 584 "patch.Normal"
Name 591 "patch.Normal" Name 591 "patch.UV"
Name 598 "patch.UV" Name 623 "InvocationID"
Name 630 "InvocationID" Name 625 "InvocationID"
Name 632 "InvocationID" Name 627 "flattenTemp"
Name 634 "flattenTemp" Name 628 "param"
Name 635 "param" Name 630 "param"
Name 637 "param" Name 634 "@entryPointOutput.Pos"
Name 641 "@entryPointOutput.Pos" Name 641 "@entryPointOutput.Normal"
Name 648 "@entryPointOutput.Normal" Name 648 "@entryPointOutput.UV"
Name 655 "@entryPointOutput.UV" Name 658 "@patchConstantResult"
Name 665 "@patchConstantResult" Name 659 "param"
Name 666 "param" Name 663 "@patchConstantOutput.TessLevelOuter"
Name 670 "@patchConstantOutput.TessLevelOuter" Name 678 "@patchConstantOutput.TessLevelInner"
Name 685 "@patchConstantOutput.TessLevelInner"
Decorate 176 ArrayStride 16 Decorate 176 ArrayStride 16
MemberDecorate 178(UBO) 0 RowMajor MemberDecorate 178(UBO) 0 RowMajor
MemberDecorate 178(UBO) 0 Offset 0 MemberDecorate 178(UBO) 0 Offset 0
@ -162,17 +162,17 @@ WARNING: 0:158: '' : attribute does not apply to entry point
Decorate 327(textureHeight) Binding 1 Decorate 327(textureHeight) Binding 1
Decorate 336(samplerHeight) DescriptorSet 0 Decorate 336(samplerHeight) DescriptorSet 0
Decorate 336(samplerHeight) Binding 1 Decorate 336(samplerHeight) Binding 1
Decorate 584(patch.Pos) BuiltIn Position Decorate 577(patch.Pos) BuiltIn Position
Decorate 591(patch.Normal) Location 0 Decorate 584(patch.Normal) Location 0
Decorate 598(patch.UV) Location 1 Decorate 591(patch.UV) Location 1
Decorate 632(InvocationID) BuiltIn InvocationId Decorate 625(InvocationID) BuiltIn InvocationId
Decorate 641(@entryPointOutput.Pos) BuiltIn Position Decorate 634(@entryPointOutput.Pos) BuiltIn Position
Decorate 648(@entryPointOutput.Normal) Location 0 Decorate 641(@entryPointOutput.Normal) Location 0
Decorate 655(@entryPointOutput.UV) Location 1 Decorate 648(@entryPointOutput.UV) Location 1
Decorate 670(@patchConstantOutput.TessLevelOuter) Patch Decorate 663(@patchConstantOutput.TessLevelOuter) Patch
Decorate 670(@patchConstantOutput.TessLevelOuter) BuiltIn TessLevelOuter Decorate 663(@patchConstantOutput.TessLevelOuter) BuiltIn TessLevelOuter
Decorate 685(@patchConstantOutput.TessLevelInner) Patch Decorate 678(@patchConstantOutput.TessLevelInner) Patch
Decorate 685(@patchConstantOutput.TessLevelInner) BuiltIn TessLevelInner Decorate 678(@patchConstantOutput.TessLevelInner) BuiltIn TessLevelInner
4: TypeVoid 4: TypeVoid
5: TypeFunction 4 5: TypeFunction 4
8: TypeFloat 32 8: TypeFloat 32
@ -339,205 +339,198 @@ WARNING: 0:158: '' : attribute does not apply to entry point
357: 11(int) Constant 102 357: 11(int) Constant 102
358: TypePointer Function 210(int) 358: TypePointer Function 210(int)
360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 361 212 30 357 16 59 19 360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 361 212 30 357 16 59 19
373: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 376: 11(int) Constant 103
377: 11(int) Constant 103 378: 210(int) Constant 3
379: 210(int) Constant 3 380: TypePointer Uniform 18(fvec4)
381: TypePointer Uniform 18(fvec4) 384: 8(float) Constant 1090519040
385: 8(float) Constant 1090519040 389: 49(bool) ConstantFalse
387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 392: 11(int) Constant 105
391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 400: 11(int) Constant 108
392: 49(bool) ConstantFalse 406: 11(int) Constant 113
395: 11(int) Constant 105 407: TypePointer Function 92(ConstantsHSOutput)
401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 410 100 30 406 16 108 19
404: 11(int) Constant 108 412: 88 ConstantComposite 227 227 227 227
410: 11(int) Constant 113 413: 90 ConstantComposite 227 227
411: TypePointer Function 92(ConstantsHSOutput) 414:92(ConstantsHSOutput) ConstantComposite 412 413
413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 414 100 30 410 16 108 19 416: 11(int) Constant 115
416: 88 ConstantComposite 227 227 227 227 417: 210(int) Constant 2
417: 90 ConstantComposite 227 227 430: 11(int) Constant 117
418:92(ConstantsHSOutput) ConstantComposite 416 417 433: 11(int) Constant 118
420: 11(int) Constant 115 436: 11(int) Constant 119
421: 210(int) Constant 2 439: 11(int) Constant 120
429: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 442: 11(int) Constant 121
430: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 445: 11(int) Constant 122
436: 11(int) Constant 117 450: 11(int) Constant 126
439: 11(int) Constant 118 458: 11(int) Constant 128
442: 11(int) Constant 119 468: 11(int) Constant 129
445: 11(int) Constant 120 478: 11(int) Constant 130
448: 11(int) Constant 121 488: 11(int) Constant 131
451: 11(int) Constant 122 498: 11(int) Constant 132
456: 11(int) Constant 126 506: 11(int) Constant 133
459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16 516: 11(int) Constant 139
465: 11(int) Constant 128 519: 11(int) Constant 140
475: 11(int) Constant 129 522: 11(int) Constant 141
485: 11(int) Constant 130 525: 11(int) Constant 142
495: 11(int) Constant 131 528: 11(int) Constant 143
505: 11(int) Constant 132 531: 11(int) Constant 144
513: 11(int) Constant 133 535: 11(int) Constant 148
523: 11(int) Constant 139 542: 11(int) Constant 159
526: 11(int) Constant 140 543: TypePointer Function 116(HSOutput)
529: 11(int) Constant 141 545: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 410 123 30 542 16 132 19
532: 11(int) Constant 142 547: 18(fvec4) ConstantComposite 227 227 227 227
535: 11(int) Constant 143 548: 46(fvec2) ConstantComposite 227 227
538: 11(int) Constant 144 549:116(HSOutput) ConstantComposite 547 228 548
542: 11(int) Constant 148 551: 11(int) Constant 160
549: 11(int) Constant 159 557: 11(int) Constant 161
550: TypePointer Function 116(HSOutput) 559: TypePointer Function 69(fvec3)
552: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 414 123 30 549 16 132 19 564: 11(int) Constant 162
554: 18(fvec4) ConstantComposite 227 227 227 227 570: 11(int) Constant 163
555: 46(fvec2) ConstantComposite 227 227 575: TypeArray 18(fvec4) 19
556:116(HSOutput) ConstantComposite 554 228 555 576: TypePointer Input 575
558: 11(int) Constant 160 577(patch.Pos): 576(ptr) Variable Input
564: 11(int) Constant 161 578: TypePointer Input 18(fvec4)
566: TypePointer Function 69(fvec3) 582: TypeArray 69(fvec3) 19
571: 11(int) Constant 162
577: 11(int) Constant 163
582: TypeArray 18(fvec4) 19
583: TypePointer Input 582 583: TypePointer Input 582
584(patch.Pos): 583(ptr) Variable Input 584(patch.Normal): 583(ptr) Variable Input
585: TypePointer Input 18(fvec4) 585: TypePointer Input 69(fvec3)
589: TypeArray 69(fvec3) 19 589: TypeArray 46(fvec2) 19
590: TypePointer Input 589 590: TypePointer Input 589
591(patch.Normal): 590(ptr) Variable Input 591(patch.UV): 590(ptr) Variable Input
592: TypePointer Input 69(fvec3) 592: TypePointer Input 46(fvec2)
596: TypeArray 46(fvec2) 19 624: TypePointer Input 11(int)
597: TypePointer Input 596 625(InvocationID): 624(ptr) Variable Input
598(patch.UV): 597(ptr) Variable Input 633: TypePointer Output 575
599: TypePointer Input 46(fvec2) 634(@entryPointOutput.Pos): 633(ptr) Variable Output
631: TypePointer Input 11(int) 638: TypePointer Output 18(fvec4)
632(InvocationID): 631(ptr) Variable Input
640: TypePointer Output 582 640: TypePointer Output 582
641(@entryPointOutput.Pos): 640(ptr) Variable Output 641(@entryPointOutput.Normal): 640(ptr) Variable Output
645: TypePointer Output 18(fvec4) 645: TypePointer Output 69(fvec3)
647: TypePointer Output 589 647: TypePointer Output 589
648(@entryPointOutput.Normal): 647(ptr) Variable Output 648(@entryPointOutput.UV): 647(ptr) Variable Output
652: TypePointer Output 69(fvec3) 652: TypePointer Output 46(fvec2)
654: TypePointer Output 596 662: TypePointer Output 88
655(@entryPointOutput.UV): 654(ptr) Variable Output 663(@patchConstantOutput.TessLevelOuter): 662(ptr) Variable Output
659: TypePointer Output 46(fvec2) 666: TypePointer Output 8(float)
669: TypePointer Output 88 677: TypePointer Output 90
670(@patchConstantOutput.TessLevelOuter): 669(ptr) Variable Output 678(@patchConstantOutput.TessLevelInner): 677(ptr) Variable Output
673: TypePointer Output 8(float)
684: TypePointer Output 90
685(@patchConstantOutput.TessLevelInner): 684(ptr) Variable Output
Line 1 158 1 Line 1 158 1
6(main): 4 Function None 5 6(main): 4 Function None 5
7: Label 7: Label
581(patch): 87(ptr) Variable Function 574(patch): 87(ptr) Variable Function
630(InvocationID): 115(ptr) Variable Function 623(InvocationID): 115(ptr) Variable Function
634(flattenTemp): 550(ptr) Variable Function 627(flattenTemp): 543(ptr) Variable Function
635(param): 87(ptr) Variable Function 628(param): 87(ptr) Variable Function
637(param): 115(ptr) Variable Function 630(param): 115(ptr) Variable Function
665(@patchConstantResult): 411(ptr) Variable Function 658(@patchConstantResult): 407(ptr) Variable Function
666(param): 87(ptr) Variable Function 659(param): 87(ptr) Variable Function
Line 1 158 0 Line 1 158 0
586: 585(ptr) AccessChain 584(patch.Pos) 213 579: 578(ptr) AccessChain 577(patch.Pos) 213
587: 18(fvec4) Load 586 580: 18(fvec4) Load 579
588: 21(ptr) AccessChain 581(patch) 213 213 581: 21(ptr) AccessChain 574(patch) 213 213
Store 581 580
586: 585(ptr) AccessChain 584(patch.Normal) 213
587: 69(fvec3) Load 586
588: 559(ptr) AccessChain 574(patch) 213 214
Store 588 587 Store 588 587
593: 592(ptr) AccessChain 591(patch.Normal) 213 593: 592(ptr) AccessChain 591(patch.UV) 213
594: 69(fvec3) Load 593 594: 46(fvec2) Load 593
595: 566(ptr) AccessChain 581(patch) 213 214 595: 48(ptr) AccessChain 574(patch) 213 417
Store 595 594 Store 595 594
600: 599(ptr) AccessChain 598(patch.UV) 213 596: 578(ptr) AccessChain 577(patch.Pos) 214
601: 46(fvec2) Load 600 597: 18(fvec4) Load 596
602: 48(ptr) AccessChain 581(patch) 213 421 598: 21(ptr) AccessChain 574(patch) 214 213
Store 602 601 Store 598 597
603: 585(ptr) AccessChain 584(patch.Pos) 214 599: 585(ptr) AccessChain 584(patch.Normal) 214
604: 18(fvec4) Load 603 600: 69(fvec3) Load 599
605: 21(ptr) AccessChain 581(patch) 214 213 601: 559(ptr) AccessChain 574(patch) 214 214
Store 605 604 Store 601 600
606: 592(ptr) AccessChain 591(patch.Normal) 214 602: 592(ptr) AccessChain 591(patch.UV) 214
607: 69(fvec3) Load 606 603: 46(fvec2) Load 602
608: 566(ptr) AccessChain 581(patch) 214 214 604: 48(ptr) AccessChain 574(patch) 214 417
Store 608 607 Store 604 603
609: 599(ptr) AccessChain 598(patch.UV) 214 605: 578(ptr) AccessChain 577(patch.Pos) 417
610: 46(fvec2) Load 609 606: 18(fvec4) Load 605
611: 48(ptr) AccessChain 581(patch) 214 421 607: 21(ptr) AccessChain 574(patch) 417 213
Store 611 610 Store 607 606
612: 585(ptr) AccessChain 584(patch.Pos) 421 608: 585(ptr) AccessChain 584(patch.Normal) 417
613: 18(fvec4) Load 612 609: 69(fvec3) Load 608
614: 21(ptr) AccessChain 581(patch) 421 213 610: 559(ptr) AccessChain 574(patch) 417 214
Store 614 613 Store 610 609
615: 592(ptr) AccessChain 591(patch.Normal) 421 611: 592(ptr) AccessChain 591(patch.UV) 417
616: 69(fvec3) Load 615 612: 46(fvec2) Load 611
617: 566(ptr) AccessChain 581(patch) 421 214 613: 48(ptr) AccessChain 574(patch) 417 417
Store 617 616 Store 613 612
618: 599(ptr) AccessChain 598(patch.UV) 421 614: 578(ptr) AccessChain 577(patch.Pos) 378
619: 46(fvec2) Load 618 615: 18(fvec4) Load 614
620: 48(ptr) AccessChain 581(patch) 421 421 616: 21(ptr) AccessChain 574(patch) 378 213
Store 620 619 Store 616 615
621: 585(ptr) AccessChain 584(patch.Pos) 379 617: 585(ptr) AccessChain 584(patch.Normal) 378
622: 18(fvec4) Load 621 618: 69(fvec3) Load 617
623: 21(ptr) AccessChain 581(patch) 379 213 619: 559(ptr) AccessChain 574(patch) 378 214
Store 623 622 Store 619 618
624: 592(ptr) AccessChain 591(patch.Normal) 379 620: 592(ptr) AccessChain 591(patch.UV) 378
625: 69(fvec3) Load 624 621: 46(fvec2) Load 620
626: 566(ptr) AccessChain 581(patch) 379 214 622: 48(ptr) AccessChain 574(patch) 378 417
Store 626 625 Store 622 621
627: 599(ptr) AccessChain 598(patch.UV) 379 626: 11(int) Load 625(InvocationID)
628: 46(fvec2) Load 627 Store 623(InvocationID) 626
629: 48(ptr) AccessChain 581(patch) 379 421 629: 85 Load 574(patch)
Store 629 628 Store 628(param) 629
633: 11(int) Load 632(InvocationID) 631: 11(int) Load 623(InvocationID)
Store 630(InvocationID) 633 Store 630(param) 631
636: 85 Load 581(patch) 632:116(HSOutput) FunctionCall 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) 628(param) 630(param)
Store 635(param) 636 Store 627(flattenTemp) 632
638: 11(int) Load 630(InvocationID) 635: 11(int) Load 625(InvocationID)
Store 637(param) 638 636: 21(ptr) AccessChain 627(flattenTemp) 213
639:116(HSOutput) FunctionCall 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) 635(param) 637(param) 637: 18(fvec4) Load 636
Store 634(flattenTemp) 639 639: 638(ptr) AccessChain 634(@entryPointOutput.Pos) 635
642: 11(int) Load 632(InvocationID) Store 639 637
643: 21(ptr) AccessChain 634(flattenTemp) 213 642: 11(int) Load 625(InvocationID)
644: 18(fvec4) Load 643 643: 559(ptr) AccessChain 627(flattenTemp) 214
646: 645(ptr) AccessChain 641(@entryPointOutput.Pos) 642 644: 69(fvec3) Load 643
646: 645(ptr) AccessChain 641(@entryPointOutput.Normal) 642
Store 646 644 Store 646 644
649: 11(int) Load 632(InvocationID) 649: 11(int) Load 625(InvocationID)
650: 566(ptr) AccessChain 634(flattenTemp) 214 650: 48(ptr) AccessChain 627(flattenTemp) 417
651: 69(fvec3) Load 650 651: 46(fvec2) Load 650
653: 652(ptr) AccessChain 648(@entryPointOutput.Normal) 649 653: 652(ptr) AccessChain 648(@entryPointOutput.UV) 649
Store 653 651 Store 653 651
656: 11(int) Load 632(InvocationID)
657: 48(ptr) AccessChain 634(flattenTemp) 421
658: 46(fvec2) Load 657
660: 659(ptr) AccessChain 655(@entryPointOutput.UV) 656
Store 660 658
ControlBarrier 44 19 16 ControlBarrier 44 19 16
661: 11(int) Load 632(InvocationID) 654: 11(int) Load 625(InvocationID)
662: 49(bool) IEqual 661 213 655: 49(bool) IEqual 654 213
SelectionMerge 664 None SelectionMerge 657 None
BranchConditional 662 663 664 BranchConditional 655 656 657
663: Label 656: Label
667: 85 Load 581(patch) 660: 85 Load 574(patch)
Store 666(param) 667 Store 659(param) 660
668:92(ConstantsHSOutput) FunctionCall 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) 666(param) 661:92(ConstantsHSOutput) FunctionCall 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) 659(param)
Store 665(@patchConstantResult) 668 Store 658(@patchConstantResult) 661
671: 156(ptr) AccessChain 665(@patchConstantResult) 213 213 664: 156(ptr) AccessChain 658(@patchConstantResult) 213 213
665: 8(float) Load 664
667: 666(ptr) AccessChain 663(@patchConstantOutput.TessLevelOuter) 213
Store 667 665
668: 156(ptr) AccessChain 658(@patchConstantResult) 213 214
669: 8(float) Load 668
670: 666(ptr) AccessChain 663(@patchConstantOutput.TessLevelOuter) 214
Store 670 669
671: 156(ptr) AccessChain 658(@patchConstantResult) 213 417
672: 8(float) Load 671 672: 8(float) Load 671
674: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 213 673: 666(ptr) AccessChain 663(@patchConstantOutput.TessLevelOuter) 417
Store 674 672 Store 673 672
675: 156(ptr) AccessChain 665(@patchConstantResult) 213 214 674: 156(ptr) AccessChain 658(@patchConstantResult) 213 378
676: 8(float) Load 675 675: 8(float) Load 674
677: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 214 676: 666(ptr) AccessChain 663(@patchConstantOutput.TessLevelOuter) 378
Store 677 676 Store 676 675
678: 156(ptr) AccessChain 665(@patchConstantResult) 213 421 679: 156(ptr) AccessChain 658(@patchConstantResult) 214 213
679: 8(float) Load 678 680: 8(float) Load 679
680: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 421 681: 666(ptr) AccessChain 678(@patchConstantOutput.TessLevelInner) 213
Store 680 679 Store 681 680
681: 156(ptr) AccessChain 665(@patchConstantResult) 213 379 682: 156(ptr) AccessChain 658(@patchConstantResult) 214 214
682: 8(float) Load 681 683: 8(float) Load 682
683: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 379 684: 666(ptr) AccessChain 678(@patchConstantOutput.TessLevelInner) 214
Store 683 682 Store 684 683
686: 156(ptr) AccessChain 665(@patchConstantResult) 214 213 Branch 657
687: 8(float) Load 686 657: Label
688: 673(ptr) AccessChain 685(@patchConstantOutput.TessLevelInner) 213
Store 688 687
689: 156(ptr) AccessChain 665(@patchConstantResult) 214 214
690: 8(float) Load 689
691: 673(ptr) AccessChain 685(@patchConstantOutput.TessLevelInner) 214
Store 691 690
Branch 664
664: Label
Return Return
FunctionEnd FunctionEnd
Line 1 65 1 Line 1 65 1
@ -699,223 +692,223 @@ WARNING: 0:158: '' : attribute does not apply to entry point
370: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 370: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16 371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16
372: 210(int) Load 359(i) 372: 210(int) Load 359(i)
374: 49(bool) SLessThan 372 269 373: 49(bool) SLessThan 372 269
BranchConditional 374 364 365 BranchConditional 373 364 365
364: Label 364: Label
375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
376: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 377 377 16 16 375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 376 376 16 16
378: 18(fvec4) Load 314(pos) 377: 18(fvec4) Load 314(pos)
380: 210(int) Load 359(i) 379: 210(int) Load 359(i)
382: 381(ptr) AccessChain 207 213 379 380 381: 380(ptr) AccessChain 207 213 378 379
383: 18(fvec4) Load 382 382: 18(fvec4) Load 381
384: 8(float) Dot 378 383 383: 8(float) Dot 377 382
386: 8(float) FAdd 384 385 385: 8(float) FAdd 383 384
388: 49(bool) FOrdLessThan 386 227 386: 49(bool) FOrdLessThan 385 227
SelectionMerge 390 None SelectionMerge 388 None
BranchConditional 388 389 390 BranchConditional 386 387 388
389: Label 387: Label
393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 395 395 16 16 391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 392 392 16 16
ReturnValue 392 ReturnValue 389
390: Label 388: Label
Branch 366 Branch 366
366: Label 366: Label
397: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16 395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16
399: 210(int) Load 359(i) 396: 210(int) Load 359(i)
400: 210(int) IAdd 399 214 397: 210(int) IAdd 396 214
Store 359(i) 400 Store 359(i) 397
Branch 363 Branch 363
365: Label 365: Label
402: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59 398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 404 404 16 16 399: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 400 400 16 16
ReturnValue 175 ReturnValue 175
FunctionEnd FunctionEnd
Line 1 112 1 Line 1 112 1
105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];):92(ConstantsHSOutput) Function None 102 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];):92(ConstantsHSOutput) Function None 102
104(patch): 87(ptr) FunctionParameter 104(patch): 87(ptr) FunctionParameter
106: Label 106: Label
412(output): 411(ptr) Variable Function 408(output): 407(ptr) Variable Function
422(param): 21(ptr) Variable Function 418(param): 21(ptr) Variable Function
425(param): 48(ptr) Variable Function 421(param): 48(ptr) Variable Function
466(param): 21(ptr) Variable Function 459(param): 21(ptr) Variable Function
462(param): 21(ptr) Variable Function
469(param): 21(ptr) Variable Function 469(param): 21(ptr) Variable Function
476(param): 21(ptr) Variable Function 472(param): 21(ptr) Variable Function
479(param): 21(ptr) Variable Function 479(param): 21(ptr) Variable Function
486(param): 21(ptr) Variable Function 482(param): 21(ptr) Variable Function
489(param): 21(ptr) Variable Function 489(param): 21(ptr) Variable Function
496(param): 21(ptr) Variable Function 492(param): 21(ptr) Variable Function
499(param): 21(ptr) Variable Function
110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 109 109 16 16 111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 109 109 16 16
114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 112 104(patch) 41 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 112 104(patch) 41
407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 108 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) 403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 108 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];)
408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 404: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 410 410 16 16 405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 406 406 16 16
415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 413 412(output) 41 411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 409 408(output) 41
Store 412(output) 418 Store 408(output) 414
419: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 420 420 16 16 415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 416 416 16 16
423: 21(ptr) AccessChain 104(patch) 213 213 419: 21(ptr) AccessChain 104(patch) 213 213
424: 18(fvec4) Load 423 420: 18(fvec4) Load 419
Store 422(param) 424 Store 418(param) 420
426: 48(ptr) AccessChain 104(patch) 213 421 422: 48(ptr) AccessChain 104(patch) 213 417
427: 46(fvec2) Load 426 423: 46(fvec2) Load 422
Store 425(param) 427 Store 421(param) 423
428: 49(bool) FunctionCall 56(frustumCheck(vf4;vf2;) 422(param) 425(param) 424: 49(bool) FunctionCall 56(frustumCheck(vf4;vf2;) 418(param) 421(param)
431: 49(bool) LogicalNot 428 425: 49(bool) LogicalNot 424
SelectionMerge 433 None SelectionMerge 427 None
BranchConditional 431 432 453 BranchConditional 425 426 447
432: Label 426: Label
434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 428: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
429: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 430 430 16 16
431: 156(ptr) AccessChain 408(output) 214 213
Store 431 227
432: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 433 433 16 16
434: 156(ptr) AccessChain 408(output) 214 214
Store 434 227
435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 436 436 16 16 435: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 436 436 16 16
437: 156(ptr) AccessChain 412(output) 214 213 437: 156(ptr) AccessChain 408(output) 213 213
Store 437 227 Store 437 227
438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 439 439 16 16 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 439 439 16 16
440: 156(ptr) AccessChain 412(output) 214 214 440: 156(ptr) AccessChain 408(output) 213 214
Store 440 227 Store 440 227
441: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 442 442 16 16 441: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 442 442 16 16
443: 156(ptr) AccessChain 412(output) 213 213 443: 156(ptr) AccessChain 408(output) 213 417
Store 443 227 Store 443 227
444: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 445 445 16 16 444: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 445 445 16 16
446: 156(ptr) AccessChain 412(output) 213 214 446: 156(ptr) AccessChain 408(output) 213 378
Store 446 227 Store 446 227
447: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 448 448 16 16 Branch 427
449: 156(ptr) AccessChain 412(output) 213 421 447: Label
Store 449 227 448: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 451 451 16 16 449: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 450 450 16 16
452: 156(ptr) AccessChain 412(output) 213 379 451: 297(ptr) AccessChain 207 213 301
Store 452 227 452: 8(float) Load 451
Branch 433 453: 49(bool) FOrdGreaterThan 452 227
453: Label SelectionMerge 455 None
454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 BranchConditional 453 454 513
455: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 456 456 16 16 454: Label
457: 297(ptr) AccessChain 207 213 301 456: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
458: 8(float) Load 457 457: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 458 458 16 16
460: 49(bool) FOrdGreaterThan 458 227 460: 21(ptr) AccessChain 104(patch) 378 213
SelectionMerge 462 None 461: 18(fvec4) Load 460
BranchConditional 460 461 520 Store 459(param) 461
461: Label 463: 21(ptr) AccessChain 104(patch) 213 213
463: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 464: 18(fvec4) Load 463
464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 465 465 16 16 Store 462(param) 464
467: 21(ptr) AccessChain 104(patch) 379 213 465: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 459(param) 462(param)
468: 18(fvec4) Load 467 466: 156(ptr) AccessChain 408(output) 213 213
Store 466(param) 468 Store 466 465
467: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 468 468 16 16
470: 21(ptr) AccessChain 104(patch) 213 213 470: 21(ptr) AccessChain 104(patch) 213 213
471: 18(fvec4) Load 470 471: 18(fvec4) Load 470
Store 469(param) 471 Store 469(param) 471
472: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 466(param) 469(param) 473: 21(ptr) AccessChain 104(patch) 214 213
473: 156(ptr) AccessChain 412(output) 213 213 474: 18(fvec4) Load 473
Store 473 472 Store 472(param) 474
474: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 475 475 16 16 475: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 469(param) 472(param)
477: 21(ptr) AccessChain 104(patch) 213 213 476: 156(ptr) AccessChain 408(output) 213 214
478: 18(fvec4) Load 477 Store 476 475
Store 476(param) 478 477: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 478 478 16 16
480: 21(ptr) AccessChain 104(patch) 214 213 480: 21(ptr) AccessChain 104(patch) 214 213
481: 18(fvec4) Load 480 481: 18(fvec4) Load 480
Store 479(param) 481 Store 479(param) 481
482: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 476(param) 479(param) 483: 21(ptr) AccessChain 104(patch) 417 213
483: 156(ptr) AccessChain 412(output) 213 214 484: 18(fvec4) Load 483
Store 483 482 Store 482(param) 484
484: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 485 485 16 16 485: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 479(param) 482(param)
487: 21(ptr) AccessChain 104(patch) 214 213 486: 156(ptr) AccessChain 408(output) 213 417
488: 18(fvec4) Load 487 Store 486 485
Store 486(param) 488 487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 488 488 16 16
490: 21(ptr) AccessChain 104(patch) 421 213 490: 21(ptr) AccessChain 104(patch) 417 213
491: 18(fvec4) Load 490 491: 18(fvec4) Load 490
Store 489(param) 491 Store 489(param) 491
492: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 486(param) 489(param) 493: 21(ptr) AccessChain 104(patch) 378 213
493: 156(ptr) AccessChain 412(output) 213 421 494: 18(fvec4) Load 493
Store 493 492 Store 492(param) 494
494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 495 495 16 16 495: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 489(param) 492(param)
497: 21(ptr) AccessChain 104(patch) 421 213 496: 156(ptr) AccessChain 408(output) 213 378
498: 18(fvec4) Load 497 Store 496 495
Store 496(param) 498 497: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 498 498 16 16
500: 21(ptr) AccessChain 104(patch) 379 213 499: 156(ptr) AccessChain 408(output) 213 213
501: 18(fvec4) Load 500 500: 8(float) Load 499
Store 499(param) 501 501: 156(ptr) AccessChain 408(output) 213 378
502: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 496(param) 499(param) 502: 8(float) Load 501
503: 156(ptr) AccessChain 412(output) 213 379 503: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 500 502 149
Store 503 502 504: 156(ptr) AccessChain 408(output) 214 213
504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 505 505 16 16 Store 504 503
506: 156(ptr) AccessChain 412(output) 213 213 505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 506 506 16 16
507: 8(float) Load 506 507: 156(ptr) AccessChain 408(output) 213 417
508: 156(ptr) AccessChain 412(output) 213 379 508: 8(float) Load 507
509: 8(float) Load 508 509: 156(ptr) AccessChain 408(output) 213 214
510: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 507 509 149 510: 8(float) Load 509
511: 156(ptr) AccessChain 412(output) 214 213 511: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 508 510 149
Store 511 510 512: 156(ptr) AccessChain 408(output) 214 214
512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 513 513 16 16 Store 512 511
514: 156(ptr) AccessChain 412(output) 213 421 Branch 455
515: 8(float) Load 514 513: Label
516: 156(ptr) AccessChain 412(output) 213 214 514: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
517: 8(float) Load 516 515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 516 516 16 16
518: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 515 517 149 517: 156(ptr) AccessChain 408(output) 214 213
519: 156(ptr) AccessChain 412(output) 214 214 Store 517 305
Store 519 518 518: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 519 519 16 16
Branch 462 520: 156(ptr) AccessChain 408(output) 214 214
520: Label Store 520 305
521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108 521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 522 522 16 16
522: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 523 523 16 16 523: 156(ptr) AccessChain 408(output) 213 213
524: 156(ptr) AccessChain 412(output) 214 213 Store 523 305
Store 524 305 524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 525 525 16 16
525: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 526 526 16 16 526: 156(ptr) AccessChain 408(output) 213 214
527: 156(ptr) AccessChain 412(output) 214 214 Store 526 305
Store 527 305 527: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 528 528 16 16
528: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 529 529 16 16 529: 156(ptr) AccessChain 408(output) 213 417
530: 156(ptr) AccessChain 412(output) 213 213 Store 529 305
Store 530 305 530: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 531 531 16 16
531: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 532 532 16 16 532: 156(ptr) AccessChain 408(output) 213 378
533: 156(ptr) AccessChain 412(output) 213 214 Store 532 305
Store 533 305 Branch 455
534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 535 535 16 16 455: Label
536: 156(ptr) AccessChain 412(output) 213 421 Branch 427
Store 536 305 427: Label
537: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 538 538 16 16 533: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
539: 156(ptr) AccessChain 412(output) 213 379 534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 535 535 16 16
Store 539 305 536:92(ConstantsHSOutput) Load 408(output)
Branch 462 ReturnValue 536
462: Label
Branch 433
433: Label
540: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
541: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 542 542 16 16
543:92(ConstantsHSOutput) Load 412(output)
ReturnValue 543
FunctionEnd FunctionEnd
Line 1 158 1 Line 1 158 1
129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;):116(HSOutput) Function None 125 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;):116(HSOutput) Function None 125
127(patch): 87(ptr) FunctionParameter 127(patch): 87(ptr) FunctionParameter
128(InvocationID): 115(ptr) FunctionParameter 128(InvocationID): 115(ptr) FunctionParameter
130: Label 130: Label
551(output): 550(ptr) Variable Function 544(output): 543(ptr) Variable Function
134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 132 134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 132
135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 133 133 16 16 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 133 133 16 16
137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 136 127(patch) 41 137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 136 127(patch) 41
140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 138 128(InvocationID) 41 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 138 128(InvocationID) 41
546: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 132 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) 539: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 132 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;)
547: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 132 540: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 132
548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 549 549 16 16 541: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 542 542 16 16
553: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 552 551(output) 41 546: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 545 544(output) 41
Store 551(output) 556 Store 544(output) 549
557: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 558 558 16 16 550: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 551 551 16 16
559: 11(int) Load 128(InvocationID) 552: 11(int) Load 128(InvocationID)
560: 21(ptr) AccessChain 127(patch) 559 213 553: 21(ptr) AccessChain 127(patch) 552 213
561: 18(fvec4) Load 560 554: 18(fvec4) Load 553
562: 21(ptr) AccessChain 551(output) 213 555: 21(ptr) AccessChain 544(output) 213
Store 555 554
556: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 557 557 16 16
558: 11(int) Load 128(InvocationID)
560: 559(ptr) AccessChain 127(patch) 558 214
561: 69(fvec3) Load 560
562: 559(ptr) AccessChain 544(output) 214
Store 562 561 Store 562 561
563: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 564 564 16 16 563: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 564 564 16 16
565: 11(int) Load 128(InvocationID) 565: 11(int) Load 128(InvocationID)
567: 566(ptr) AccessChain 127(patch) 565 214 566: 48(ptr) AccessChain 127(patch) 565 417
568: 69(fvec3) Load 567 567: 46(fvec2) Load 566
569: 566(ptr) AccessChain 551(output) 214 568: 48(ptr) AccessChain 544(output) 417
Store 569 568 Store 568 567
570: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 571 571 16 16 569: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 570 570 16 16
572: 11(int) Load 128(InvocationID) 571:116(HSOutput) Load 544(output)
573: 48(ptr) AccessChain 127(patch) 572 421 ReturnValue 571
574: 46(fvec2) Load 573
575: 48(ptr) AccessChain 551(output) 421
Store 575 574
576: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 577 577 16 16
578:116(HSOutput) Load 551(output)
ReturnValue 578
FunctionEnd FunctionEnd

View file

@ -1,14 +1,14 @@
spv.debuginfo.hlsl.tese spv.debuginfo.hlsl.tese
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 8000b // Generated by (magic number): 8000b
// Id's are bound by 462 // Id's are bound by 464
Capability Tessellation Capability Tessellation
Extension "SPV_KHR_non_semantic_info" Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450" 3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 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 ExecutionMode 6 Quads
1: String "" 1: String ""
9: String "float" 9: String "float"
@ -52,13 +52,14 @@ spv.debuginfo.hlsl.tese
247: String "displacementMapSampler" 247: String "displacementMapSampler"
251: String "type.sampled.image" 251: String "type.sampled.image"
252: String "@type.sampled.image" 252: String "@type.sampled.image"
266: String "modelview" 261: String "bool"
271: String "lightPos" 268: String "modelview"
275: String "frustumPlanes" 273: String "lightPos"
278: String "tessellatedEdgeSize" 277: String "frustumPlanes"
282: String "viewportDim" 280: String "tessellatedEdgeSize"
286: String "UBO" 284: String "viewportDim"
289: String "ubo" 288: String "UBO"
291: String "ubo"
Name 6 "main" Name 6 "main"
Name 24 "ConstantsHSOutput" Name 24 "ConstantsHSOutput"
MemberName 24(ConstantsHSOutput) 0 "TessLevelOuter" MemberName 24(ConstantsHSOutput) 0 "TessLevelOuter"
@ -89,74 +90,74 @@ spv.debuginfo.hlsl.tese
Name 217 "pos" Name 217 "pos"
Name 235 "displacementMapTexture" Name 235 "displacementMapTexture"
Name 245 "displacementMapSampler" Name 245 "displacementMapSampler"
Name 264 "UBO" Name 266 "UBO"
MemberName 264(UBO) 0 "projection" MemberName 266(UBO) 0 "projection"
MemberName 264(UBO) 1 "modelview" MemberName 266(UBO) 1 "modelview"
MemberName 264(UBO) 2 "lightPos" MemberName 266(UBO) 2 "lightPos"
MemberName 264(UBO) 3 "frustumPlanes" MemberName 266(UBO) 3 "frustumPlanes"
MemberName 264(UBO) 4 "displacementFactor" MemberName 266(UBO) 4 "displacementFactor"
MemberName 264(UBO) 5 "tessellationFactor" MemberName 266(UBO) 5 "tessellationFactor"
MemberName 264(UBO) 6 "viewportDim" MemberName 266(UBO) 6 "viewportDim"
MemberName 264(UBO) 7 "tessellatedEdgeSize" MemberName 266(UBO) 7 "tessellatedEdgeSize"
Name 287 "ubo" Name 289 "ubo"
MemberName 287(ubo) 0 "ubo" MemberName 289(ubo) 0 "ubo"
Name 292 "" Name 294 ""
Name 351 "input" Name 353 "input"
Name 353 "input.TessLevelOuter" Name 355 "input.TessLevelOuter"
Name 368 "input.TessLevelInner" Name 370 "input.TessLevelInner"
Name 375 "TessCoord"
Name 377 "TessCoord" Name 377 "TessCoord"
Name 383 "patch" Name 379 "TessCoord"
Name 386 "patch.Pos" Name 385 "patch"
Name 393 "patch.Normal" Name 388 "patch.Pos"
Name 399 "patch.UV" Name 395 "patch.Normal"
Name 431 "flattenTemp" Name 401 "patch.UV"
Name 433 "param" Name 433 "flattenTemp"
Name 435 "param" Name 435 "param"
Name 439 "@entryPointOutput.Pos" Name 437 "param"
Name 443 "@entryPointOutput.Normal" Name 441 "@entryPointOutput.Pos"
Name 447 "@entryPointOutput.UV" Name 445 "@entryPointOutput.Normal"
Name 450 "@entryPointOutput.ViewVec" Name 449 "@entryPointOutput.UV"
Name 453 "@entryPointOutput.LightVec" Name 452 "@entryPointOutput.ViewVec"
Name 456 "@entryPointOutput.EyePos" Name 455 "@entryPointOutput.LightVec"
Name 459 "@entryPointOutput.WorldPos" Name 458 "@entryPointOutput.EyePos"
Name 461 "@entryPointOutput.WorldPos"
Decorate 235(displacementMapTexture) DescriptorSet 0 Decorate 235(displacementMapTexture) DescriptorSet 0
Decorate 235(displacementMapTexture) Binding 1 Decorate 235(displacementMapTexture) Binding 1
Decorate 245(displacementMapSampler) DescriptorSet 0 Decorate 245(displacementMapSampler) DescriptorSet 0
Decorate 245(displacementMapSampler) Binding 1 Decorate 245(displacementMapSampler) Binding 1
Decorate 262 ArrayStride 16 Decorate 264 ArrayStride 16
MemberDecorate 264(UBO) 0 RowMajor MemberDecorate 266(UBO) 0 RowMajor
MemberDecorate 264(UBO) 0 Offset 0 MemberDecorate 266(UBO) 0 Offset 0
MemberDecorate 264(UBO) 0 MatrixStride 16 MemberDecorate 266(UBO) 0 MatrixStride 16
MemberDecorate 264(UBO) 1 RowMajor MemberDecorate 266(UBO) 1 RowMajor
MemberDecorate 264(UBO) 1 Offset 64 MemberDecorate 266(UBO) 1 Offset 64
MemberDecorate 264(UBO) 1 MatrixStride 16 MemberDecorate 266(UBO) 1 MatrixStride 16
MemberDecorate 264(UBO) 2 Offset 128 MemberDecorate 266(UBO) 2 Offset 128
MemberDecorate 264(UBO) 3 Offset 144 MemberDecorate 266(UBO) 3 Offset 144
MemberDecorate 264(UBO) 4 Offset 240 MemberDecorate 266(UBO) 4 Offset 240
MemberDecorate 264(UBO) 5 Offset 244 MemberDecorate 266(UBO) 5 Offset 244
MemberDecorate 264(UBO) 6 Offset 248 MemberDecorate 266(UBO) 6 Offset 248
MemberDecorate 264(UBO) 7 Offset 256 MemberDecorate 266(UBO) 7 Offset 256
MemberDecorate 287(ubo) 0 Offset 0 MemberDecorate 289(ubo) 0 Offset 0
Decorate 287(ubo) Block Decorate 289(ubo) Block
Decorate 292 DescriptorSet 0 Decorate 294 DescriptorSet 0
Decorate 292 Binding 0 Decorate 294 Binding 0
Decorate 353(input.TessLevelOuter) Patch Decorate 355(input.TessLevelOuter) Patch
Decorate 353(input.TessLevelOuter) BuiltIn TessLevelOuter Decorate 355(input.TessLevelOuter) BuiltIn TessLevelOuter
Decorate 368(input.TessLevelInner) Patch Decorate 370(input.TessLevelInner) Patch
Decorate 368(input.TessLevelInner) BuiltIn TessLevelInner Decorate 370(input.TessLevelInner) BuiltIn TessLevelInner
Decorate 377(TessCoord) Patch Decorate 379(TessCoord) Patch
Decorate 377(TessCoord) BuiltIn TessCoord Decorate 379(TessCoord) BuiltIn TessCoord
Decorate 386(patch.Pos) BuiltIn Position Decorate 388(patch.Pos) BuiltIn Position
Decorate 393(patch.Normal) Location 0 Decorate 395(patch.Normal) Location 0
Decorate 399(patch.UV) Location 1 Decorate 401(patch.UV) Location 1
Decorate 439(@entryPointOutput.Pos) BuiltIn Position Decorate 441(@entryPointOutput.Pos) BuiltIn Position
Decorate 443(@entryPointOutput.Normal) Location 0 Decorate 445(@entryPointOutput.Normal) Location 0
Decorate 447(@entryPointOutput.UV) Location 1 Decorate 449(@entryPointOutput.UV) Location 1
Decorate 450(@entryPointOutput.ViewVec) Location 2 Decorate 452(@entryPointOutput.ViewVec) Location 2
Decorate 453(@entryPointOutput.LightVec) Location 3 Decorate 455(@entryPointOutput.LightVec) Location 3
Decorate 456(@entryPointOutput.EyePos) Location 4 Decorate 458(@entryPointOutput.EyePos) Location 4
Decorate 459(@entryPointOutput.WorldPos) Location 5 Decorate 461(@entryPointOutput.WorldPos) Location 5
4: TypeVoid 4: TypeVoid
5: TypeFunction 4 5: TypeFunction 4
8: TypeFloat 32 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 250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 251 16 27 228 16 37 252 233 17
258: TypeMatrix 43(fvec4) 4 258: TypeMatrix 43(fvec4) 4
260: TypeBool 260: TypeBool
261: 260(bool) ConstantTrue 262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 261 14 21 16
259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 44 18 261 263: 260(bool) ConstantTrue
262: TypeArray 43(fvec4) 15 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 44 18 263
263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 44 15 264: TypeArray 43(fvec4) 15
264(UBO): TypeStruct 258 258 43(fvec4) 262 8(float) 8(float) 40(fvec2) 8(float) 265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 44 15
267: 11(int) Constant 29 266(UBO): TypeStruct 258 258 43(fvec4) 264 8(float) 8(float) 40(fvec2) 8(float)
268: 11(int) Constant 20 269: 11(int) Constant 29
265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 266 259 27 267 268 16 16 17 270: 11(int) Constant 20
269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 266 259 27 267 268 16 16 17 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 268 259 27 269 270 16 16 17
272: 11(int) Constant 30 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 268 259 27 269 270 16 16 17
273: 11(int) Constant 17 274: 11(int) Constant 30
270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 271 44 27 272 273 16 16 17 275: 11(int) Constant 17
276: 11(int) Constant 22 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 273 44 27 274 275 16 16 17
274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 275 263 27 58 276 16 16 17 278: 11(int) Constant 22
279: 11(int) Constant 27 276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 277 265 27 58 278 16 16 17
277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 278 10 27 54 279 16 16 17 281: 11(int) Constant 27
280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 278 10 27 54 279 16 16 17 279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 280 10 27 54 281 16 16 17
283: 11(int) Constant 34 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 280 10 27 54 281 16 16 17
281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 282 41 27 283 268 16 16 17 285: 11(int) Constant 34
284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 278 10 27 54 279 16 16 17 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 284 41 27 285 270 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 286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 280 10 27 54 281 16 16 17
287(ubo): TypeStruct 264(UBO) 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
288: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 289 285 27 70 70 16 16 17 289(ubo): TypeStruct 266(UBO)
290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 289 36 27 228 16 37 289 16 17 288 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 291 287 27 70 70 16 16 17
291: TypePointer Uniform 287(ubo) 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 291 36 27 228 16 37 291 16 17 290
292: 291(ptr) Variable Uniform 293: TypePointer Uniform 289(ubo)
293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 290 27 228 16 37 1 292 238 294: 293(ptr) Variable Uniform
294: 121(int) Constant 4 295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 292 27 228 16 37 1 294 238
295: TypePointer Uniform 8(float) 296: 121(int) Constant 4
304: 11(int) Constant 86 297: TypePointer Uniform 8(float)
306: TypePointer Uniform 258 306: 11(int) Constant 86
315: 11(int) Constant 89 308: TypePointer Uniform 258
321: 11(int) Constant 90 317: 11(int) Constant 89
322: TypePointer Uniform 43(fvec4) 323: 11(int) Constant 90
332: 11(int) Constant 91 324: TypePointer Uniform 43(fvec4)
333: 121(int) Constant 6 334: 11(int) Constant 91
338: 11(int) Constant 92 335: 121(int) Constant 6
339: 121(int) Constant 5 340: 11(int) Constant 92
347: 11(int) Constant 93 341: 121(int) Constant 5
352: TypePointer Input 19 349: 11(int) Constant 93
353(input.TessLevelOuter): 352(ptr) Variable Input 354: TypePointer Input 19
354: TypePointer Input 8(float) 355(input.TessLevelOuter): 354(ptr) Variable Input
367: TypePointer Input 22 356: TypePointer Input 8(float)
368(input.TessLevelInner): 367(ptr) Variable Input 369: TypePointer Input 22
376: TypePointer Input 45(fvec3) 370(input.TessLevelInner): 369(ptr) Variable Input
377(TessCoord): 376(ptr) Variable Input 378: TypePointer Input 45(fvec3)
382: TypePointer Function 61 379(TessCoord): 378(ptr) Variable Input
384: TypeArray 43(fvec4) 18 384: TypePointer Function 61
385: TypePointer Input 384 386: TypeArray 43(fvec4) 18
386(patch.Pos): 385(ptr) Variable Input 387: TypePointer Input 386
387: TypePointer Input 43(fvec4) 388(patch.Pos): 387(ptr) Variable Input
391: TypeArray 45(fvec3) 18 389: TypePointer Input 43(fvec4)
392: TypePointer Input 391 393: TypeArray 45(fvec3) 18
393(patch.Normal): 392(ptr) Variable Input 394: TypePointer Input 393
397: TypeArray 40(fvec2) 18 395(patch.Normal): 394(ptr) Variable Input
398: TypePointer Input 397 399: TypeArray 40(fvec2) 18
399(patch.UV): 398(ptr) Variable Input 400: TypePointer Input 399
400: TypePointer Input 40(fvec2) 401(patch.UV): 400(ptr) Variable Input
438: TypePointer Output 43(fvec4) 402: TypePointer Input 40(fvec2)
439(@entryPointOutput.Pos): 438(ptr) Variable Output 440: TypePointer Output 43(fvec4)
442: TypePointer Output 45(fvec3) 441(@entryPointOutput.Pos): 440(ptr) Variable Output
443(@entryPointOutput.Normal): 442(ptr) Variable Output 444: TypePointer Output 45(fvec3)
446: TypePointer Output 40(fvec2) 445(@entryPointOutput.Normal): 444(ptr) Variable Output
447(@entryPointOutput.UV): 446(ptr) Variable Output 448: TypePointer Output 40(fvec2)
450(@entryPointOutput.ViewVec): 442(ptr) Variable Output 449(@entryPointOutput.UV): 448(ptr) Variable Output
453(@entryPointOutput.LightVec): 442(ptr) Variable Output 452(@entryPointOutput.ViewVec): 444(ptr) Variable Output
456(@entryPointOutput.EyePos): 442(ptr) Variable Output 455(@entryPointOutput.LightVec): 444(ptr) Variable Output
459(@entryPointOutput.WorldPos): 442(ptr) Variable Output 458(@entryPointOutput.EyePos): 444(ptr) Variable Output
461(@entryPointOutput.WorldPos): 444(ptr) Variable Output
Line 1 68 1 Line 1 68 1
6(main): 4 Function None 5 6(main): 4 Function None 5
7: Label 7: Label
351(input): 39(ptr) Variable Function 353(input): 39(ptr) Variable Function
375(TessCoord): 42(ptr) Variable Function 377(TessCoord): 42(ptr) Variable Function
383(patch): 382(ptr) Variable Function 385(patch): 384(ptr) Variable Function
431(flattenTemp): 105(ptr) Variable Function 433(flattenTemp): 105(ptr) Variable Function
433(param): 39(ptr) Variable Function 435(param): 39(ptr) Variable Function
435(param): 42(ptr) Variable Function 437(param): 42(ptr) Variable Function
Line 1 68 0 Line 1 68 0
355: 354(ptr) AccessChain 353(input.TessLevelOuter) 124 357: 356(ptr) AccessChain 355(input.TessLevelOuter) 124
356: 8(float) Load 355 358: 8(float) Load 357
357: 129(ptr) AccessChain 351(input) 124 124 359: 129(ptr) AccessChain 353(input) 124 124
Store 357 356 Store 359 358
358: 354(ptr) AccessChain 353(input.TessLevelOuter) 127 360: 356(ptr) AccessChain 355(input.TessLevelOuter) 127
359: 8(float) Load 358 361: 8(float) Load 360
360: 129(ptr) AccessChain 351(input) 124 127 362: 129(ptr) AccessChain 353(input) 124 127
Store 360 359 Store 362 361
361: 354(ptr) AccessChain 353(input.TessLevelOuter) 125 363: 356(ptr) AccessChain 355(input.TessLevelOuter) 125
362: 8(float) Load 361 364: 8(float) Load 363
363: 129(ptr) AccessChain 351(input) 124 125 365: 129(ptr) AccessChain 353(input) 124 125
Store 363 362 Store 365 364
364: 354(ptr) AccessChain 353(input.TessLevelOuter) 140 366: 356(ptr) AccessChain 355(input.TessLevelOuter) 140
365: 8(float) Load 364 367: 8(float) Load 366
366: 129(ptr) AccessChain 351(input) 124 140 368: 129(ptr) AccessChain 353(input) 124 140
Store 366 365 Store 368 367
369: 354(ptr) AccessChain 368(input.TessLevelInner) 124 371: 356(ptr) AccessChain 370(input.TessLevelInner) 124
370: 8(float) Load 369 372: 8(float) Load 371
371: 129(ptr) AccessChain 351(input) 127 124 373: 129(ptr) AccessChain 353(input) 127 124
Store 371 370 Store 373 372
372: 354(ptr) AccessChain 368(input.TessLevelInner) 127 374: 356(ptr) AccessChain 370(input.TessLevelInner) 127
373: 8(float) Load 372 375: 8(float) Load 374
374: 129(ptr) AccessChain 351(input) 127 127 376: 129(ptr) AccessChain 353(input) 127 127
Store 374 373 Store 376 375
378: 45(fvec3) Load 377(TessCoord) 380: 45(fvec3) Load 379(TessCoord)
379: 8(float) CompositeExtract 378 0 381: 8(float) CompositeExtract 380 0
380: 8(float) CompositeExtract 378 1 382: 8(float) CompositeExtract 380 1
381: 40(fvec2) CompositeConstruct 379 380 383: 40(fvec2) CompositeConstruct 381 382
Store 375(TessCoord) 381 Store 377(TessCoord) 383
388: 387(ptr) AccessChain 386(patch.Pos) 124 390: 389(ptr) AccessChain 388(patch.Pos) 124
389: 43(fvec4) Load 388 391: 43(fvec4) Load 390
390: 192(ptr) AccessChain 383(patch) 124 124 392: 192(ptr) AccessChain 385(patch) 124 124
Store 390 389 Store 392 391
394: 376(ptr) AccessChain 393(patch.Normal) 124 396: 378(ptr) AccessChain 395(patch.Normal) 124
395: 45(fvec3) Load 394 397: 45(fvec3) Load 396
396: 158(ptr) AccessChain 383(patch) 124 127 398: 158(ptr) AccessChain 385(patch) 124 127
Store 396 395 Store 398 397
401: 400(ptr) AccessChain 399(patch.UV) 124 403: 402(ptr) AccessChain 401(patch.UV) 124
402: 40(fvec2) Load 401 404: 40(fvec2) Load 403
403: 42(ptr) AccessChain 383(patch) 124 125 405: 42(ptr) AccessChain 385(patch) 124 125
Store 403 402 Store 405 404
404: 387(ptr) AccessChain 386(patch.Pos) 127 406: 389(ptr) AccessChain 388(patch.Pos) 127
405: 43(fvec4) Load 404 407: 43(fvec4) Load 406
406: 192(ptr) AccessChain 383(patch) 127 124 408: 192(ptr) AccessChain 385(patch) 127 124
Store 406 405 Store 408 407
407: 376(ptr) AccessChain 393(patch.Normal) 127 409: 378(ptr) AccessChain 395(patch.Normal) 127
408: 45(fvec3) Load 407 410: 45(fvec3) Load 409
409: 158(ptr) AccessChain 383(patch) 127 127 411: 158(ptr) AccessChain 385(patch) 127 127
Store 409 408 Store 411 410
410: 400(ptr) AccessChain 399(patch.UV) 127 412: 402(ptr) AccessChain 401(patch.UV) 127
411: 40(fvec2) Load 410 413: 40(fvec2) Load 412
412: 42(ptr) AccessChain 383(patch) 127 125 414: 42(ptr) AccessChain 385(patch) 127 125
Store 412 411 Store 414 413
413: 387(ptr) AccessChain 386(patch.Pos) 125 415: 389(ptr) AccessChain 388(patch.Pos) 125
414: 43(fvec4) Load 413 416: 43(fvec4) Load 415
415: 192(ptr) AccessChain 383(patch) 125 124 417: 192(ptr) AccessChain 385(patch) 125 124
Store 415 414 Store 417 416
416: 376(ptr) AccessChain 393(patch.Normal) 125 418: 378(ptr) AccessChain 395(patch.Normal) 125
417: 45(fvec3) Load 416 419: 45(fvec3) Load 418
418: 158(ptr) AccessChain 383(patch) 125 127 420: 158(ptr) AccessChain 385(patch) 125 127
Store 418 417 Store 420 419
419: 400(ptr) AccessChain 399(patch.UV) 125 421: 402(ptr) AccessChain 401(patch.UV) 125
420: 40(fvec2) Load 419 422: 40(fvec2) Load 421
421: 42(ptr) AccessChain 383(patch) 125 125 423: 42(ptr) AccessChain 385(patch) 125 125
Store 421 420 Store 423 422
422: 387(ptr) AccessChain 386(patch.Pos) 140 424: 389(ptr) AccessChain 388(patch.Pos) 140
423: 43(fvec4) Load 422 425: 43(fvec4) Load 424
424: 192(ptr) AccessChain 383(patch) 140 124 426: 192(ptr) AccessChain 385(patch) 140 124
Store 424 423 Store 426 425
425: 376(ptr) AccessChain 393(patch.Normal) 140 427: 378(ptr) AccessChain 395(patch.Normal) 140
426: 45(fvec3) Load 425 428: 45(fvec3) Load 427
427: 158(ptr) AccessChain 383(patch) 140 127 429: 158(ptr) AccessChain 385(patch) 140 127
Store 427 426 Store 429 428
428: 400(ptr) AccessChain 399(patch.UV) 140 430: 402(ptr) AccessChain 401(patch.UV) 140
429: 40(fvec2) Load 428 431: 40(fvec2) Load 430
430: 42(ptr) AccessChain 383(patch) 140 125 432: 42(ptr) AccessChain 385(patch) 140 125
Store 430 429 Store 432 431
432: 61 Load 383(patch) 434: 61 Load 385(patch)
434:24(ConstantsHSOutput) Load 351(input) 436:24(ConstantsHSOutput) Load 353(input)
Store 433(param) 434
436: 40(fvec2) Load 375(TessCoord)
Store 435(param) 436 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 438: 40(fvec2) Load 377(TessCoord)
Store 431(flattenTemp) 437 Store 437(param) 438
440: 192(ptr) AccessChain 431(flattenTemp) 124 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
441: 43(fvec4) Load 440 Store 433(flattenTemp) 439
Store 439(@entryPointOutput.Pos) 441 442: 192(ptr) AccessChain 433(flattenTemp) 124
444: 158(ptr) AccessChain 431(flattenTemp) 127 443: 43(fvec4) Load 442
445: 45(fvec3) Load 444 Store 441(@entryPointOutput.Pos) 443
Store 443(@entryPointOutput.Normal) 445 446: 158(ptr) AccessChain 433(flattenTemp) 127
448: 42(ptr) AccessChain 431(flattenTemp) 125 447: 45(fvec3) Load 446
449: 40(fvec2) Load 448 Store 445(@entryPointOutput.Normal) 447
Store 447(@entryPointOutput.UV) 449 450: 42(ptr) AccessChain 433(flattenTemp) 125
451: 158(ptr) AccessChain 431(flattenTemp) 140 451: 40(fvec2) Load 450
452: 45(fvec3) Load 451 Store 449(@entryPointOutput.UV) 451
Store 450(@entryPointOutput.ViewVec) 452 453: 158(ptr) AccessChain 433(flattenTemp) 140
454: 158(ptr) AccessChain 431(flattenTemp) 294 454: 45(fvec3) Load 453
455: 45(fvec3) Load 454 Store 452(@entryPointOutput.ViewVec) 454
Store 453(@entryPointOutput.LightVec) 455 456: 158(ptr) AccessChain 433(flattenTemp) 296
457: 158(ptr) AccessChain 431(flattenTemp) 339 457: 45(fvec3) Load 456
458: 45(fvec3) Load 457 Store 455(@entryPointOutput.LightVec) 457
Store 456(@entryPointOutput.EyePos) 458 459: 158(ptr) AccessChain 433(flattenTemp) 341
460: 158(ptr) AccessChain 431(flattenTemp) 333 460: 45(fvec3) Load 459
461: 45(fvec3) Load 460 Store 458(@entryPointOutput.EyePos) 460
Store 459(@entryPointOutput.WorldPos) 461 462: 158(ptr) AccessChain 433(flattenTemp) 335
463: 45(fvec3) Load 462
Store 461(@entryPointOutput.WorldPos) 463
Return Return
FunctionEnd FunctionEnd
Line 1 68 1 Line 1 68 1
@ -574,54 +576,54 @@ spv.debuginfo.hlsl.tese
255: 40(fvec2) Load 254 255: 40(fvec2) Load 254
256: 43(fvec4) ImageSampleExplicitLod 253 255 Lod 110 256: 43(fvec4) ImageSampleExplicitLod 253 255 Lod 110
257: 8(float) CompositeExtract 256 0 257: 8(float) CompositeExtract 256 0
296: 295(ptr) AccessChain 292 124 294 298: 297(ptr) AccessChain 294 124 296
297: 8(float) Load 296 299: 8(float) Load 298
298: 8(float) FMul 257 297 300: 8(float) FMul 257 299
299: 129(ptr) AccessChain 217(pos) 36 301: 129(ptr) AccessChain 217(pos) 36
300: 8(float) Load 299 302: 8(float) Load 301
301: 8(float) FSub 300 298 303: 8(float) FSub 302 300
302: 129(ptr) AccessChain 217(pos) 36 304: 129(ptr) AccessChain 217(pos) 36
Store 302 301 Store 304 303
303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 304 304 16 16 305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 306 306 16 16
305: 43(fvec4) Load 217(pos) 307: 43(fvec4) Load 217(pos)
307: 306(ptr) AccessChain 292 124 127 309: 308(ptr) AccessChain 294 124 127
308: 258 Load 307 310: 258 Load 309
309: 43(fvec4) VectorTimesMatrix 305 308 311: 43(fvec4) VectorTimesMatrix 307 310
310: 306(ptr) AccessChain 292 124 124 312: 308(ptr) AccessChain 294 124 124
311: 258 Load 310 313: 258 Load 312
312: 43(fvec4) VectorTimesMatrix 309 311 314: 43(fvec4) VectorTimesMatrix 311 313
313: 192(ptr) AccessChain 106(output) 124 315: 192(ptr) AccessChain 106(output) 124
Store 313 312 Store 315 314
314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 315 315 16 16 316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 317 317 16 16
316: 43(fvec4) Load 217(pos) 318: 43(fvec4) Load 217(pos)
317: 45(fvec3) VectorShuffle 316 316 0 1 2 319: 45(fvec3) VectorShuffle 318 318 0 1 2
318: 45(fvec3) FNegate 317 320: 45(fvec3) FNegate 319
319: 158(ptr) AccessChain 106(output) 140 321: 158(ptr) AccessChain 106(output) 140
Store 319 318 Store 321 320
320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 321 321 16 16 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 323 323 16 16
323: 322(ptr) AccessChain 292 124 125 325: 324(ptr) AccessChain 294 124 125
324: 43(fvec4) Load 323 326: 43(fvec4) Load 325
325: 45(fvec3) VectorShuffle 324 324 0 1 2 327: 45(fvec3) VectorShuffle 326 326 0 1 2
326: 158(ptr) AccessChain 106(output) 140 328: 158(ptr) AccessChain 106(output) 140
327: 45(fvec3) Load 326 329: 45(fvec3) Load 328
328: 45(fvec3) FAdd 325 327 330: 45(fvec3) FAdd 327 329
329: 45(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 328 331: 45(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 330
330: 158(ptr) AccessChain 106(output) 294 332: 158(ptr) AccessChain 106(output) 296
Store 330 329 Store 332 331
331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 332 332 16 16 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 334 334 16 16
334: 43(fvec4) Load 217(pos) 336: 43(fvec4) Load 217(pos)
335: 45(fvec3) VectorShuffle 334 334 0 1 2 337: 45(fvec3) VectorShuffle 336 336 0 1 2
336: 158(ptr) AccessChain 106(output) 333 338: 158(ptr) AccessChain 106(output) 335
Store 336 335 Store 338 337
337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 338 338 16 16 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 340 340 16 16
340: 43(fvec4) Load 217(pos) 342: 43(fvec4) Load 217(pos)
341: 306(ptr) AccessChain 292 124 127 343: 308(ptr) AccessChain 294 124 127
342: 258 Load 341 344: 258 Load 343
343: 43(fvec4) VectorTimesMatrix 340 342 345: 43(fvec4) VectorTimesMatrix 342 344
344: 45(fvec3) VectorShuffle 343 343 0 1 2 346: 45(fvec3) VectorShuffle 345 345 0 1 2
345: 158(ptr) AccessChain 106(output) 339 347: 158(ptr) AccessChain 106(output) 341
Store 345 344 Store 347 346
346: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 347 347 16 16 348: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 27 349 349 16 16
348:63(DSOutput) Load 106(output) 350:63(DSOutput) Load 106(output)
ReturnValue 348 ReturnValue 350
FunctionEnd FunctionEnd

View file

@ -1,14 +1,14 @@
spv.debuginfo.hlsl.vert spv.debuginfo.hlsl.vert
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 8000b // Generated by (magic number): 8000b
// Id's are bound by 496 // Id's are bound by 498
Capability Shader Capability Shader
Extension "SPV_KHR_non_semantic_info" Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450" 3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Vertex 6 "main" 445 448 452 455 458 461 465 469 477 481 484 487 490 493 EntryPoint Vertex 6 "main" 447 450 454 457 460 463 467 471 479 483 486 489 492 495
1: String "" 1: String ""
9: String "float" 9: String "float"
12: String "uint" 12: String "uint"
@ -34,20 +34,21 @@ spv.debuginfo.hlsl.vert
83: String "input" 83: String "input"
93: String "output" 93: String "output"
126: String "s" 126: String "s"
137: String "modelview" 134: String "bool"
142: String "lightPos" 139: String "modelview"
146: String "globSpeed" 144: String "lightPos"
150: String "UBO" 148: String "globSpeed"
153: String "ubo" 152: String "UBO"
170: String "c" 155: String "ubo"
185: String "mx" 172: String "c"
220: String "my" 187: String "mx"
254: String "mz" 222: String "my"
274: String "rotMat" 256: String "mz"
303: String "gRotMat" 276: String "rotMat"
330: String "locPos" 305: String "gRotMat"
344: String "pos" 332: String "locPos"
409: String "lPos" 346: String "pos"
411: String "lPos"
Name 6 "main" Name 6 "main"
Name 27 "VSInput" Name 27 "VSInput"
MemberName 27(VSInput) 0 "Pos" MemberName 27(VSInput) 0 "Pos"
@ -69,68 +70,68 @@ spv.debuginfo.hlsl.vert
Name 74 "input" Name 74 "input"
Name 91 "output" Name 91 "output"
Name 124 "s" Name 124 "s"
Name 135 "UBO" Name 137 "UBO"
MemberName 135(UBO) 0 "projection" MemberName 137(UBO) 0 "projection"
MemberName 135(UBO) 1 "modelview" MemberName 137(UBO) 1 "modelview"
MemberName 135(UBO) 2 "lightPos" MemberName 137(UBO) 2 "lightPos"
MemberName 135(UBO) 3 "locSpeed" MemberName 137(UBO) 3 "locSpeed"
MemberName 135(UBO) 4 "globSpeed" MemberName 137(UBO) 4 "globSpeed"
Name 151 "ubo" Name 153 "ubo"
MemberName 151(ubo) 0 "ubo" MemberName 153(ubo) 0 "ubo"
Name 157 "" Name 159 ""
Name 168 "c" Name 170 "c"
Name 183 "mx" Name 185 "mx"
Name 218 "my" Name 220 "my"
Name 252 "mz" Name 254 "mz"
Name 272 "rotMat" Name 274 "rotMat"
Name 301 "gRotMat" Name 303 "gRotMat"
Name 328 "locPos" Name 330 "locPos"
Name 342 "pos" Name 344 "pos"
Name 407 "lPos" Name 409 "lPos"
Name 443 "input" Name 445 "input"
Name 445 "input.Pos" Name 447 "input.Pos"
Name 448 "input.Normal" Name 450 "input.Normal"
Name 452 "input.UV" Name 454 "input.UV"
Name 455 "input.Color" Name 457 "input.Color"
Name 458 "input.instancePos" Name 460 "input.instancePos"
Name 461 "input.instanceRot" Name 463 "input.instanceRot"
Name 465 "input.instanceScale" Name 467 "input.instanceScale"
Name 469 "input.instanceTexIndex" Name 471 "input.instanceTexIndex"
Name 472 "flattenTemp" Name 474 "flattenTemp"
Name 473 "param" Name 475 "param"
Name 477 "@entryPointOutput.Pos" Name 479 "@entryPointOutput.Pos"
Name 481 "@entryPointOutput.Normal" Name 483 "@entryPointOutput.Normal"
Name 484 "@entryPointOutput.Color" Name 486 "@entryPointOutput.Color"
Name 487 "@entryPointOutput.UV" Name 489 "@entryPointOutput.UV"
Name 490 "@entryPointOutput.ViewVec" Name 492 "@entryPointOutput.ViewVec"
Name 493 "@entryPointOutput.LightVec" Name 495 "@entryPointOutput.LightVec"
MemberDecorate 135(UBO) 0 RowMajor MemberDecorate 137(UBO) 0 RowMajor
MemberDecorate 135(UBO) 0 Offset 0 MemberDecorate 137(UBO) 0 Offset 0
MemberDecorate 135(UBO) 0 MatrixStride 16 MemberDecorate 137(UBO) 0 MatrixStride 16
MemberDecorate 135(UBO) 1 RowMajor MemberDecorate 137(UBO) 1 RowMajor
MemberDecorate 135(UBO) 1 Offset 64 MemberDecorate 137(UBO) 1 Offset 64
MemberDecorate 135(UBO) 1 MatrixStride 16 MemberDecorate 137(UBO) 1 MatrixStride 16
MemberDecorate 135(UBO) 2 Offset 128 MemberDecorate 137(UBO) 2 Offset 128
MemberDecorate 135(UBO) 3 Offset 144 MemberDecorate 137(UBO) 3 Offset 144
MemberDecorate 135(UBO) 4 Offset 148 MemberDecorate 137(UBO) 4 Offset 148
MemberDecorate 151(ubo) 0 Offset 0 MemberDecorate 153(ubo) 0 Offset 0
Decorate 151(ubo) Block Decorate 153(ubo) Block
Decorate 157 DescriptorSet 0 Decorate 159 DescriptorSet 0
Decorate 157 Binding 0 Decorate 159 Binding 0
Decorate 445(input.Pos) Location 0 Decorate 447(input.Pos) Location 0
Decorate 448(input.Normal) Location 1 Decorate 450(input.Normal) Location 1
Decorate 452(input.UV) Location 2 Decorate 454(input.UV) Location 2
Decorate 455(input.Color) Location 3 Decorate 457(input.Color) Location 3
Decorate 458(input.instancePos) Location 4 Decorate 460(input.instancePos) Location 4
Decorate 461(input.instanceRot) Location 5 Decorate 463(input.instanceRot) Location 5
Decorate 465(input.instanceScale) Location 6 Decorate 467(input.instanceScale) Location 6
Decorate 469(input.instanceTexIndex) Location 7 Decorate 471(input.instanceTexIndex) Location 7
Decorate 477(@entryPointOutput.Pos) BuiltIn Position Decorate 479(@entryPointOutput.Pos) BuiltIn Position
Decorate 481(@entryPointOutput.Normal) Location 0 Decorate 483(@entryPointOutput.Normal) Location 0
Decorate 484(@entryPointOutput.Color) Location 1 Decorate 486(@entryPointOutput.Color) Location 1
Decorate 487(@entryPointOutput.UV) Location 2 Decorate 489(@entryPointOutput.UV) Location 2
Decorate 490(@entryPointOutput.ViewVec) Location 3 Decorate 492(@entryPointOutput.ViewVec) Location 3
Decorate 493(@entryPointOutput.LightVec) Location 4 Decorate 495(@entryPointOutput.LightVec) Location 4
4: TypeVoid 4: TypeVoid
5: TypeFunction 4 5: TypeFunction 4
8: TypeFloat 32 8: TypeFloat 32
@ -212,153 +213,154 @@ spv.debuginfo.hlsl.vert
128: 23(int) Constant 5 128: 23(int) Constant 5
131: TypeMatrix 56(fvec4) 4 131: TypeMatrix 56(fvec4) 4
133: TypeBool 133: TypeBool
134: 133(bool) ConstantTrue 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 134 14 21 16
132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 57 26 134 136: 133(bool) ConstantTrue
135(UBO): TypeStruct 131 131 56(fvec4) 8(float) 8(float) 132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 57 26 136
138: 11(int) Constant 43 137(UBO): TypeStruct 131 131 56(fvec4) 8(float) 8(float)
139: 11(int) Constant 20 140: 11(int) Constant 43
136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 137 132 30 138 139 16 16 17 141: 11(int) Constant 20
140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 137 132 30 138 139 16 16 17 138: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 139 132 30 140 141 16 16 17
143: 11(int) Constant 44 142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 139 132 30 140 141 16 16 17
144: 11(int) Constant 17 145: 11(int) Constant 44
141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 142 57 30 143 144 16 16 17 146: 11(int) Constant 17
147: 11(int) Constant 46 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 144 57 30 145 146 16 16 17
145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 10 30 147 144 16 16 17 149: 11(int) Constant 46
148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 10 30 147 144 16 16 17 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 148 10 30 149 146 16 16 17
149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 150 52 30 122 16 53 150 16 17 136 140 141 145 148 150: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 148 10 30 149 146 16 16 17
151(ubo): TypeStruct 135(UBO) 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 152 52 30 122 16 53 152 16 17 138 142 143 147 150
154: 11(int) Constant 49 153(ubo): TypeStruct 137(UBO)
152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 153 149 30 154 48 16 16 17 156: 11(int) Constant 49
155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 153 52 30 122 16 53 153 16 17 152 154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 151 30 156 48 16 16 17
156: TypePointer Uniform 151(ubo) 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 155 52 30 122 16 53 155 16 17 154
157: 156(ptr) Variable Uniform 158: TypePointer Uniform 153(ubo)
159: 11(int) Constant 8 159: 158(ptr) Variable Uniform
158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 155 30 122 16 53 1 157 159 161: 11(int) Constant 8
160: 23(int) Constant 0 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 157 30 122 16 53 1 159 161
161: TypePointer Uniform 8(float) 162: 23(int) Constant 0
167: 11(int) Constant 69 163: TypePointer Uniform 8(float)
169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 170 10 30 167 16 78 26 169: 11(int) Constant 69
179: 11(int) Constant 71 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 172 10 30 169 16 78 26
180: TypeMatrix 18(fvec3) 3 181: 11(int) Constant 71
181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 19 17 134 182: TypeMatrix 18(fvec3) 3
182: TypePointer Function 180 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 19 17 136
184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 185 181 30 179 16 78 26 184: TypePointer Function 182
191: 11(int) Constant 72 186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 187 183 30 181 16 78 26
194: 8(float) Constant 1065353216 193: 11(int) Constant 72
201: 11(int) Constant 76 196: 8(float) Constant 1065353216
209: 11(int) Constant 77 203: 11(int) Constant 76
217: 11(int) Constant 79 211: 11(int) Constant 77
219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 220 181 30 217 16 78 26 219: 11(int) Constant 79
226: 11(int) Constant 81 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 222 183 30 219 16 78 26
235: 11(int) Constant 84 228: 11(int) Constant 81
243: 11(int) Constant 85 237: 11(int) Constant 84
251: 11(int) Constant 87 245: 11(int) Constant 85
253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 254 181 30 251 16 78 26 253: 11(int) Constant 87
257: 11(int) Constant 88 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 256 183 30 253 16 78 26
262: 11(int) Constant 89 259: 11(int) Constant 88
271: 11(int) Constant 91 264: 11(int) Constant 89
273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 274 181 30 271 16 78 26 273: 11(int) Constant 91
282: 11(int) Constant 94 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 276 183 30 273 16 78 26
285: 23(int) Constant 4 284: 11(int) Constant 94
291: 11(int) Constant 95 287: 23(int) Constant 4
299: 11(int) Constant 96 293: 11(int) Constant 95
300: TypePointer Function 131 301: 11(int) Constant 96
302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 303 132 30 299 16 78 26 302: TypePointer Function 131
309: TypePointer Function 56(fvec4) 304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 305 132 30 301 16 78 26
312: 11(int) Constant 97 311: TypePointer Function 56(fvec4)
313: 23(int) Constant 1 314: 11(int) Constant 97
314: 56(fvec4) ConstantComposite 95 194 95 95 315: 23(int) Constant 1
317: 11(int) Constant 98 316: 56(fvec4) ConstantComposite 95 196 95 95
323: 11(int) Constant 99 319: 11(int) Constant 98
324: 56(fvec4) ConstantComposite 95 95 95 194 325: 11(int) Constant 99
327: 11(int) Constant 101 326: 56(fvec4) ConstantComposite 95 95 95 196
329: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 330 57 30 327 16 78 26 329: 11(int) Constant 101
341: 11(int) Constant 102 331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 332 57 30 329 16 78 26
343: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 344 57 30 341 16 78 26 343: 11(int) Constant 102
348: 23(int) Constant 6 345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 346 57 30 343 16 78 26
360: 11(int) Constant 104 350: 23(int) Constant 6
364: TypePointer Uniform 131 362: 11(int) Constant 104
373: 11(int) Constant 105 366: TypePointer Uniform 131
392: 11(int) Constant 107 375: 11(int) Constant 105
406: 11(int) Constant 108 394: 11(int) Constant 107
408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 409 19 30 406 16 78 26 408: 11(int) Constant 108
411: TypePointer Uniform 56(fvec4) 410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 411 19 30 408 16 78 26
426: 11(int) Constant 109 413: TypePointer Uniform 56(fvec4)
433: 11(int) Constant 110 428: 11(int) Constant 109
439: 11(int) Constant 111 435: 11(int) Constant 110
444: TypePointer Input 18(fvec3) 441: 11(int) Constant 111
445(input.Pos): 444(ptr) Variable Input 446: TypePointer Input 18(fvec3)
448(input.Normal): 444(ptr) Variable Input 447(input.Pos): 446(ptr) Variable Input
451: TypePointer Input 20(fvec2) 450(input.Normal): 446(ptr) Variable Input
452(input.UV): 451(ptr) Variable Input 453: TypePointer Input 20(fvec2)
455(input.Color): 444(ptr) Variable Input 454(input.UV): 453(ptr) Variable Input
458(input.instancePos): 444(ptr) Variable Input 457(input.Color): 446(ptr) Variable Input
461(input.instanceRot): 444(ptr) Variable Input 460(input.instancePos): 446(ptr) Variable Input
464: TypePointer Input 8(float) 463(input.instanceRot): 446(ptr) Variable Input
465(input.instanceScale): 464(ptr) Variable Input 466: TypePointer Input 8(float)
468: TypePointer Input 23(int) 467(input.instanceScale): 466(ptr) Variable Input
469(input.instanceTexIndex): 468(ptr) Variable Input 470: TypePointer Input 23(int)
476: TypePointer Output 56(fvec4) 471(input.instanceTexIndex): 470(ptr) Variable Input
477(@entryPointOutput.Pos): 476(ptr) Variable Output 478: TypePointer Output 56(fvec4)
480: TypePointer Output 18(fvec3) 479(@entryPointOutput.Pos): 478(ptr) Variable Output
481(@entryPointOutput.Normal): 480(ptr) Variable Output 482: TypePointer Output 18(fvec3)
484(@entryPointOutput.Color): 480(ptr) Variable Output 483(@entryPointOutput.Normal): 482(ptr) Variable Output
487(@entryPointOutput.UV): 480(ptr) Variable Output 486(@entryPointOutput.Color): 482(ptr) Variable Output
490(@entryPointOutput.ViewVec): 480(ptr) Variable Output 489(@entryPointOutput.UV): 482(ptr) Variable Output
493(@entryPointOutput.LightVec): 480(ptr) Variable Output 492(@entryPointOutput.ViewVec): 482(ptr) Variable Output
495(@entryPointOutput.LightVec): 482(ptr) Variable Output
Line 1 62 1 Line 1 62 1
6(main): 4 Function None 5 6(main): 4 Function None 5
7: Label 7: Label
443(input): 55(ptr) Variable Function 445(input): 55(ptr) Variable Function
472(flattenTemp): 90(ptr) Variable Function 474(flattenTemp): 90(ptr) Variable Function
473(param): 55(ptr) Variable Function 475(param): 55(ptr) Variable Function
Line 1 62 0 Line 1 62 0
446: 18(fvec3) Load 445(input.Pos) 448: 18(fvec3) Load 447(input.Pos)
447: 103(ptr) AccessChain 443(input) 160 449: 103(ptr) AccessChain 445(input) 162
Store 447 446 Store 449 448
449: 18(fvec3) Load 448(input.Normal) 451: 18(fvec3) Load 450(input.Normal)
450: 103(ptr) AccessChain 443(input) 313 452: 103(ptr) AccessChain 445(input) 315
Store 450 449 Store 452 451
453: 20(fvec2) Load 452(input.UV) 455: 20(fvec2) Load 454(input.UV)
454: 109(ptr) AccessChain 443(input) 101 456: 109(ptr) AccessChain 445(input) 101
Store 454 453 Store 456 455
456: 18(fvec3) Load 455(input.Color) 458: 18(fvec3) Load 457(input.Color)
457: 103(ptr) AccessChain 443(input) 102 459: 103(ptr) AccessChain 445(input) 102
Store 457 456 Store 459 458
459: 18(fvec3) Load 458(input.instancePos) 461: 18(fvec3) Load 460(input.instancePos)
460: 103(ptr) AccessChain 443(input) 285 462: 103(ptr) AccessChain 445(input) 287
Store 460 459 Store 462 461
462: 18(fvec3) Load 461(input.instanceRot) 464: 18(fvec3) Load 463(input.instanceRot)
463: 103(ptr) AccessChain 443(input) 128 465: 103(ptr) AccessChain 445(input) 128
Store 463 462 Store 465 464
466: 8(float) Load 465(input.instanceScale) 468: 8(float) Load 467(input.instanceScale)
467: 123(ptr) AccessChain 443(input) 348 469: 123(ptr) AccessChain 445(input) 350
Store 467 466 Store 469 468
470: 23(int) Load 469(input.instanceTexIndex) 472: 23(int) Load 471(input.instanceTexIndex)
471: 113(ptr) AccessChain 443(input) 112 473: 113(ptr) AccessChain 445(input) 112
Store 471 470 Store 473 472
474: 27(VSInput) Load 443(input) 476: 27(VSInput) Load 445(input)
Store 473(param) 474 Store 475(param) 476
475:58(VSOutput) FunctionCall 75(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) 473(param) 477:58(VSOutput) FunctionCall 75(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) 475(param)
Store 472(flattenTemp) 475 Store 474(flattenTemp) 477
478: 309(ptr) AccessChain 472(flattenTemp) 160 480: 311(ptr) AccessChain 474(flattenTemp) 162
479: 56(fvec4) Load 478 481: 56(fvec4) Load 480
Store 477(@entryPointOutput.Pos) 479 Store 479(@entryPointOutput.Pos) 481
482: 103(ptr) AccessChain 472(flattenTemp) 313 484: 103(ptr) AccessChain 474(flattenTemp) 315
483: 18(fvec3) Load 482 485: 18(fvec3) Load 484
Store 481(@entryPointOutput.Normal) 483 Store 483(@entryPointOutput.Normal) 485
485: 103(ptr) AccessChain 472(flattenTemp) 101 487: 103(ptr) AccessChain 474(flattenTemp) 101
486: 18(fvec3) Load 485 488: 18(fvec3) Load 487
Store 484(@entryPointOutput.Color) 486 Store 486(@entryPointOutput.Color) 488
488: 103(ptr) AccessChain 472(flattenTemp) 102 490: 103(ptr) AccessChain 474(flattenTemp) 102
489: 18(fvec3) Load 488 491: 18(fvec3) Load 490
Store 487(@entryPointOutput.UV) 489 Store 489(@entryPointOutput.UV) 491
491: 103(ptr) AccessChain 472(flattenTemp) 285 493: 103(ptr) AccessChain 474(flattenTemp) 287
492: 18(fvec3) Load 491 494: 18(fvec3) Load 493
Store 490(@entryPointOutput.ViewVec) 492 Store 492(@entryPointOutput.ViewVec) 494
494: 103(ptr) AccessChain 472(flattenTemp) 128 496: 103(ptr) AccessChain 474(flattenTemp) 128
495: 18(fvec3) Load 494 497: 18(fvec3) Load 496
Store 493(@entryPointOutput.LightVec) 495 Store 495(@entryPointOutput.LightVec) 497
Return Return
FunctionEnd FunctionEnd
Line 1 62 1 Line 1 62 1
@ -367,15 +369,15 @@ spv.debuginfo.hlsl.vert
76: Label 76: Label
91(output): 90(ptr) Variable Function 91(output): 90(ptr) Variable Function
124(s): 123(ptr) Variable Function 124(s): 123(ptr) Variable Function
168(c): 123(ptr) Variable Function 170(c): 123(ptr) Variable Function
183(mx): 182(ptr) Variable Function 185(mx): 184(ptr) Variable Function
218(my): 182(ptr) Variable Function 220(my): 184(ptr) Variable Function
252(mz): 182(ptr) Variable Function 254(mz): 184(ptr) Variable Function
272(rotMat): 182(ptr) Variable Function 274(rotMat): 184(ptr) Variable Function
301(gRotMat): 300(ptr) Variable Function 303(gRotMat): 302(ptr) Variable Function
328(locPos): 309(ptr) Variable Function 330(locPos): 311(ptr) Variable Function
342(pos): 309(ptr) Variable Function 344(pos): 311(ptr) Variable Function
407(lPos): 103(ptr) Variable Function 409(lPos): 103(ptr) Variable Function
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 78 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 78
81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 79 79 16 16 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 79 79 16 16
84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 74(input) 85 84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 74(input) 85
@ -404,240 +406,240 @@ spv.debuginfo.hlsl.vert
127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 125 124(s) 85 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 125 124(s) 85
129: 123(ptr) AccessChain 74(input) 128 16 129: 123(ptr) AccessChain 74(input) 128 16
130: 8(float) Load 129 130: 8(float) Load 129
162: 161(ptr) AccessChain 157 160 102 164: 163(ptr) AccessChain 159 162 102
163: 8(float) Load 162 165: 8(float) Load 164
164: 8(float) FAdd 130 163 166: 8(float) FAdd 130 165
165: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 164 167: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 166
Store 124(s) 165 Store 124(s) 167
166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 167 167 16 16 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 169 169 16 16
171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 169 168(c) 85 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 171 170(c) 85
172: 123(ptr) AccessChain 74(input) 128 16 174: 123(ptr) AccessChain 74(input) 128 16
173: 8(float) Load 172
174: 161(ptr) AccessChain 157 160 102
175: 8(float) Load 174 175: 8(float) Load 174
176: 8(float) FAdd 173 175 176: 163(ptr) AccessChain 159 162 102
177: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 176 177: 8(float) Load 176
Store 168(c) 177 178: 8(float) FAdd 175 177
178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 179 179 16 16 179: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 178
186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 184 183(mx) 85 Store 170(c) 179
187: 8(float) Load 168(c) 180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 181 181 16 16
188: 8(float) Load 124(s) 188: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 186 185(mx) 85
189: 8(float) FNegate 188 189: 8(float) Load 170(c)
190: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 191 191 16 16 190: 8(float) Load 124(s)
192: 8(float) Load 124(s) 191: 8(float) FNegate 190
193: 8(float) Load 168(c) 192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 193 193 16 16
195: 18(fvec3) CompositeConstruct 187 189 95 194: 8(float) Load 124(s)
196: 18(fvec3) CompositeConstruct 192 193 95 195: 8(float) Load 170(c)
197: 18(fvec3) CompositeConstruct 95 95 194 197: 18(fvec3) CompositeConstruct 189 191 95
198: 180 CompositeConstruct 195 196 197 198: 18(fvec3) CompositeConstruct 194 195 95
199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 179 179 16 16 199: 18(fvec3) CompositeConstruct 95 95 196
Store 183(mx) 198 200: 182 CompositeConstruct 197 198 199
200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 201 201 16 16 201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 181 181 16 16
202: 123(ptr) AccessChain 74(input) 128 52 Store 185(mx) 200
203: 8(float) Load 202 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 203 203 16 16
204: 161(ptr) AccessChain 157 160 102 204: 123(ptr) AccessChain 74(input) 128 52
205: 8(float) Load 204 205: 8(float) Load 204
206: 8(float) FAdd 203 205 206: 163(ptr) AccessChain 159 162 102
207: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 206 207: 8(float) Load 206
Store 124(s) 207 208: 8(float) FAdd 205 207
208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 209 209 16 16 209: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 208
210: 123(ptr) AccessChain 74(input) 128 52 Store 124(s) 209
211: 8(float) Load 210 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 211 211 16 16
212: 161(ptr) AccessChain 157 160 102 212: 123(ptr) AccessChain 74(input) 128 52
213: 8(float) Load 212 213: 8(float) Load 212
214: 8(float) FAdd 211 213 214: 163(ptr) AccessChain 159 162 102
215: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 214 215: 8(float) Load 214
Store 168(c) 215 216: 8(float) FAdd 213 215
216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 217 217 16 16 217: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 216
221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 219 218(my) 85 Store 170(c) 217
222: 8(float) Load 168(c) 218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 219 219 16 16
223: 8(float) Load 124(s) 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 221 220(my) 85
224: 8(float) FNegate 223 224: 8(float) Load 170(c)
225: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 226 226 16 16 225: 8(float) Load 124(s)
227: 8(float) Load 124(s) 226: 8(float) FNegate 225
228: 8(float) Load 168(c) 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 228 228 16 16
229: 18(fvec3) CompositeConstruct 222 95 224 229: 8(float) Load 124(s)
230: 18(fvec3) CompositeConstruct 95 194 95 230: 8(float) Load 170(c)
231: 18(fvec3) CompositeConstruct 227 95 228 231: 18(fvec3) CompositeConstruct 224 95 226
232: 180 CompositeConstruct 229 230 231 232: 18(fvec3) CompositeConstruct 95 196 95
233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 217 217 16 16 233: 18(fvec3) CompositeConstruct 229 95 230
Store 218(my) 232 234: 182 CompositeConstruct 231 232 233
234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 235 235 16 16 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 219 219 16 16
236: 123(ptr) AccessChain 74(input) 128 21 Store 220(my) 234
237: 8(float) Load 236 236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 237 237 16 16
238: 161(ptr) AccessChain 157 160 102 238: 123(ptr) AccessChain 74(input) 128 21
239: 8(float) Load 238 239: 8(float) Load 238
240: 8(float) FAdd 237 239 240: 163(ptr) AccessChain 159 162 102
241: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 240 241: 8(float) Load 240
Store 124(s) 241 242: 8(float) FAdd 239 241
242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 243 243 16 16 243: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 242
244: 123(ptr) AccessChain 74(input) 128 21 Store 124(s) 243
245: 8(float) Load 244 244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 245 245 16 16
246: 161(ptr) AccessChain 157 160 102 246: 123(ptr) AccessChain 74(input) 128 21
247: 8(float) Load 246 247: 8(float) Load 246
248: 8(float) FAdd 245 247 248: 163(ptr) AccessChain 159 162 102
249: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 248 249: 8(float) Load 248
Store 168(c) 249 250: 8(float) FAdd 247 249
250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 251 251 16 16 251: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 250
255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 253 252(mz) 85 Store 170(c) 251
256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 257 257 16 16 252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 253 253 16 16
258: 8(float) Load 168(c) 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 255 254(mz) 85
259: 8(float) Load 124(s) 258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 259 259 16 16
260: 8(float) FNegate 259 260: 8(float) Load 170(c)
261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 262 262 16 16 261: 8(float) Load 124(s)
263: 8(float) Load 124(s) 262: 8(float) FNegate 261
264: 8(float) Load 168(c) 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 264 264 16 16
265: 18(fvec3) CompositeConstruct 194 95 95 265: 8(float) Load 124(s)
266: 18(fvec3) CompositeConstruct 95 258 260 266: 8(float) Load 170(c)
267: 18(fvec3) CompositeConstruct 95 263 264 267: 18(fvec3) CompositeConstruct 196 95 95
268: 180 CompositeConstruct 265 266 267 268: 18(fvec3) CompositeConstruct 95 260 262
269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 251 251 16 16 269: 18(fvec3) CompositeConstruct 95 265 266
Store 252(mz) 268 270: 182 CompositeConstruct 267 268 269
270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 271 271 16 16 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 253 253 16 16
275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 273 272(rotMat) 85 Store 254(mz) 270
276: 180 Load 183(mx) 272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 273 273 16 16
277: 180 Load 218(my) 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 275 274(rotMat) 85
278: 180 MatrixTimesMatrix 276 277 278: 182 Load 185(mx)
279: 180 Load 252(mz) 279: 182 Load 220(my)
280: 180 MatrixTimesMatrix 278 279 280: 182 MatrixTimesMatrix 278 279
Store 272(rotMat) 280 281: 182 Load 254(mz)
281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 282 282 16 16 282: 182 MatrixTimesMatrix 280 281
283: 123(ptr) AccessChain 74(input) 128 52 Store 274(rotMat) 282
284: 8(float) Load 283 283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 284 284 16 16
286: 161(ptr) AccessChain 157 160 285 285: 123(ptr) AccessChain 74(input) 128 52
287: 8(float) Load 286 286: 8(float) Load 285
288: 8(float) FAdd 284 287 288: 163(ptr) AccessChain 159 162 287
289: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 288 289: 8(float) Load 288
Store 124(s) 289 290: 8(float) FAdd 286 289
290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 291 291 16 16 291: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 290
292: 123(ptr) AccessChain 74(input) 128 52 Store 124(s) 291
293: 8(float) Load 292 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 293 293 16 16
294: 161(ptr) AccessChain 157 160 285 294: 123(ptr) AccessChain 74(input) 128 52
295: 8(float) Load 294 295: 8(float) Load 294
296: 8(float) FAdd 293 295 296: 163(ptr) AccessChain 159 162 287
297: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 296 297: 8(float) Load 296
Store 168(c) 297 298: 8(float) FAdd 295 297
298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 299 299 16 16 299: 8(float) ExtInst 3(GLSL.std.450) 14(Cos) 298
304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 302 301(gRotMat) 85 Store 170(c) 299
305: 8(float) Load 168(c) 300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 301 301 16 16
306: 8(float) Load 124(s) 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 304 303(gRotMat) 85
307: 8(float) FNegate 306 307: 8(float) Load 170(c)
308: 56(fvec4) CompositeConstruct 305 95 307 95 308: 8(float) Load 124(s)
310: 309(ptr) AccessChain 301(gRotMat) 160 309: 8(float) FNegate 308
Store 310 308 310: 56(fvec4) CompositeConstruct 307 95 309 95
311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 312 312 16 16 312: 311(ptr) AccessChain 303(gRotMat) 162
315: 309(ptr) AccessChain 301(gRotMat) 313 Store 312 310
Store 315 314 313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 314 314 16 16
316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 317 317 16 16 317: 311(ptr) AccessChain 303(gRotMat) 315
318: 8(float) Load 124(s) Store 317 316
319: 8(float) Load 168(c) 318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 319 319 16 16
320: 56(fvec4) CompositeConstruct 318 95 319 95 320: 8(float) Load 124(s)
321: 309(ptr) AccessChain 301(gRotMat) 101 321: 8(float) Load 170(c)
Store 321 320 322: 56(fvec4) CompositeConstruct 320 95 321 95
322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 323 323 16 16 323: 311(ptr) AccessChain 303(gRotMat) 101
325: 309(ptr) AccessChain 301(gRotMat) 102 Store 323 322
Store 325 324 324: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 325 325 16 16
326: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 327 327 16 16 327: 311(ptr) AccessChain 303(gRotMat) 102
331: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 329 328(locPos) 85 Store 327 326
332: 103(ptr) AccessChain 74(input) 160 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 329 329 16 16
333: 18(fvec3) Load 332 333: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 331 330(locPos) 85
334: 180 Load 272(rotMat) 334: 103(ptr) AccessChain 74(input) 162
335: 18(fvec3) VectorTimesMatrix 333 334 335: 18(fvec3) Load 334
336: 8(float) CompositeExtract 335 0 336: 182 Load 274(rotMat)
337: 8(float) CompositeExtract 335 1 337: 18(fvec3) VectorTimesMatrix 335 336
338: 8(float) CompositeExtract 335 2 338: 8(float) CompositeExtract 337 0
339: 56(fvec4) CompositeConstruct 336 337 338 194 339: 8(float) CompositeExtract 337 1
Store 328(locPos) 339 340: 8(float) CompositeExtract 337 2
340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 341 341 16 16 341: 56(fvec4) CompositeConstruct 338 339 340 196
345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 343 342(pos) 85 Store 330(locPos) 341
346: 56(fvec4) Load 328(locPos) 342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 343 343 16 16
347: 18(fvec3) VectorShuffle 346 346 0 1 2 347: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 345 344(pos) 85
349: 123(ptr) AccessChain 74(input) 348 348: 56(fvec4) Load 330(locPos)
350: 8(float) Load 349 349: 18(fvec3) VectorShuffle 348 348 0 1 2
351: 18(fvec3) VectorTimesScalar 347 350 351: 123(ptr) AccessChain 74(input) 350
352: 103(ptr) AccessChain 74(input) 285 352: 8(float) Load 351
353: 18(fvec3) Load 352 353: 18(fvec3) VectorTimesScalar 349 352
354: 18(fvec3) FAdd 351 353 354: 103(ptr) AccessChain 74(input) 287
355: 8(float) CompositeExtract 354 0 355: 18(fvec3) Load 354
356: 8(float) CompositeExtract 354 1 356: 18(fvec3) FAdd 353 355
357: 8(float) CompositeExtract 354 2 357: 8(float) CompositeExtract 356 0
358: 56(fvec4) CompositeConstruct 355 356 357 194 358: 8(float) CompositeExtract 356 1
Store 342(pos) 358 359: 8(float) CompositeExtract 356 2
359: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 360 360 16 16 360: 56(fvec4) CompositeConstruct 357 358 359 196
361: 56(fvec4) Load 342(pos) Store 344(pos) 360
362: 131 Load 301(gRotMat) 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 362 362 16 16
363: 56(fvec4) VectorTimesMatrix 361 362 363: 56(fvec4) Load 344(pos)
365: 364(ptr) AccessChain 157 160 313 364: 131 Load 303(gRotMat)
366: 131 Load 365 365: 56(fvec4) VectorTimesMatrix 363 364
367: 56(fvec4) VectorTimesMatrix 363 366 367: 366(ptr) AccessChain 159 162 315
368: 364(ptr) AccessChain 157 160 160 368: 131 Load 367
369: 131 Load 368 369: 56(fvec4) VectorTimesMatrix 365 368
370: 56(fvec4) VectorTimesMatrix 367 369 370: 366(ptr) AccessChain 159 162 162
371: 309(ptr) AccessChain 91(output) 160 371: 131 Load 370
Store 371 370 372: 56(fvec4) VectorTimesMatrix 369 371
372: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 373 373 16 16 373: 311(ptr) AccessChain 91(output) 162
374: 103(ptr) AccessChain 74(input) 313 Store 373 372
375: 18(fvec3) Load 374 374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 375 375 16 16
376: 180 Load 272(rotMat) 376: 103(ptr) AccessChain 74(input) 315
377: 18(fvec3) VectorTimesMatrix 375 376 377: 18(fvec3) Load 376
378: 131 Load 301(gRotMat) 378: 182 Load 274(rotMat)
379: 364(ptr) AccessChain 157 160 313 379: 18(fvec3) VectorTimesMatrix 377 378
380: 131 Load 379 380: 131 Load 303(gRotMat)
381: 131 MatrixTimesMatrix 378 380 381: 366(ptr) AccessChain 159 162 315
382: 56(fvec4) CompositeExtract 381 0 382: 131 Load 381
383: 18(fvec3) VectorShuffle 382 382 0 1 2 383: 131 MatrixTimesMatrix 380 382
384: 56(fvec4) CompositeExtract 381 1 384: 56(fvec4) CompositeExtract 383 0
385: 18(fvec3) VectorShuffle 384 384 0 1 2 385: 18(fvec3) VectorShuffle 384 384 0 1 2
386: 56(fvec4) CompositeExtract 381 2 386: 56(fvec4) CompositeExtract 383 1
387: 18(fvec3) VectorShuffle 386 386 0 1 2 387: 18(fvec3) VectorShuffle 386 386 0 1 2
388: 180 CompositeConstruct 383 385 387 388: 56(fvec4) CompositeExtract 383 2
389: 18(fvec3) VectorTimesMatrix 377 388 389: 18(fvec3) VectorShuffle 388 388 0 1 2
390: 103(ptr) AccessChain 91(output) 313 390: 182 CompositeConstruct 385 387 389
Store 390 389 391: 18(fvec3) VectorTimesMatrix 379 390
391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 392 392 16 16 392: 103(ptr) AccessChain 91(output) 315
393: 103(ptr) AccessChain 74(input) 160 Store 392 391
394: 18(fvec3) Load 393 393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 394 394 16 16
395: 103(ptr) AccessChain 74(input) 285 395: 103(ptr) AccessChain 74(input) 162
396: 18(fvec3) Load 395 396: 18(fvec3) Load 395
397: 18(fvec3) FAdd 394 396 397: 103(ptr) AccessChain 74(input) 287
398: 8(float) CompositeExtract 397 0 398: 18(fvec3) Load 397
399: 8(float) CompositeExtract 397 1 399: 18(fvec3) FAdd 396 398
400: 8(float) CompositeExtract 397 2 400: 8(float) CompositeExtract 399 0
401: 56(fvec4) CompositeConstruct 398 399 400 194 401: 8(float) CompositeExtract 399 1
402: 364(ptr) AccessChain 157 160 313 402: 8(float) CompositeExtract 399 2
403: 131 Load 402 403: 56(fvec4) CompositeConstruct 400 401 402 196
404: 56(fvec4) VectorTimesMatrix 401 403 404: 366(ptr) AccessChain 159 162 315
Store 342(pos) 404 405: 131 Load 404
405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 406 406 16 16 406: 56(fvec4) VectorTimesMatrix 403 405
410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 408 407(lPos) 85 Store 344(pos) 406
412: 411(ptr) AccessChain 157 160 101 407: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 408 408 16 16
413: 56(fvec4) Load 412 412: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 410 409(lPos) 85
414: 18(fvec3) VectorShuffle 413 413 0 1 2 414: 413(ptr) AccessChain 159 162 101
415: 364(ptr) AccessChain 157 160 313 415: 56(fvec4) Load 414
416: 131 Load 415 416: 18(fvec3) VectorShuffle 415 415 0 1 2
417: 56(fvec4) CompositeExtract 416 0 417: 366(ptr) AccessChain 159 162 315
418: 18(fvec3) VectorShuffle 417 417 0 1 2 418: 131 Load 417
419: 56(fvec4) CompositeExtract 416 1 419: 56(fvec4) CompositeExtract 418 0
420: 18(fvec3) VectorShuffle 419 419 0 1 2 420: 18(fvec3) VectorShuffle 419 419 0 1 2
421: 56(fvec4) CompositeExtract 416 2 421: 56(fvec4) CompositeExtract 418 1
422: 18(fvec3) VectorShuffle 421 421 0 1 2 422: 18(fvec3) VectorShuffle 421 421 0 1 2
423: 180 CompositeConstruct 418 420 422 423: 56(fvec4) CompositeExtract 418 2
424: 18(fvec3) VectorTimesMatrix 414 423 424: 18(fvec3) VectorShuffle 423 423 0 1 2
Store 407(lPos) 424 425: 182 CompositeConstruct 420 422 424
425: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 426 426 16 16 426: 18(fvec3) VectorTimesMatrix 416 425
427: 18(fvec3) Load 407(lPos) Store 409(lPos) 426
428: 56(fvec4) Load 342(pos) 427: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 428 428 16 16
429: 18(fvec3) VectorShuffle 428 428 0 1 2 429: 18(fvec3) Load 409(lPos)
430: 18(fvec3) FSub 427 429 430: 56(fvec4) Load 344(pos)
431: 103(ptr) AccessChain 91(output) 128 431: 18(fvec3) VectorShuffle 430 430 0 1 2
Store 431 430 432: 18(fvec3) FSub 429 431
432: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 433 433 16 16 433: 103(ptr) AccessChain 91(output) 128
434: 56(fvec4) Load 342(pos) Store 433 432
435: 18(fvec3) VectorShuffle 434 434 0 1 2 434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 435 435 16 16
436: 18(fvec3) FNegate 435 436: 56(fvec4) Load 344(pos)
437: 103(ptr) AccessChain 91(output) 285 437: 18(fvec3) VectorShuffle 436 436 0 1 2
Store 437 436 438: 18(fvec3) FNegate 437
438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 439 439 16 16 439: 103(ptr) AccessChain 91(output) 287
440:58(VSOutput) Load 91(output) Store 439 438
ReturnValue 440 440: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 441 441 16 16
442:58(VSOutput) Load 91(output)
ReturnValue 442
FunctionEnd FunctionEnd

View file

@ -1,7 +1,7 @@
spv.debuginfo.scalar_types.glsl.frag spv.debuginfo.scalar_types.glsl.frag
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 8000b // Generated by (magic number): 8000b
// Id's are bound by 147 // Id's are bound by 146
Capability Shader Capability Shader
Capability Float16 Capability Float16
@ -28,41 +28,41 @@ spv.debuginfo.scalar_types.glsl.frag
" "
30: String "bool" 30: String "bool"
35: String "VAR_bool" 35: String "VAR_bool"
42: String "int" 41: String "int"
47: String "VAR_int" 46: String "VAR_int"
54: String "VAR_uint" 53: String "VAR_uint"
58: String "float" 57: String "float"
63: String "VAR_float" 62: String "VAR_float"
68: String "double" 67: String "double"
74: String "VAR_double" 73: String "VAR_double"
79: String "int8_t" 78: String "int8_t"
84: String "VAR_int8_t" 83: String "VAR_int8_t"
89: String "uint8_t" 88: String "uint8_t"
94: String "VAR_uint8_t" 93: String "VAR_uint8_t"
99: String "int16_t" 98: String "int16_t"
105: String "VAR_int16_t" 104: String "VAR_int16_t"
110: String "uint16_t" 109: String "uint16_t"
115: String "VAR_uint16_t" 114: String "VAR_uint16_t"
120: String "int64_t" 119: String "int64_t"
125: String "VAR_int64_t" 124: String "VAR_int64_t"
130: String "uint64_t" 129: String "uint64_t"
135: String "VAR_uint64_t" 134: String "VAR_uint64_t"
140: String "float16_t" 139: String "float16_t"
145: String "VAR_float16_t" 144: String "VAR_float16_t"
SourceExtension "GL_EXT_shader_explicit_arithmetic_types" SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
Name 14 "main" Name 14 "main"
Name 33 "VAR_bool" Name 33 "VAR_bool"
Name 45 "VAR_int" Name 44 "VAR_int"
Name 52 "VAR_uint" Name 51 "VAR_uint"
Name 61 "VAR_float" Name 60 "VAR_float"
Name 72 "VAR_double" Name 71 "VAR_double"
Name 82 "VAR_int8_t" Name 81 "VAR_int8_t"
Name 92 "VAR_uint8_t" Name 91 "VAR_uint8_t"
Name 103 "VAR_int16_t" Name 102 "VAR_int16_t"
Name 113 "VAR_uint16_t" Name 112 "VAR_uint16_t"
Name 123 "VAR_int64_t" Name 122 "VAR_int64_t"
Name 133 "VAR_uint64_t" Name 132 "VAR_uint64_t"
Name 143 "VAR_float16_t" Name 142 "VAR_float16_t"
4: TypeVoid 4: TypeVoid
5: TypeFunction 4 5: TypeFunction 4
7: TypeInt 32 0 7: TypeInt 32 0
@ -86,112 +86,111 @@ spv.debuginfo.scalar_types.glsl.frag
33(VAR_bool): 32(ptr) Variable Private 33(VAR_bool): 32(ptr) Variable Private
36: 7(int) Constant 8 36: 7(int) Constant 8
34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 35 31 18 28 12 21 35 33(VAR_bool) 36 34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 35 31 18 28 12 21 35 33(VAR_bool) 36
37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 24 12 37: 29(bool) ConstantFalse
38: 29(bool) ConstantFalse 39: 7(int) Constant 44
40: 7(int) Constant 44 40: TypeInt 32 1
41: TypeInt 32 1 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 41 10 23 12
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 42 10 23 12 43: TypePointer Private 40(int)
44: TypePointer Private 41(int) 44(VAR_int): 43(ptr) Variable Private
45(VAR_int): 44(ptr) Variable Private 45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 46 42 18 39 12 21 46 44(VAR_int) 36
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 47 43 18 40 12 21 47 45(VAR_int) 36 47: 40(int) Constant 0
48: 41(int) Constant 0 49: 7(int) Constant 45
50: 7(int) Constant 45 50: TypePointer Private 7(int)
51: TypePointer Private 7(int) 51(VAR_uint): 50(ptr) Variable Private
52(VAR_uint): 51(ptr) Variable Private 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 53 9 18 49 12 21 53 51(VAR_uint) 36
53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 54 9 18 50 12 21 54 52(VAR_uint) 36 55: 7(int) Constant 46
56: 7(int) Constant 46 56: TypeFloat 32
57: TypeFloat 32 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 57 10 13 12
59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 58 10 13 12 59: TypePointer Private 56(float)
60: TypePointer Private 57(float) 60(VAR_float): 59(ptr) Variable Private
61(VAR_float): 60(ptr) Variable Private 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 62 58 18 55 12 21 62 60(VAR_float) 36
62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 63 59 18 56 12 21 63 61(VAR_float) 36 63: 56(float) Constant 0
64: 57(float) Constant 0 65: 7(int) Constant 47
66: 7(int) Constant 47 66: TypeFloat 64
67: TypeFloat 64 69: 7(int) Constant 64
70: 7(int) Constant 64 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 67 69 13 12
69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 68 70 13 12 70: TypePointer Private 66(float64_t)
71: TypePointer Private 67(float64_t) 71(VAR_double): 70(ptr) Variable Private
72(VAR_double): 71(ptr) Variable Private 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 73 68 18 65 12 21 73 71(VAR_double) 36
73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 74 69 18 66 12 21 74 72(VAR_double) 36 74:66(float64_t) Constant 0 0
75:67(float64_t) Constant 0 0 76: 7(int) Constant 48
77: 7(int) Constant 48 77: TypeInt 8 1
78: TypeInt 8 1 79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 78 36 23 12
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 79 36 23 12 80: TypePointer Private 77(int8_t)
81: TypePointer Private 78(int8_t) 81(VAR_int8_t): 80(ptr) Variable Private
82(VAR_int8_t): 81(ptr) Variable Private 82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 83 79 18 76 12 21 83 81(VAR_int8_t) 36
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 84 80 18 77 12 21 84 82(VAR_int8_t) 36 84: 77(int8_t) Constant 0
85: 78(int8_t) Constant 0 86: 7(int) Constant 49
87: 7(int) Constant 49 87: TypeInt 8 0
88: TypeInt 8 0 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 88 36 11 12
90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 89 36 11 12 90: TypePointer Private 87(int8_t)
91: TypePointer Private 88(int8_t) 91(VAR_uint8_t): 90(ptr) Variable Private
92(VAR_uint8_t): 91(ptr) Variable Private 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 93 89 18 86 12 21 93 91(VAR_uint8_t) 36
93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 94 90 18 87 12 21 94 92(VAR_uint8_t) 36 94: 87(int8_t) Constant 0
95: 88(int8_t) Constant 0 96: 7(int) Constant 50
97: 7(int) Constant 50 97: TypeInt 16 1
98: TypeInt 16 1 100: 7(int) Constant 16
101: 7(int) Constant 16 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 98 100 23 12
100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 99 101 23 12 101: TypePointer Private 97(int16_t)
102: TypePointer Private 98(int16_t) 102(VAR_int16_t): 101(ptr) Variable Private
103(VAR_int16_t): 102(ptr) Variable Private 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 104 99 18 96 12 21 104 102(VAR_int16_t) 36
104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 105 100 18 97 12 21 105 103(VAR_int16_t) 36 105: 97(int16_t) Constant 0
106: 98(int16_t) Constant 0 107: 7(int) Constant 51
108: 7(int) Constant 51 108: TypeInt 16 0
109: TypeInt 16 0 110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 109 100 11 12
111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 110 101 11 12 111: TypePointer Private 108(int16_t)
112: TypePointer Private 109(int16_t) 112(VAR_uint16_t): 111(ptr) Variable Private
113(VAR_uint16_t): 112(ptr) Variable Private 113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 114 110 18 107 12 21 114 112(VAR_uint16_t) 36
114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 115 111 18 108 12 21 115 113(VAR_uint16_t) 36 115:108(int16_t) Constant 0
116:109(int16_t) Constant 0 117: 7(int) Constant 52
118: 7(int) Constant 52 118: TypeInt 64 1
119: TypeInt 64 1 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 119 69 23 12
121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 120 70 23 12 121: TypePointer Private 118(int64_t)
122: TypePointer Private 119(int64_t) 122(VAR_int64_t): 121(ptr) Variable Private
123(VAR_int64_t): 122(ptr) Variable Private 123: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 124 120 18 117 12 21 124 122(VAR_int64_t) 36
124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 125 121 18 118 12 21 125 123(VAR_int64_t) 36 125:118(int64_t) Constant 0 0
126:119(int64_t) Constant 0 0 127: 7(int) Constant 53
128: 7(int) Constant 53 128: TypeInt 64 0
129: TypeInt 64 0 130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 129 69 11 12
131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 130 70 11 12 131: TypePointer Private 128(int64_t)
132: TypePointer Private 129(int64_t) 132(VAR_uint64_t): 131(ptr) Variable Private
133(VAR_uint64_t): 132(ptr) Variable Private 133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 134 130 18 127 12 21 134 132(VAR_uint64_t) 36
134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 135 131 18 128 12 21 135 133(VAR_uint64_t) 36 135:128(int64_t) Constant 0 0
136:129(int64_t) Constant 0 0 137: 7(int) Constant 54
138: 7(int) Constant 54 138: TypeFloat 16
139: TypeFloat 16 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 100 13 12
141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 101 13 12 141: TypePointer Private 138(float16_t)
142: TypePointer Private 139(float16_t) 142(VAR_float16_t): 141(ptr) Variable Private
143(VAR_float16_t): 142(ptr) Variable Private 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 144 140 18 137 12 21 144 142(VAR_float16_t) 36
144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 145 141 18 138 12 21 145 143(VAR_float16_t) 36 145:138(float16_t) Constant 0
146:139(float16_t) Constant 0
Line 1 42 11 Line 1 42 11
14(main): 4 Function None 5 14(main): 4 Function None 5
15: Label 15: Label
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main) 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main)
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12 27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
Store 33(VAR_bool) 38 Store 33(VAR_bool) 37
39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 40 40 12 12 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 39 39 12 12
Store 45(VAR_int) 48 Store 44(VAR_int) 47
49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 50 50 12 12 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 49 49 12 12
Store 52(VAR_uint) 12 Store 51(VAR_uint) 12
55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 56 56 12 12 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 55 55 12 12
Store 61(VAR_float) 64 Store 60(VAR_float) 63
65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 66 66 12 12 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 65 65 12 12
Store 72(VAR_double) 75 Store 71(VAR_double) 74
76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 77 77 12 12 75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 76 76 12 12
Store 82(VAR_int8_t) 85 Store 81(VAR_int8_t) 84
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 87 87 12 12 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 86 86 12 12
Store 92(VAR_uint8_t) 95 Store 91(VAR_uint8_t) 94
96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 97 97 12 12 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 96 96 12 12
Store 103(VAR_int16_t) 106 Store 102(VAR_int16_t) 105
107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 108 108 12 12 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 107 107 12 12
Store 113(VAR_uint16_t) 116 Store 112(VAR_uint16_t) 115
117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 118 118 12 12 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 117 117 12 12
Store 123(VAR_int64_t) 126 Store 122(VAR_int64_t) 125
127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 128 128 12 12 126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 127 127 12 12
Store 133(VAR_uint64_t) 136 Store 132(VAR_uint64_t) 135
137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 138 138 12 12 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 137 137 12 12
Store 143(VAR_float16_t) 146 Store 142(VAR_float16_t) 145
Return Return
FunctionEnd FunctionEnd