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)
spvType = builder.makeUintType(32);
else
spvType = builder.makeBoolType(false);
spvType = builder.makeBoolType();
break;
case glslang::EbtInt:
spvType = builder.makeIntType(32);

View file

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

View file

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

View file

@ -1,14 +1,14 @@
spv.debuginfo.glsl.vert
// Module Version 10000
// Generated by (magic number): 8000b
// Id's are bound by 425
// Id's are bound by 427
Capability Shader
Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
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 ""
8: String "uint"
16: String "main"
@ -29,31 +29,32 @@ spv.debuginfo.glsl.vert
62: String "instanceTexIndex"
73: String "s"
78: String "instanceRot"
90: String "modelview"
95: String "lightPos"
98: String "globSpeed"
102: String "UBO"
106: String "ubo"
117: String "c"
132: String "mx"
175: String "my"
212: String "mz"
233: String "rotMat"
262: String "gRotMat"
288: String "locPos"
292: String "inPos"
304: String "pos"
310: String "instanceScale"
315: String "instancePos"
328: String "gl_Position"
331: String "gl_PointSize"
333: String "gl_CullDistance"
336: String "gl_PerVertex"
356: String "outNormal"
373: String "inNormal"
392: String "lPos"
412: String "outLightVec"
421: String "outViewVec"
87: String "bool"
92: String "modelview"
97: String "lightPos"
100: String "globSpeed"
104: String "UBO"
108: String "ubo"
119: String "c"
134: String "mx"
177: String "my"
214: String "mz"
235: String "rotMat"
264: String "gRotMat"
290: String "locPos"
294: String "inPos"
306: String "pos"
312: String "instanceScale"
317: String "instancePos"
330: String "gl_Position"
333: String "gl_PointSize"
335: String "gl_CullDistance"
338: String "gl_PerVertex"
358: String "outNormal"
375: String "inNormal"
394: String "lPos"
414: String "outLightVec"
423: String "outViewVec"
Name 14 "main"
Name 35 "outColor"
Name 40 "inColor"
@ -62,65 +63,65 @@ spv.debuginfo.glsl.vert
Name 60 "instanceTexIndex"
Name 71 "s"
Name 76 "instanceRot"
Name 88 "UBO"
MemberName 88(UBO) 0 "projection"
MemberName 88(UBO) 1 "modelview"
MemberName 88(UBO) 2 "lightPos"
MemberName 88(UBO) 3 "locSpeed"
MemberName 88(UBO) 4 "globSpeed"
Name 104 "ubo"
Name 115 "c"
Name 130 "mx"
Name 173 "my"
Name 210 "mz"
Name 231 "rotMat"
Name 260 "gRotMat"
Name 286 "locPos"
Name 290 "inPos"
Name 302 "pos"
Name 308 "instanceScale"
Name 313 "instancePos"
Name 326 "gl_PerVertex"
MemberName 326(gl_PerVertex) 0 "gl_Position"
MemberName 326(gl_PerVertex) 1 "gl_PointSize"
MemberName 326(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 326(gl_PerVertex) 3 "gl_CullDistance"
Name 338 ""
Name 354 "outNormal"
Name 371 "inNormal"
Name 390 "lPos"
Name 410 "outLightVec"
Name 419 "outViewVec"
Name 90 "UBO"
MemberName 90(UBO) 0 "projection"
MemberName 90(UBO) 1 "modelview"
MemberName 90(UBO) 2 "lightPos"
MemberName 90(UBO) 3 "locSpeed"
MemberName 90(UBO) 4 "globSpeed"
Name 106 "ubo"
Name 117 "c"
Name 132 "mx"
Name 175 "my"
Name 212 "mz"
Name 233 "rotMat"
Name 262 "gRotMat"
Name 288 "locPos"
Name 292 "inPos"
Name 304 "pos"
Name 310 "instanceScale"
Name 315 "instancePos"
Name 328 "gl_PerVertex"
MemberName 328(gl_PerVertex) 0 "gl_Position"
MemberName 328(gl_PerVertex) 1 "gl_PointSize"
MemberName 328(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 328(gl_PerVertex) 3 "gl_CullDistance"
Name 340 ""
Name 356 "outNormal"
Name 373 "inNormal"
Name 392 "lPos"
Name 412 "outLightVec"
Name 421 "outViewVec"
Decorate 35(outColor) Location 1
Decorate 40(inColor) Location 3
Decorate 46(outUV) Location 2
Decorate 52(inUV) Location 2
Decorate 60(instanceTexIndex) Location 7
Decorate 76(instanceRot) Location 5
MemberDecorate 88(UBO) 0 ColMajor
MemberDecorate 88(UBO) 0 Offset 0
MemberDecorate 88(UBO) 0 MatrixStride 16
MemberDecorate 88(UBO) 1 ColMajor
MemberDecorate 88(UBO) 1 Offset 64
MemberDecorate 88(UBO) 1 MatrixStride 16
MemberDecorate 88(UBO) 2 Offset 128
MemberDecorate 88(UBO) 3 Offset 144
MemberDecorate 88(UBO) 4 Offset 148
Decorate 88(UBO) Block
Decorate 104(ubo) DescriptorSet 0
Decorate 104(ubo) Binding 0
Decorate 290(inPos) Location 0
Decorate 308(instanceScale) Location 6
Decorate 313(instancePos) Location 4
MemberDecorate 326(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 326(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 326(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 326(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 326(gl_PerVertex) Block
Decorate 354(outNormal) Location 0
Decorate 371(inNormal) Location 1
Decorate 410(outLightVec) Location 4
Decorate 419(outViewVec) Location 3
MemberDecorate 90(UBO) 0 ColMajor
MemberDecorate 90(UBO) 0 Offset 0
MemberDecorate 90(UBO) 0 MatrixStride 16
MemberDecorate 90(UBO) 1 ColMajor
MemberDecorate 90(UBO) 1 Offset 64
MemberDecorate 90(UBO) 1 MatrixStride 16
MemberDecorate 90(UBO) 2 Offset 128
MemberDecorate 90(UBO) 3 Offset 144
MemberDecorate 90(UBO) 4 Offset 148
Decorate 90(UBO) Block
Decorate 106(ubo) DescriptorSet 0
Decorate 106(ubo) Binding 0
Decorate 292(inPos) Location 0
Decorate 310(instanceScale) Location 6
Decorate 315(instancePos) Location 4
MemberDecorate 328(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 328(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 328(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 328(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 328(gl_PerVertex) Block
Decorate 356(outNormal) Location 0
Decorate 373(inNormal) Location 1
Decorate 412(outLightVec) Location 4
Decorate 421(outViewVec) Location 3
4: TypeVoid
5: TypeFunction 4
7: TypeInt 32 0
@ -173,121 +174,122 @@ spv.debuginfo.glsl.vert
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 23
84: TypeMatrix 82(fvec4) 4
86: TypeBool
87: 86(bool) ConstantTrue
85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 83 23 87
88(UBO): TypeStruct 84 84 82(fvec4) 29(float) 29(float)
91: 7(int) Constant 42
92: 7(int) Constant 7
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 90 85 18 91 92 12 12 13
93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 90 85 18 91 92 12 12 13
96: 7(int) Constant 43
94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 95 83 18 96 92 12 12 13
99: 7(int) Constant 45
97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 98 31 18 99 38 12 12 13
100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 98 31 18 99 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
103: TypePointer Uniform 88(UBO)
104(ubo): 103(ptr) Variable Uniform
105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 106 101 18 69 12 21 106 104(ubo) 38
107: 56(int) Constant 3
108: TypePointer Uniform 29(float)
114: 7(int) Constant 63
116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 117 31 18 114 12 17 23
126: 7(int) Constant 65
127: TypeMatrix 32(fvec3) 3
128: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 33 13 87
129: TypePointer Function 127
131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 132 128 18 126 12 17 23
134: 56(int) Constant 0
137: 29(float) Constant 0
139: TypePointer Function 32(fvec3)
142: 7(int) Constant 66
143: 56(int) Constant 1
150: 7(int) Constant 67
151: 56(int) Constant 2
152: 29(float) Constant 1065353216
153: 32(fvec3) ConstantComposite 137 137 152
156: 7(int) Constant 70
164: 7(int) Constant 71
172: 7(int) Constant 73
174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 175 128 18 172 12 17 23
182: 7(int) Constant 74
183: 32(fvec3) ConstantComposite 137 152 137
186: 7(int) Constant 75
193: 7(int) Constant 78
201: 7(int) Constant 79
209: 7(int) Constant 81
211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 212 128 18 209 12 17 23
214: 32(fvec3) ConstantComposite 152 137 137
217: 7(int) Constant 82
223: 7(int) Constant 83
230: 7(int) Constant 85
232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 233 128 18 230 12 17 23
241: 7(int) Constant 88
244: 56(int) Constant 4
250: 7(int) Constant 89
258: 7(int) Constant 90
259: TypePointer Function 84
261: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 262 85 18 258 12 17 23
267: TypePointer Function 82(fvec4)
270: 7(int) Constant 91
271: 82(fvec4) ConstantComposite 137 152 137 137
274: 7(int) Constant 92
281: 7(int) Constant 93
282: 82(fvec4) ConstantComposite 137 137 137 152
285: 7(int) Constant 95
287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 288 83 18 285 12 17 23
290(inPos): 39(ptr) Variable Input
291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 292 33 18 285 12 21 292 290(inPos) 38
301: 7(int) Constant 96
303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 304 83 18 301 12 17 23
308(instanceScale): 79(ptr) Variable Input
309: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 310 31 18 301 12 21 310 308(instanceScale) 38
313(instancePos): 39(ptr) Variable Input
314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 315 33 18 301 12 21 315 313(instancePos) 38
323: 7(int) Constant 98
324: TypeArray 29(float) 22
325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22
326(gl_PerVertex): TypeStruct 82(fvec4) 29(float) 324 324
329: 7(int) Constant 24
327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 328 83 18 22 329 12 12 13
330: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 331 31 18 22 91 12 12 13
332: 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) 333 325 18 22 230 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
337: TypePointer Output 326(gl_PerVertex)
338: 337(ptr) Variable Output
339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 335 18 323 12 21 1 338 38
340: TypePointer Uniform 84
350: TypePointer Output 82(fvec4)
353: 7(int) Constant 99
354(outNormal): 34(ptr) Variable Output
355: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 356 33 18 353 12 21 356 354(outNormal) 38
371(inNormal): 39(ptr) Variable Input
372: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 373 33 18 353 12 21 373 371(inNormal) 38
377: 7(int) Constant 101
389: 7(int) Constant 102
391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 392 33 18 389 12 17 23
403: TypePointer Uniform 82(fvec4)
409: 7(int) Constant 103
410(outLightVec): 34(ptr) Variable Output
411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 412 33 18 409 12 21 412 410(outLightVec) 38
418: 7(int) Constant 104
419(outViewVec): 34(ptr) Variable Output
420: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 421 33 18 418 12 21 421 419(outViewVec) 38
88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 87 10 24 12
89: 86(bool) ConstantTrue
85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 83 23 89
90(UBO): TypeStruct 84 84 82(fvec4) 29(float) 29(float)
93: 7(int) Constant 42
94: 7(int) Constant 7
91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 92 85 18 93 94 12 12 13
95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 92 85 18 93 94 12 12 13
98: 7(int) Constant 43
96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 97 83 18 98 94 12 12 13
101: 7(int) Constant 45
99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 100 31 18 101 38 12 12 13
102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 100 31 18 101 38 12 12 13
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 104 22 18 69 12 21 104 12 13 91 95 96 99 102
105: TypePointer Uniform 90(UBO)
106(ubo): 105(ptr) Variable Uniform
107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 108 103 18 69 12 21 108 106(ubo) 38
109: 56(int) Constant 3
110: TypePointer Uniform 29(float)
116: 7(int) Constant 63
118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 119 31 18 116 12 17 23
128: 7(int) Constant 65
129: TypeMatrix 32(fvec3) 3
130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 33 13 89
131: TypePointer Function 129
133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 134 130 18 128 12 17 23
136: 56(int) Constant 0
139: 29(float) Constant 0
141: TypePointer Function 32(fvec3)
144: 7(int) Constant 66
145: 56(int) Constant 1
152: 7(int) Constant 67
153: 56(int) Constant 2
154: 29(float) Constant 1065353216
155: 32(fvec3) ConstantComposite 139 139 154
158: 7(int) Constant 70
166: 7(int) Constant 71
174: 7(int) Constant 73
176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 177 130 18 174 12 17 23
184: 7(int) Constant 74
185: 32(fvec3) ConstantComposite 139 154 139
188: 7(int) Constant 75
195: 7(int) Constant 78
203: 7(int) Constant 79
211: 7(int) Constant 81
213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 214 130 18 211 12 17 23
216: 32(fvec3) ConstantComposite 154 139 139
219: 7(int) Constant 82
225: 7(int) Constant 83
232: 7(int) Constant 85
234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 235 130 18 232 12 17 23
243: 7(int) Constant 88
246: 56(int) Constant 4
252: 7(int) Constant 89
260: 7(int) Constant 90
261: TypePointer Function 84
263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 264 85 18 260 12 17 23
269: TypePointer Function 82(fvec4)
272: 7(int) Constant 91
273: 82(fvec4) ConstantComposite 139 154 139 139
276: 7(int) Constant 92
283: 7(int) Constant 93
284: 82(fvec4) ConstantComposite 139 139 139 154
287: 7(int) Constant 95
289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 290 83 18 287 12 17 23
292(inPos): 39(ptr) Variable Input
293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 294 33 18 287 12 21 294 292(inPos) 38
303: 7(int) Constant 96
305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 306 83 18 303 12 17 23
310(instanceScale): 79(ptr) Variable Input
311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 312 31 18 303 12 21 312 310(instanceScale) 38
315(instancePos): 39(ptr) Variable Input
316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 317 33 18 303 12 21 317 315(instancePos) 38
325: 7(int) Constant 98
326: TypeArray 29(float) 22
327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22
328(gl_PerVertex): TypeStruct 82(fvec4) 29(float) 326 326
331: 7(int) Constant 24
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 31 18 22 93 12 12 13
334: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 335 327 18 22 232 12 12 13
336: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 335 327 18 22 232 12 12 13
337: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 338 22 18 325 12 21 338 12 13 329 332 334 336
339: TypePointer Output 328(gl_PerVertex)
340: 339(ptr) Variable Output
341: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 337 18 325 12 21 1 340 38
342: TypePointer Uniform 84
352: TypePointer Output 82(fvec4)
355: 7(int) Constant 99
356(outNormal): 34(ptr) Variable Output
357: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 358 33 18 355 12 21 358 356(outNormal) 38
373(inNormal): 39(ptr) Variable Input
374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 375 33 18 355 12 21 375 373(inNormal) 38
379: 7(int) Constant 101
391: 7(int) Constant 102
393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 394 33 18 391 12 17 23
405: TypePointer Uniform 82(fvec4)
411: 7(int) Constant 103
412(outLightVec): 34(ptr) Variable Output
413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 414 33 18 411 12 21 414 412(outLightVec) 38
420: 7(int) Constant 104
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
14(main): 4 Function None 5
15: Label
71(s): 70(ptr) Variable Function
115(c): 70(ptr) Variable Function
130(mx): 129(ptr) Variable Function
173(my): 129(ptr) Variable Function
210(mz): 129(ptr) Variable Function
231(rotMat): 129(ptr) Variable Function
260(gRotMat): 259(ptr) Variable Function
286(locPos): 267(ptr) Variable Function
302(pos): 267(ptr) Variable Function
390(lPos): 139(ptr) Variable Function
117(c): 70(ptr) Variable Function
132(mx): 131(ptr) Variable Function
175(my): 131(ptr) Variable Function
212(mz): 131(ptr) Variable Function
233(rotMat): 131(ptr) Variable Function
262(gRotMat): 261(ptr) Variable Function
288(locPos): 269(ptr) Variable Function
304(pos): 269(ptr) Variable Function
392(lPos): 141(ptr) Variable Function
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main)
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
@ -305,238 +307,238 @@ spv.debuginfo.glsl.vert
74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 72 71(s) 75
80: 79(ptr) AccessChain 76(instanceRot) 12
81: 29(float) Load 80
109: 108(ptr) AccessChain 104(ubo) 107
110: 29(float) Load 109
111: 29(float) FAdd 81 110
112: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 111
Store 71(s) 112
113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 114 114 12 12
118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 116 115(c) 75
119: 79(ptr) AccessChain 76(instanceRot) 12
120: 29(float) Load 119
121: 108(ptr) AccessChain 104(ubo) 107
111: 110(ptr) AccessChain 106(ubo) 109
112: 29(float) Load 111
113: 29(float) FAdd 81 112
114: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 113
Store 71(s) 114
115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 116 116 12 12
120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 118 117(c) 75
121: 79(ptr) AccessChain 76(instanceRot) 12
122: 29(float) Load 121
123: 29(float) FAdd 120 122
124: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 123
Store 115(c) 124
125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 126 126 12 12
133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 131 130(mx) 75
135: 29(float) Load 115(c)
136: 29(float) Load 71(s)
138: 32(fvec3) CompositeConstruct 135 136 137
140: 139(ptr) AccessChain 130(mx) 134
Store 140 138
141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 142 142 12 12
144: 29(float) Load 71(s)
145: 29(float) FNegate 144
146: 29(float) Load 115(c)
147: 32(fvec3) CompositeConstruct 145 146 137
148: 139(ptr) AccessChain 130(mx) 143
Store 148 147
149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 150 150 12 12
154: 139(ptr) AccessChain 130(mx) 151
Store 154 153
155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 156 156 12 12
157: 79(ptr) AccessChain 76(instanceRot) 22
158: 29(float) Load 157
159: 108(ptr) AccessChain 104(ubo) 107
123: 110(ptr) AccessChain 106(ubo) 109
124: 29(float) Load 123
125: 29(float) FAdd 122 124
126: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 125
Store 117(c) 126
127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 128 128 12 12
135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 133 132(mx) 75
137: 29(float) Load 117(c)
138: 29(float) Load 71(s)
140: 32(fvec3) CompositeConstruct 137 138 139
142: 141(ptr) AccessChain 132(mx) 136
Store 142 140
143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 144 144 12 12
146: 29(float) Load 71(s)
147: 29(float) FNegate 146
148: 29(float) Load 117(c)
149: 32(fvec3) CompositeConstruct 147 148 139
150: 141(ptr) AccessChain 132(mx) 145
Store 150 149
151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 152 152 12 12
156: 141(ptr) AccessChain 132(mx) 153
Store 156 155
157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 158 158 12 12
159: 79(ptr) AccessChain 76(instanceRot) 22
160: 29(float) Load 159
161: 29(float) FAdd 158 160
162: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 161
Store 71(s) 162
163: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 164 164 12 12
165: 79(ptr) AccessChain 76(instanceRot) 22
166: 29(float) Load 165
167: 108(ptr) AccessChain 104(ubo) 107
161: 110(ptr) AccessChain 106(ubo) 109
162: 29(float) Load 161
163: 29(float) FAdd 160 162
164: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 163
Store 71(s) 164
165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 166 166 12 12
167: 79(ptr) AccessChain 76(instanceRot) 22
168: 29(float) Load 167
169: 29(float) FAdd 166 168
170: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 169
Store 115(c) 170
171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 172 172 12 12
176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 174 173(my) 75
177: 29(float) Load 115(c)
178: 29(float) Load 71(s)
179: 32(fvec3) CompositeConstruct 177 137 178
180: 139(ptr) AccessChain 173(my) 134
Store 180 179
181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 182 182 12 12
184: 139(ptr) AccessChain 173(my) 143
Store 184 183
185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 186 186 12 12
187: 29(float) Load 71(s)
188: 29(float) FNegate 187
189: 29(float) Load 115(c)
190: 32(fvec3) CompositeConstruct 188 137 189
191: 139(ptr) AccessChain 173(my) 151
Store 191 190
192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 193 193 12 12
194: 79(ptr) AccessChain 76(instanceRot) 24
195: 29(float) Load 194
196: 108(ptr) AccessChain 104(ubo) 107
169: 110(ptr) AccessChain 106(ubo) 109
170: 29(float) Load 169
171: 29(float) FAdd 168 170
172: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 171
Store 117(c) 172
173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 174 174 12 12
178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 176 175(my) 75
179: 29(float) Load 117(c)
180: 29(float) Load 71(s)
181: 32(fvec3) CompositeConstruct 179 139 180
182: 141(ptr) AccessChain 175(my) 136
Store 182 181
183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 184 184 12 12
186: 141(ptr) AccessChain 175(my) 145
Store 186 185
187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 188 188 12 12
189: 29(float) Load 71(s)
190: 29(float) FNegate 189
191: 29(float) Load 117(c)
192: 32(fvec3) CompositeConstruct 190 139 191
193: 141(ptr) AccessChain 175(my) 153
Store 193 192
194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 195 195 12 12
196: 79(ptr) AccessChain 76(instanceRot) 24
197: 29(float) Load 196
198: 29(float) FAdd 195 197
199: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 198
Store 71(s) 199
200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 201 201 12 12
202: 79(ptr) AccessChain 76(instanceRot) 24
203: 29(float) Load 202
204: 108(ptr) AccessChain 104(ubo) 107
198: 110(ptr) AccessChain 106(ubo) 109
199: 29(float) Load 198
200: 29(float) FAdd 197 199
201: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 200
Store 71(s) 201
202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 203 203 12 12
204: 79(ptr) AccessChain 76(instanceRot) 24
205: 29(float) Load 204
206: 29(float) FAdd 203 205
207: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 206
Store 115(c) 207
208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 209 209 12 12
213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 211 210(mz) 75
215: 139(ptr) AccessChain 210(mz) 134
Store 215 214
216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 217 217 12 12
218: 29(float) Load 115(c)
219: 29(float) Load 71(s)
220: 32(fvec3) CompositeConstruct 137 218 219
221: 139(ptr) AccessChain 210(mz) 143
Store 221 220
222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 223 223 12 12
224: 29(float) Load 71(s)
225: 29(float) FNegate 224
226: 29(float) Load 115(c)
227: 32(fvec3) CompositeConstruct 137 225 226
228: 139(ptr) AccessChain 210(mz) 151
Store 228 227
229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 230 230 12 12
234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 232 231(rotMat) 75
235: 127 Load 210(mz)
236: 127 Load 173(my)
237: 127 MatrixTimesMatrix 235 236
238: 127 Load 130(mx)
239: 127 MatrixTimesMatrix 237 238
Store 231(rotMat) 239
240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 241 241 12 12
242: 79(ptr) AccessChain 76(instanceRot) 22
243: 29(float) Load 242
245: 108(ptr) AccessChain 104(ubo) 244
246: 29(float) Load 245
247: 29(float) FAdd 243 246
248: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 247
Store 71(s) 248
249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 250 250 12 12
251: 79(ptr) AccessChain 76(instanceRot) 22
252: 29(float) Load 251
253: 108(ptr) AccessChain 104(ubo) 244
206: 110(ptr) AccessChain 106(ubo) 109
207: 29(float) Load 206
208: 29(float) FAdd 205 207
209: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 208
Store 117(c) 209
210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 211 211 12 12
215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 213 212(mz) 75
217: 141(ptr) AccessChain 212(mz) 136
Store 217 216
218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 219 219 12 12
220: 29(float) Load 117(c)
221: 29(float) Load 71(s)
222: 32(fvec3) CompositeConstruct 139 220 221
223: 141(ptr) AccessChain 212(mz) 145
Store 223 222
224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 225 225 12 12
226: 29(float) Load 71(s)
227: 29(float) FNegate 226
228: 29(float) Load 117(c)
229: 32(fvec3) CompositeConstruct 139 227 228
230: 141(ptr) AccessChain 212(mz) 153
Store 230 229
231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 232 232 12 12
236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 234 233(rotMat) 75
237: 129 Load 212(mz)
238: 129 Load 175(my)
239: 129 MatrixTimesMatrix 237 238
240: 129 Load 132(mx)
241: 129 MatrixTimesMatrix 239 240
Store 233(rotMat) 241
242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 243 243 12 12
244: 79(ptr) AccessChain 76(instanceRot) 22
245: 29(float) Load 244
247: 110(ptr) AccessChain 106(ubo) 246
248: 29(float) Load 247
249: 29(float) FAdd 245 248
250: 29(float) ExtInst 3(GLSL.std.450) 13(Sin) 249
Store 71(s) 250
251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 252 252 12 12
253: 79(ptr) AccessChain 76(instanceRot) 22
254: 29(float) Load 253
255: 29(float) FAdd 252 254
256: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 255
Store 115(c) 256
257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 258 258 12 12
263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 261 260(gRotMat) 75
264: 29(float) Load 115(c)
265: 29(float) Load 71(s)
266: 82(fvec4) CompositeConstruct 264 137 265 137
268: 267(ptr) AccessChain 260(gRotMat) 134
Store 268 266
269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 270 270 12 12
272: 267(ptr) AccessChain 260(gRotMat) 143
Store 272 271
273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 274 274 12 12
275: 29(float) Load 71(s)
276: 29(float) FNegate 275
277: 29(float) Load 115(c)
278: 82(fvec4) CompositeConstruct 276 137 277 137
279: 267(ptr) AccessChain 260(gRotMat) 151
Store 279 278
280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 281 281 12 12
283: 267(ptr) AccessChain 260(gRotMat) 107
Store 283 282
284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 285 285 12 12
289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 287 286(locPos) 75
293: 32(fvec3) Load 290(inPos)
294: 127 Load 231(rotMat)
295: 32(fvec3) VectorTimesMatrix 293 294
296: 29(float) CompositeExtract 295 0
297: 29(float) CompositeExtract 295 1
298: 29(float) CompositeExtract 295 2
299: 82(fvec4) CompositeConstruct 296 297 298 152
Store 286(locPos) 299
300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 301 301 12 12
305: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 303 302(pos) 75
306: 82(fvec4) Load 286(locPos)
307: 32(fvec3) VectorShuffle 306 306 0 1 2
311: 29(float) Load 308(instanceScale)
312: 32(fvec3) VectorTimesScalar 307 311
316: 32(fvec3) Load 313(instancePos)
317: 32(fvec3) FAdd 312 316
318: 29(float) CompositeExtract 317 0
319: 29(float) CompositeExtract 317 1
320: 29(float) CompositeExtract 317 2
321: 82(fvec4) CompositeConstruct 318 319 320 152
Store 302(pos) 321
322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 323 323 12 12
341: 340(ptr) AccessChain 104(ubo) 134
342: 84 Load 341
343: 340(ptr) AccessChain 104(ubo) 143
255: 110(ptr) AccessChain 106(ubo) 246
256: 29(float) Load 255
257: 29(float) FAdd 254 256
258: 29(float) ExtInst 3(GLSL.std.450) 14(Cos) 257
Store 117(c) 258
259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 260 260 12 12
265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 263 262(gRotMat) 75
266: 29(float) Load 117(c)
267: 29(float) Load 71(s)
268: 82(fvec4) CompositeConstruct 266 139 267 139
270: 269(ptr) AccessChain 262(gRotMat) 136
Store 270 268
271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 272 272 12 12
274: 269(ptr) AccessChain 262(gRotMat) 145
Store 274 273
275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 276 276 12 12
277: 29(float) Load 71(s)
278: 29(float) FNegate 277
279: 29(float) Load 117(c)
280: 82(fvec4) CompositeConstruct 278 139 279 139
281: 269(ptr) AccessChain 262(gRotMat) 153
Store 281 280
282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 283 283 12 12
285: 269(ptr) AccessChain 262(gRotMat) 109
Store 285 284
286: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 287 287 12 12
291: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 289 288(locPos) 75
295: 32(fvec3) Load 292(inPos)
296: 129 Load 233(rotMat)
297: 32(fvec3) VectorTimesMatrix 295 296
298: 29(float) CompositeExtract 297 0
299: 29(float) CompositeExtract 297 1
300: 29(float) CompositeExtract 297 2
301: 82(fvec4) CompositeConstruct 298 299 300 154
Store 288(locPos) 301
302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 303 303 12 12
307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 305 304(pos) 75
308: 82(fvec4) Load 288(locPos)
309: 32(fvec3) VectorShuffle 308 308 0 1 2
313: 29(float) Load 310(instanceScale)
314: 32(fvec3) VectorTimesScalar 309 313
318: 32(fvec3) Load 315(instancePos)
319: 32(fvec3) FAdd 314 318
320: 29(float) CompositeExtract 319 0
321: 29(float) CompositeExtract 319 1
322: 29(float) CompositeExtract 319 2
323: 82(fvec4) CompositeConstruct 320 321 322 154
Store 304(pos) 323
324: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 325 325 12 12
343: 342(ptr) AccessChain 106(ubo) 136
344: 84 Load 343
345: 84 MatrixTimesMatrix 342 344
346: 84 Load 260(gRotMat)
347: 84 MatrixTimesMatrix 345 346
348: 82(fvec4) Load 302(pos)
349: 82(fvec4) MatrixTimesVector 347 348
351: 350(ptr) AccessChain 338 134
Store 351 349
352: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 353 353 12 12
357: 340(ptr) AccessChain 104(ubo) 143
358: 84 Load 357
359: 84 Load 260(gRotMat)
360: 84 MatrixTimesMatrix 358 359
361: 82(fvec4) CompositeExtract 360 0
362: 32(fvec3) VectorShuffle 361 361 0 1 2
363: 82(fvec4) CompositeExtract 360 1
345: 342(ptr) AccessChain 106(ubo) 145
346: 84 Load 345
347: 84 MatrixTimesMatrix 344 346
348: 84 Load 262(gRotMat)
349: 84 MatrixTimesMatrix 347 348
350: 82(fvec4) Load 304(pos)
351: 82(fvec4) MatrixTimesVector 349 350
353: 352(ptr) AccessChain 340 136
Store 353 351
354: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 355 355 12 12
359: 342(ptr) AccessChain 106(ubo) 145
360: 84 Load 359
361: 84 Load 262(gRotMat)
362: 84 MatrixTimesMatrix 360 361
363: 82(fvec4) CompositeExtract 362 0
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
367: 127 CompositeConstruct 362 364 366
368: 127 Load 231(rotMat)
369: 127 ExtInst 3(GLSL.std.450) 34(MatrixInverse) 368
370: 127 MatrixTimesMatrix 367 369
374: 32(fvec3) Load 371(inNormal)
375: 32(fvec3) MatrixTimesVector 370 374
Store 354(outNormal) 375
376: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 377 377 12 12
378: 340(ptr) AccessChain 104(ubo) 143
379: 84 Load 378
380: 32(fvec3) Load 290(inPos)
381: 32(fvec3) Load 313(instancePos)
382: 32(fvec3) FAdd 380 381
383: 29(float) CompositeExtract 382 0
384: 29(float) CompositeExtract 382 1
385: 29(float) CompositeExtract 382 2
386: 82(fvec4) CompositeConstruct 383 384 385 152
387: 82(fvec4) MatrixTimesVector 379 386
Store 302(pos) 387
388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 389 389 12 12
393: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 391 390(lPos) 75
394: 340(ptr) AccessChain 104(ubo) 143
395: 84 Load 394
396: 82(fvec4) CompositeExtract 395 0
397: 32(fvec3) VectorShuffle 396 396 0 1 2
398: 82(fvec4) CompositeExtract 395 1
367: 82(fvec4) CompositeExtract 362 2
368: 32(fvec3) VectorShuffle 367 367 0 1 2
369: 129 CompositeConstruct 364 366 368
370: 129 Load 233(rotMat)
371: 129 ExtInst 3(GLSL.std.450) 34(MatrixInverse) 370
372: 129 MatrixTimesMatrix 369 371
376: 32(fvec3) Load 373(inNormal)
377: 32(fvec3) MatrixTimesVector 372 376
Store 356(outNormal) 377
378: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 379 379 12 12
380: 342(ptr) AccessChain 106(ubo) 145
381: 84 Load 380
382: 32(fvec3) Load 292(inPos)
383: 32(fvec3) Load 315(instancePos)
384: 32(fvec3) FAdd 382 383
385: 29(float) CompositeExtract 384 0
386: 29(float) CompositeExtract 384 1
387: 29(float) CompositeExtract 384 2
388: 82(fvec4) CompositeConstruct 385 386 387 154
389: 82(fvec4) MatrixTimesVector 381 388
Store 304(pos) 389
390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 391 391 12 12
395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 393 392(lPos) 75
396: 342(ptr) AccessChain 106(ubo) 145
397: 84 Load 396
398: 82(fvec4) CompositeExtract 397 0
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
402: 127 CompositeConstruct 397 399 401
404: 403(ptr) AccessChain 104(ubo) 151
405: 82(fvec4) Load 404
406: 32(fvec3) VectorShuffle 405 405 0 1 2
407: 32(fvec3) MatrixTimesVector 402 406
Store 390(lPos) 407
408: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 409 409 12 12
413: 32(fvec3) Load 390(lPos)
414: 82(fvec4) Load 302(pos)
415: 32(fvec3) VectorShuffle 414 414 0 1 2
416: 32(fvec3) FSub 413 415
Store 410(outLightVec) 416
417: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 418 418 12 12
422: 82(fvec4) Load 302(pos)
423: 32(fvec3) VectorShuffle 422 422 0 1 2
424: 32(fvec3) FNegate 423
Store 419(outViewVec) 424
402: 82(fvec4) CompositeExtract 397 2
403: 32(fvec3) VectorShuffle 402 402 0 1 2
404: 129 CompositeConstruct 399 401 403
406: 405(ptr) AccessChain 106(ubo) 153
407: 82(fvec4) Load 406
408: 32(fvec3) VectorShuffle 407 407 0 1 2
409: 32(fvec3) MatrixTimesVector 404 408
Store 392(lPos) 409
410: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 411 411 12 12
415: 32(fvec3) Load 392(lPos)
416: 82(fvec4) Load 304(pos)
417: 32(fvec3) VectorShuffle 416 416 0 1 2
418: 32(fvec3) FSub 415 417
Store 412(outLightVec) 418
419: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 420 420 12 12
424: 82(fvec4) Load 304(pos)
425: 32(fvec3) VectorShuffle 424 424 0 1 2
426: 32(fvec3) FNegate 425
Store 421(outViewVec) 426
Return
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
// Generated by (magic number): 8000b
// Id's are bound by 692
// Id's are bound by 685
Capability Tessellation
Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450"
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 Quads
ExecutionMode 6 SpacingEqual
@ -68,7 +68,7 @@ WARNING: 0:158: '' : attribute does not apply to entry point
342: String "type.sampled.image"
343: String "@type.sampled.image"
361: String "i"
414: String "output"
410: String "output"
Name 6 "main"
Name 26 "screenSpaceTessFactor(vf4;vf4;"
Name 24 "p0"
@ -113,34 +113,34 @@ WARNING: 0:158: '' : attribute does not apply to entry point
Name 327 "textureHeight"
Name 336 "samplerHeight"
Name 359 "i"
Name 412 "output"
Name 422 "param"
Name 425 "param"
Name 466 "param"
Name 408 "output"
Name 418 "param"
Name 421 "param"
Name 459 "param"
Name 462 "param"
Name 469 "param"
Name 476 "param"
Name 472 "param"
Name 479 "param"
Name 486 "param"
Name 482 "param"
Name 489 "param"
Name 496 "param"
Name 499 "param"
Name 551 "output"
Name 581 "patch"
Name 584 "patch.Pos"
Name 591 "patch.Normal"
Name 598 "patch.UV"
Name 630 "InvocationID"
Name 632 "InvocationID"
Name 634 "flattenTemp"
Name 635 "param"
Name 637 "param"
Name 641 "@entryPointOutput.Pos"
Name 648 "@entryPointOutput.Normal"
Name 655 "@entryPointOutput.UV"
Name 665 "@patchConstantResult"
Name 666 "param"
Name 670 "@patchConstantOutput.TessLevelOuter"
Name 685 "@patchConstantOutput.TessLevelInner"
Name 492 "param"
Name 544 "output"
Name 574 "patch"
Name 577 "patch.Pos"
Name 584 "patch.Normal"
Name 591 "patch.UV"
Name 623 "InvocationID"
Name 625 "InvocationID"
Name 627 "flattenTemp"
Name 628 "param"
Name 630 "param"
Name 634 "@entryPointOutput.Pos"
Name 641 "@entryPointOutput.Normal"
Name 648 "@entryPointOutput.UV"
Name 658 "@patchConstantResult"
Name 659 "param"
Name 663 "@patchConstantOutput.TessLevelOuter"
Name 678 "@patchConstantOutput.TessLevelInner"
Decorate 176 ArrayStride 16
MemberDecorate 178(UBO) 0 RowMajor
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 336(samplerHeight) DescriptorSet 0
Decorate 336(samplerHeight) Binding 1
Decorate 584(patch.Pos) BuiltIn Position
Decorate 591(patch.Normal) Location 0
Decorate 598(patch.UV) Location 1
Decorate 632(InvocationID) BuiltIn InvocationId
Decorate 641(@entryPointOutput.Pos) BuiltIn Position
Decorate 648(@entryPointOutput.Normal) Location 0
Decorate 655(@entryPointOutput.UV) Location 1
Decorate 670(@patchConstantOutput.TessLevelOuter) Patch
Decorate 670(@patchConstantOutput.TessLevelOuter) BuiltIn TessLevelOuter
Decorate 685(@patchConstantOutput.TessLevelInner) Patch
Decorate 685(@patchConstantOutput.TessLevelInner) BuiltIn TessLevelInner
Decorate 577(patch.Pos) BuiltIn Position
Decorate 584(patch.Normal) Location 0
Decorate 591(patch.UV) Location 1
Decorate 625(InvocationID) BuiltIn InvocationId
Decorate 634(@entryPointOutput.Pos) BuiltIn Position
Decorate 641(@entryPointOutput.Normal) Location 0
Decorate 648(@entryPointOutput.UV) Location 1
Decorate 663(@patchConstantOutput.TessLevelOuter) Patch
Decorate 663(@patchConstantOutput.TessLevelOuter) BuiltIn TessLevelOuter
Decorate 678(@patchConstantOutput.TessLevelInner) Patch
Decorate 678(@patchConstantOutput.TessLevelInner) BuiltIn TessLevelInner
4: TypeVoid
5: TypeFunction 4
8: TypeFloat 32
@ -339,205 +339,198 @@ WARNING: 0:158: '' : attribute does not apply to entry point
357: 11(int) Constant 102
358: TypePointer Function 210(int)
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
377: 11(int) Constant 103
379: 210(int) Constant 3
381: TypePointer Uniform 18(fvec4)
385: 8(float) Constant 1090519040
387: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
392: 49(bool) ConstantFalse
395: 11(int) Constant 105
401: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
404: 11(int) Constant 108
410: 11(int) Constant 113
411: TypePointer Function 92(ConstantsHSOutput)
413: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 414 100 30 410 16 108 19
416: 88 ConstantComposite 227 227 227 227
417: 90 ConstantComposite 227 227
418:92(ConstantsHSOutput) ConstantComposite 416 417
420: 11(int) Constant 115
421: 210(int) Constant 2
429: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
430: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
436: 11(int) Constant 117
439: 11(int) Constant 118
442: 11(int) Constant 119
445: 11(int) Constant 120
448: 11(int) Constant 121
451: 11(int) Constant 122
456: 11(int) Constant 126
459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 14 44 16
465: 11(int) Constant 128
475: 11(int) Constant 129
485: 11(int) Constant 130
495: 11(int) Constant 131
505: 11(int) Constant 132
513: 11(int) Constant 133
523: 11(int) Constant 139
526: 11(int) Constant 140
529: 11(int) Constant 141
532: 11(int) Constant 142
535: 11(int) Constant 143
538: 11(int) Constant 144
542: 11(int) Constant 148
549: 11(int) Constant 159
550: TypePointer Function 116(HSOutput)
552: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 414 123 30 549 16 132 19
554: 18(fvec4) ConstantComposite 227 227 227 227
555: 46(fvec2) ConstantComposite 227 227
556:116(HSOutput) ConstantComposite 554 228 555
558: 11(int) Constant 160
564: 11(int) Constant 161
566: TypePointer Function 69(fvec3)
571: 11(int) Constant 162
577: 11(int) Constant 163
582: TypeArray 18(fvec4) 19
376: 11(int) Constant 103
378: 210(int) Constant 3
380: TypePointer Uniform 18(fvec4)
384: 8(float) Constant 1090519040
389: 49(bool) ConstantFalse
392: 11(int) Constant 105
400: 11(int) Constant 108
406: 11(int) Constant 113
407: TypePointer Function 92(ConstantsHSOutput)
409: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 410 100 30 406 16 108 19
412: 88 ConstantComposite 227 227 227 227
413: 90 ConstantComposite 227 227
414:92(ConstantsHSOutput) ConstantComposite 412 413
416: 11(int) Constant 115
417: 210(int) Constant 2
430: 11(int) Constant 117
433: 11(int) Constant 118
436: 11(int) Constant 119
439: 11(int) Constant 120
442: 11(int) Constant 121
445: 11(int) Constant 122
450: 11(int) Constant 126
458: 11(int) Constant 128
468: 11(int) Constant 129
478: 11(int) Constant 130
488: 11(int) Constant 131
498: 11(int) Constant 132
506: 11(int) Constant 133
516: 11(int) Constant 139
519: 11(int) Constant 140
522: 11(int) Constant 141
525: 11(int) Constant 142
528: 11(int) Constant 143
531: 11(int) Constant 144
535: 11(int) Constant 148
542: 11(int) Constant 159
543: TypePointer Function 116(HSOutput)
545: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 410 123 30 542 16 132 19
547: 18(fvec4) ConstantComposite 227 227 227 227
548: 46(fvec2) ConstantComposite 227 227
549:116(HSOutput) ConstantComposite 547 228 548
551: 11(int) Constant 160
557: 11(int) Constant 161
559: TypePointer Function 69(fvec3)
564: 11(int) Constant 162
570: 11(int) Constant 163
575: TypeArray 18(fvec4) 19
576: TypePointer Input 575
577(patch.Pos): 576(ptr) Variable Input
578: TypePointer Input 18(fvec4)
582: TypeArray 69(fvec3) 19
583: TypePointer Input 582
584(patch.Pos): 583(ptr) Variable Input
585: TypePointer Input 18(fvec4)
589: TypeArray 69(fvec3) 19
584(patch.Normal): 583(ptr) Variable Input
585: TypePointer Input 69(fvec3)
589: TypeArray 46(fvec2) 19
590: TypePointer Input 589
591(patch.Normal): 590(ptr) Variable Input
592: TypePointer Input 69(fvec3)
596: TypeArray 46(fvec2) 19
597: TypePointer Input 596
598(patch.UV): 597(ptr) Variable Input
599: TypePointer Input 46(fvec2)
631: TypePointer Input 11(int)
632(InvocationID): 631(ptr) Variable Input
591(patch.UV): 590(ptr) Variable Input
592: TypePointer Input 46(fvec2)
624: TypePointer Input 11(int)
625(InvocationID): 624(ptr) Variable Input
633: TypePointer Output 575
634(@entryPointOutput.Pos): 633(ptr) Variable Output
638: TypePointer Output 18(fvec4)
640: TypePointer Output 582
641(@entryPointOutput.Pos): 640(ptr) Variable Output
645: TypePointer Output 18(fvec4)
641(@entryPointOutput.Normal): 640(ptr) Variable Output
645: TypePointer Output 69(fvec3)
647: TypePointer Output 589
648(@entryPointOutput.Normal): 647(ptr) Variable Output
652: TypePointer Output 69(fvec3)
654: TypePointer Output 596
655(@entryPointOutput.UV): 654(ptr) Variable Output
659: TypePointer Output 46(fvec2)
669: TypePointer Output 88
670(@patchConstantOutput.TessLevelOuter): 669(ptr) Variable Output
673: TypePointer Output 8(float)
684: TypePointer Output 90
685(@patchConstantOutput.TessLevelInner): 684(ptr) Variable Output
648(@entryPointOutput.UV): 647(ptr) Variable Output
652: TypePointer Output 46(fvec2)
662: TypePointer Output 88
663(@patchConstantOutput.TessLevelOuter): 662(ptr) Variable Output
666: TypePointer Output 8(float)
677: TypePointer Output 90
678(@patchConstantOutput.TessLevelInner): 677(ptr) Variable Output
Line 1 158 1
6(main): 4 Function None 5
7: Label
581(patch): 87(ptr) Variable Function
630(InvocationID): 115(ptr) Variable Function
634(flattenTemp): 550(ptr) Variable Function
635(param): 87(ptr) Variable Function
637(param): 115(ptr) Variable Function
665(@patchConstantResult): 411(ptr) Variable Function
666(param): 87(ptr) Variable Function
574(patch): 87(ptr) Variable Function
623(InvocationID): 115(ptr) Variable Function
627(flattenTemp): 543(ptr) Variable Function
628(param): 87(ptr) Variable Function
630(param): 115(ptr) Variable Function
658(@patchConstantResult): 407(ptr) Variable Function
659(param): 87(ptr) Variable Function
Line 1 158 0
586: 585(ptr) AccessChain 584(patch.Pos) 213
587: 18(fvec4) Load 586
588: 21(ptr) AccessChain 581(patch) 213 213
579: 578(ptr) AccessChain 577(patch.Pos) 213
580: 18(fvec4) Load 579
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
593: 592(ptr) AccessChain 591(patch.Normal) 213
594: 69(fvec3) Load 593
595: 566(ptr) AccessChain 581(patch) 213 214
593: 592(ptr) AccessChain 591(patch.UV) 213
594: 46(fvec2) Load 593
595: 48(ptr) AccessChain 574(patch) 213 417
Store 595 594
600: 599(ptr) AccessChain 598(patch.UV) 213
601: 46(fvec2) Load 600
602: 48(ptr) AccessChain 581(patch) 213 421
Store 602 601
603: 585(ptr) AccessChain 584(patch.Pos) 214
604: 18(fvec4) Load 603
605: 21(ptr) AccessChain 581(patch) 214 213
Store 605 604
606: 592(ptr) AccessChain 591(patch.Normal) 214
607: 69(fvec3) Load 606
608: 566(ptr) AccessChain 581(patch) 214 214
Store 608 607
609: 599(ptr) AccessChain 598(patch.UV) 214
610: 46(fvec2) Load 609
611: 48(ptr) AccessChain 581(patch) 214 421
Store 611 610
612: 585(ptr) AccessChain 584(patch.Pos) 421
613: 18(fvec4) Load 612
614: 21(ptr) AccessChain 581(patch) 421 213
Store 614 613
615: 592(ptr) AccessChain 591(patch.Normal) 421
616: 69(fvec3) Load 615
617: 566(ptr) AccessChain 581(patch) 421 214
Store 617 616
618: 599(ptr) AccessChain 598(patch.UV) 421
619: 46(fvec2) Load 618
620: 48(ptr) AccessChain 581(patch) 421 421
Store 620 619
621: 585(ptr) AccessChain 584(patch.Pos) 379
622: 18(fvec4) Load 621
623: 21(ptr) AccessChain 581(patch) 379 213
Store 623 622
624: 592(ptr) AccessChain 591(patch.Normal) 379
625: 69(fvec3) Load 624
626: 566(ptr) AccessChain 581(patch) 379 214
Store 626 625
627: 599(ptr) AccessChain 598(patch.UV) 379
628: 46(fvec2) Load 627
629: 48(ptr) AccessChain 581(patch) 379 421
Store 629 628
633: 11(int) Load 632(InvocationID)
Store 630(InvocationID) 633
636: 85 Load 581(patch)
Store 635(param) 636
638: 11(int) Load 630(InvocationID)
Store 637(param) 638
639:116(HSOutput) FunctionCall 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) 635(param) 637(param)
Store 634(flattenTemp) 639
642: 11(int) Load 632(InvocationID)
643: 21(ptr) AccessChain 634(flattenTemp) 213
644: 18(fvec4) Load 643
646: 645(ptr) AccessChain 641(@entryPointOutput.Pos) 642
596: 578(ptr) AccessChain 577(patch.Pos) 214
597: 18(fvec4) Load 596
598: 21(ptr) AccessChain 574(patch) 214 213
Store 598 597
599: 585(ptr) AccessChain 584(patch.Normal) 214
600: 69(fvec3) Load 599
601: 559(ptr) AccessChain 574(patch) 214 214
Store 601 600
602: 592(ptr) AccessChain 591(patch.UV) 214
603: 46(fvec2) Load 602
604: 48(ptr) AccessChain 574(patch) 214 417
Store 604 603
605: 578(ptr) AccessChain 577(patch.Pos) 417
606: 18(fvec4) Load 605
607: 21(ptr) AccessChain 574(patch) 417 213
Store 607 606
608: 585(ptr) AccessChain 584(patch.Normal) 417
609: 69(fvec3) Load 608
610: 559(ptr) AccessChain 574(patch) 417 214
Store 610 609
611: 592(ptr) AccessChain 591(patch.UV) 417
612: 46(fvec2) Load 611
613: 48(ptr) AccessChain 574(patch) 417 417
Store 613 612
614: 578(ptr) AccessChain 577(patch.Pos) 378
615: 18(fvec4) Load 614
616: 21(ptr) AccessChain 574(patch) 378 213
Store 616 615
617: 585(ptr) AccessChain 584(patch.Normal) 378
618: 69(fvec3) Load 617
619: 559(ptr) AccessChain 574(patch) 378 214
Store 619 618
620: 592(ptr) AccessChain 591(patch.UV) 378
621: 46(fvec2) Load 620
622: 48(ptr) AccessChain 574(patch) 378 417
Store 622 621
626: 11(int) Load 625(InvocationID)
Store 623(InvocationID) 626
629: 85 Load 574(patch)
Store 628(param) 629
631: 11(int) Load 623(InvocationID)
Store 630(param) 631
632:116(HSOutput) FunctionCall 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;) 628(param) 630(param)
Store 627(flattenTemp) 632
635: 11(int) Load 625(InvocationID)
636: 21(ptr) AccessChain 627(flattenTemp) 213
637: 18(fvec4) Load 636
639: 638(ptr) AccessChain 634(@entryPointOutput.Pos) 635
Store 639 637
642: 11(int) Load 625(InvocationID)
643: 559(ptr) AccessChain 627(flattenTemp) 214
644: 69(fvec3) Load 643
646: 645(ptr) AccessChain 641(@entryPointOutput.Normal) 642
Store 646 644
649: 11(int) Load 632(InvocationID)
650: 566(ptr) AccessChain 634(flattenTemp) 214
651: 69(fvec3) Load 650
653: 652(ptr) AccessChain 648(@entryPointOutput.Normal) 649
649: 11(int) Load 625(InvocationID)
650: 48(ptr) AccessChain 627(flattenTemp) 417
651: 46(fvec2) Load 650
653: 652(ptr) AccessChain 648(@entryPointOutput.UV) 649
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
661: 11(int) Load 632(InvocationID)
662: 49(bool) IEqual 661 213
SelectionMerge 664 None
BranchConditional 662 663 664
663: Label
667: 85 Load 581(patch)
Store 666(param) 667
668:92(ConstantsHSOutput) FunctionCall 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) 666(param)
Store 665(@patchConstantResult) 668
671: 156(ptr) AccessChain 665(@patchConstantResult) 213 213
654: 11(int) Load 625(InvocationID)
655: 49(bool) IEqual 654 213
SelectionMerge 657 None
BranchConditional 655 656 657
656: Label
660: 85 Load 574(patch)
Store 659(param) 660
661:92(ConstantsHSOutput) FunctionCall 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];) 659(param)
Store 658(@patchConstantResult) 661
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
674: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 213
Store 674 672
675: 156(ptr) AccessChain 665(@patchConstantResult) 213 214
676: 8(float) Load 675
677: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 214
Store 677 676
678: 156(ptr) AccessChain 665(@patchConstantResult) 213 421
679: 8(float) Load 678
680: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 421
Store 680 679
681: 156(ptr) AccessChain 665(@patchConstantResult) 213 379
682: 8(float) Load 681
683: 673(ptr) AccessChain 670(@patchConstantOutput.TessLevelOuter) 379
Store 683 682
686: 156(ptr) AccessChain 665(@patchConstantResult) 214 213
687: 8(float) Load 686
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
673: 666(ptr) AccessChain 663(@patchConstantOutput.TessLevelOuter) 417
Store 673 672
674: 156(ptr) AccessChain 658(@patchConstantResult) 213 378
675: 8(float) Load 674
676: 666(ptr) AccessChain 663(@patchConstantOutput.TessLevelOuter) 378
Store 676 675
679: 156(ptr) AccessChain 658(@patchConstantResult) 214 213
680: 8(float) Load 679
681: 666(ptr) AccessChain 678(@patchConstantOutput.TessLevelInner) 213
Store 681 680
682: 156(ptr) AccessChain 658(@patchConstantResult) 214 214
683: 8(float) Load 682
684: 666(ptr) AccessChain 678(@patchConstantOutput.TessLevelInner) 214
Store 684 683
Branch 657
657: Label
Return
FunctionEnd
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
371: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16
372: 210(int) Load 359(i)
374: 49(bool) SLessThan 372 269
BranchConditional 374 364 365
373: 49(bool) SLessThan 372 269
BranchConditional 373 364 365
364: Label
375: 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
378: 18(fvec4) Load 314(pos)
380: 210(int) Load 359(i)
382: 381(ptr) AccessChain 207 213 379 380
383: 18(fvec4) Load 382
384: 8(float) Dot 378 383
386: 8(float) FAdd 384 385
388: 49(bool) FOrdLessThan 386 227
SelectionMerge 390 None
BranchConditional 388 389 390
389: Label
393: 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
ReturnValue 392
390: Label
374: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
375: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 376 376 16 16
377: 18(fvec4) Load 314(pos)
379: 210(int) Load 359(i)
381: 380(ptr) AccessChain 207 213 378 379
382: 18(fvec4) Load 381
383: 8(float) Dot 377 382
385: 8(float) FAdd 383 384
386: 49(bool) FOrdLessThan 385 227
SelectionMerge 388 None
BranchConditional 386 387 388
387: Label
390: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
391: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 392 392 16 16
ReturnValue 389
388: Label
Branch 366
366: Label
397: 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
399: 210(int) Load 359(i)
400: 210(int) IAdd 399 214
Store 359(i) 400
394: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
395: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 357 357 16 16
396: 210(int) Load 359(i)
397: 210(int) IAdd 396 214
Store 359(i) 397
Branch 363
365: Label
402: 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
398: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 59
399: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 400 400 16 16
ReturnValue 175
FunctionEnd
Line 1 112 1
105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];):92(ConstantsHSOutput) Function None 102
104(patch): 87(ptr) FunctionParameter
106: Label
412(output): 411(ptr) Variable Function
422(param): 21(ptr) Variable Function
425(param): 48(ptr) Variable Function
466(param): 21(ptr) Variable Function
408(output): 407(ptr) Variable Function
418(param): 21(ptr) Variable Function
421(param): 48(ptr) Variable Function
459(param): 21(ptr) Variable Function
462(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
486(param): 21(ptr) Variable Function
482(param): 21(ptr) Variable Function
489(param): 21(ptr) Variable Function
496(param): 21(ptr) Variable Function
499(param): 21(ptr) Variable Function
492(param): 21(ptr) Variable Function
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
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];)
408: 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
415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 413 412(output) 41
Store 412(output) 418
419: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 420 420 16 16
423: 21(ptr) AccessChain 104(patch) 213 213
424: 18(fvec4) Load 423
Store 422(param) 424
426: 48(ptr) AccessChain 104(patch) 213 421
427: 46(fvec2) Load 426
Store 425(param) 427
428: 49(bool) FunctionCall 56(frustumCheck(vf4;vf2;) 422(param) 425(param)
431: 49(bool) LogicalNot 428
SelectionMerge 433 None
BranchConditional 431 432 453
432: Label
434: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
403: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 108 105(ConstantsHS(struct-VSOutput-vf4-vf3-vf21[4];)
404: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 406 406 16 16
411: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 409 408(output) 41
Store 408(output) 414
415: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 416 416 16 16
419: 21(ptr) AccessChain 104(patch) 213 213
420: 18(fvec4) Load 419
Store 418(param) 420
422: 48(ptr) AccessChain 104(patch) 213 417
423: 46(fvec2) Load 422
Store 421(param) 423
424: 49(bool) FunctionCall 56(frustumCheck(vf4;vf2;) 418(param) 421(param)
425: 49(bool) LogicalNot 424
SelectionMerge 427 None
BranchConditional 425 426 447
426: Label
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
437: 156(ptr) AccessChain 412(output) 214 213
437: 156(ptr) AccessChain 408(output) 213 213
Store 437 227
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
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
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
447: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 448 448 16 16
449: 156(ptr) AccessChain 412(output) 213 421
Store 449 227
450: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 451 451 16 16
452: 156(ptr) AccessChain 412(output) 213 379
Store 452 227
Branch 433
453: Label
454: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
455: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 456 456 16 16
457: 297(ptr) AccessChain 207 213 301
458: 8(float) Load 457
460: 49(bool) FOrdGreaterThan 458 227
SelectionMerge 462 None
BranchConditional 460 461 520
461: Label
463: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
464: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 465 465 16 16
467: 21(ptr) AccessChain 104(patch) 379 213
468: 18(fvec4) Load 467
Store 466(param) 468
Branch 427
447: Label
448: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
449: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 450 450 16 16
451: 297(ptr) AccessChain 207 213 301
452: 8(float) Load 451
453: 49(bool) FOrdGreaterThan 452 227
SelectionMerge 455 None
BranchConditional 453 454 513
454: Label
456: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
457: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 458 458 16 16
460: 21(ptr) AccessChain 104(patch) 378 213
461: 18(fvec4) Load 460
Store 459(param) 461
463: 21(ptr) AccessChain 104(patch) 213 213
464: 18(fvec4) Load 463
Store 462(param) 464
465: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 459(param) 462(param)
466: 156(ptr) AccessChain 408(output) 213 213
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
471: 18(fvec4) Load 470
Store 469(param) 471
472: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 466(param) 469(param)
473: 156(ptr) AccessChain 412(output) 213 213
Store 473 472
474: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 475 475 16 16
477: 21(ptr) AccessChain 104(patch) 213 213
478: 18(fvec4) Load 477
Store 476(param) 478
473: 21(ptr) AccessChain 104(patch) 214 213
474: 18(fvec4) Load 473
Store 472(param) 474
475: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 469(param) 472(param)
476: 156(ptr) AccessChain 408(output) 213 214
Store 476 475
477: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 478 478 16 16
480: 21(ptr) AccessChain 104(patch) 214 213
481: 18(fvec4) Load 480
Store 479(param) 481
482: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 476(param) 479(param)
483: 156(ptr) AccessChain 412(output) 213 214
Store 483 482
484: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 485 485 16 16
487: 21(ptr) AccessChain 104(patch) 214 213
488: 18(fvec4) Load 487
Store 486(param) 488
490: 21(ptr) AccessChain 104(patch) 421 213
483: 21(ptr) AccessChain 104(patch) 417 213
484: 18(fvec4) Load 483
Store 482(param) 484
485: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 479(param) 482(param)
486: 156(ptr) AccessChain 408(output) 213 417
Store 486 485
487: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 488 488 16 16
490: 21(ptr) AccessChain 104(patch) 417 213
491: 18(fvec4) Load 490
Store 489(param) 491
492: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 486(param) 489(param)
493: 156(ptr) AccessChain 412(output) 213 421
Store 493 492
494: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 495 495 16 16
497: 21(ptr) AccessChain 104(patch) 421 213
498: 18(fvec4) Load 497
Store 496(param) 498
500: 21(ptr) AccessChain 104(patch) 379 213
501: 18(fvec4) Load 500
Store 499(param) 501
502: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 496(param) 499(param)
503: 156(ptr) AccessChain 412(output) 213 379
Store 503 502
504: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 505 505 16 16
506: 156(ptr) AccessChain 412(output) 213 213
507: 8(float) Load 506
508: 156(ptr) AccessChain 412(output) 213 379
509: 8(float) Load 508
510: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 507 509 149
511: 156(ptr) AccessChain 412(output) 214 213
Store 511 510
512: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 513 513 16 16
514: 156(ptr) AccessChain 412(output) 213 421
515: 8(float) Load 514
516: 156(ptr) AccessChain 412(output) 213 214
517: 8(float) Load 516
518: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 515 517 149
519: 156(ptr) AccessChain 412(output) 214 214
Store 519 518
Branch 462
520: Label
521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
522: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 523 523 16 16
524: 156(ptr) AccessChain 412(output) 214 213
Store 524 305
525: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 526 526 16 16
527: 156(ptr) AccessChain 412(output) 214 214
Store 527 305
528: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 529 529 16 16
530: 156(ptr) AccessChain 412(output) 213 213
Store 530 305
531: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 532 532 16 16
533: 156(ptr) AccessChain 412(output) 213 214
Store 533 305
493: 21(ptr) AccessChain 104(patch) 378 213
494: 18(fvec4) Load 493
Store 492(param) 494
495: 8(float) FunctionCall 26(screenSpaceTessFactor(vf4;vf4;) 489(param) 492(param)
496: 156(ptr) AccessChain 408(output) 213 378
Store 496 495
497: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 498 498 16 16
499: 156(ptr) AccessChain 408(output) 213 213
500: 8(float) Load 499
501: 156(ptr) AccessChain 408(output) 213 378
502: 8(float) Load 501
503: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 500 502 149
504: 156(ptr) AccessChain 408(output) 214 213
Store 504 503
505: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 506 506 16 16
507: 156(ptr) AccessChain 408(output) 213 417
508: 8(float) Load 507
509: 156(ptr) AccessChain 408(output) 213 214
510: 8(float) Load 509
511: 8(float) ExtInst 3(GLSL.std.450) 46(FMix) 508 510 149
512: 156(ptr) AccessChain 408(output) 214 214
Store 512 511
Branch 455
513: Label
514: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
515: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 516 516 16 16
517: 156(ptr) AccessChain 408(output) 214 213
Store 517 305
518: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 519 519 16 16
520: 156(ptr) AccessChain 408(output) 214 214
Store 520 305
521: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 522 522 16 16
523: 156(ptr) AccessChain 408(output) 213 213
Store 523 305
524: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 525 525 16 16
526: 156(ptr) AccessChain 408(output) 213 214
Store 526 305
527: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 528 528 16 16
529: 156(ptr) AccessChain 408(output) 213 417
Store 529 305
530: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 531 531 16 16
532: 156(ptr) AccessChain 408(output) 213 378
Store 532 305
Branch 455
455: Label
Branch 427
427: Label
533: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 108
534: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 535 535 16 16
536: 156(ptr) AccessChain 412(output) 213 421
Store 536 305
537: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 538 538 16 16
539: 156(ptr) AccessChain 412(output) 213 379
Store 539 305
Branch 462
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
536:92(ConstantsHSOutput) Load 408(output)
ReturnValue 536
FunctionEnd
Line 1 158 1
129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;):116(HSOutput) Function None 125
127(patch): 87(ptr) FunctionParameter
128(InvocationID): 115(ptr) FunctionParameter
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
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
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;)
547: 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
553: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 552 551(output) 41
Store 551(output) 556
557: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 558 558 16 16
559: 11(int) Load 128(InvocationID)
560: 21(ptr) AccessChain 127(patch) 559 213
561: 18(fvec4) Load 560
562: 21(ptr) AccessChain 551(output) 213
539: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 132 129(@main(struct-VSOutput-vf4-vf3-vf21[4];u1;)
540: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 132
541: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 542 542 16 16
546: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 545 544(output) 41
Store 544(output) 549
550: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 551 551 16 16
552: 11(int) Load 128(InvocationID)
553: 21(ptr) AccessChain 127(patch) 552 213
554: 18(fvec4) Load 553
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
563: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 564 564 16 16
565: 11(int) Load 128(InvocationID)
567: 566(ptr) AccessChain 127(patch) 565 214
568: 69(fvec3) Load 567
569: 566(ptr) AccessChain 551(output) 214
Store 569 568
570: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 571 571 16 16
572: 11(int) Load 128(InvocationID)
573: 48(ptr) AccessChain 127(patch) 572 421
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
566: 48(ptr) AccessChain 127(patch) 565 417
567: 46(fvec2) Load 566
568: 48(ptr) AccessChain 544(output) 417
Store 568 567
569: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 570 570 16 16
571:116(HSOutput) Load 544(output)
ReturnValue 571
FunctionEnd

View file

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

View file

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

View file

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