Fill correct file name to OpDebugFunction and add line info for parameters' OpDebugDeclare

This commit is contained in:
Qingyuan Zheng 2024-07-02 06:31:18 +00:00 committed by arcady-lunarg
parent 8a5086efb0
commit 85262fb20e
14 changed files with 2877 additions and 2873 deletions

View file

@ -5518,12 +5518,16 @@ void TGlslangToSpvTraverser::makeFunctions(const glslang::TIntermSequence& glslF
glslang::TIntermAggregate* glslFunction = glslFunctions[f]->getAsAggregate(); glslang::TIntermAggregate* glslFunction = glslFunctions[f]->getAsAggregate();
if (! glslFunction || glslFunction->getOp() != glslang::EOpFunction) if (! glslFunction || glslFunction->getOp() != glslang::EOpFunction)
continue; continue;
builder.setDebugSourceLocation(glslFunction->getLoc().line, glslFunction->getLoc().getFilename());
if (isShaderEntryPoint(glslFunction)) { if (isShaderEntryPoint(glslFunction)) {
// For HLSL, the entry function is actually a compiler generated function to resolve the difference of
// entry function signature between HLSL and SPIR-V. So we don't emit debug information for that.
if (glslangIntermediate->getSource() != glslang::EShSourceHlsl) { if (glslangIntermediate->getSource() != glslang::EShSourceHlsl) {
builder.setupDebugFunctionEntry(shaderEntry, glslangIntermediate->getEntryPointMangledName().c_str(), builder.setupFunctionDebugInfo(shaderEntry, glslangIntermediate->getEntryPointMangledName().c_str(),
glslFunction->getLoc().line, std::vector<spv::Id>(), // main function has no param
std::vector<spv::Id>(), // main function has no param std::vector<char const*>());
std::vector<char const*>());
} }
continue; continue;
} }
@ -5576,8 +5580,7 @@ void TGlslangToSpvTraverser::makeFunctions(const glslang::TIntermSequence& glslF
TranslatePrecisionDecoration(glslFunction->getType()), convertGlslangToSpvType(glslFunction->getType()), TranslatePrecisionDecoration(glslFunction->getType()), convertGlslangToSpvType(glslFunction->getType()),
glslFunction->getName().c_str(), convertGlslangLinkageToSpv(glslFunction->getLinkType()), paramTypes, glslFunction->getName().c_str(), convertGlslangLinkageToSpv(glslFunction->getLinkType()), paramTypes,
paramDecorations, &functionBlock); paramDecorations, &functionBlock);
builder.setupDebugFunctionEntry(function, glslFunction->getName().c_str(), glslFunction->getLoc().line, builder.setupFunctionDebugInfo(function, glslFunction->getName().c_str(), paramTypes, paramNames);
paramTypes, paramNames);
if (implicitThis) if (implicitThis)
function->setImplicitThis(); function->setImplicitThis();

View file

@ -2236,14 +2236,13 @@ Function* Builder::makeFunctionEntry(Decoration precision, Id returnType, const
return function; return function;
} }
void Builder::setupDebugFunctionEntry(Function* function, const char* name, int line, const std::vector<Id>& paramTypes, void Builder::setupFunctionDebugInfo(Function* function, const char* name, const std::vector<Id>& paramTypes,
const std::vector<char const*>& paramNames) const std::vector<char const*>& paramNames)
{ {
if (!emitNonSemanticShaderDebugInfo) if (!emitNonSemanticShaderDebugInfo)
return; return;
currentLine = line;
Id nameId = getStringId(unmangleFunctionName(name)); Id nameId = getStringId(unmangleFunctionName(name));
Id funcTypeId = function->getFuncTypeId(); Id funcTypeId = function->getFuncTypeId();
assert(debugId[funcTypeId] != 0); assert(debugId[funcTypeId] != 0);

View file

@ -247,9 +247,12 @@ public:
Id makeDebugFunction(Function* function, Id nameId, Id funcTypeId); Id makeDebugFunction(Function* function, Id nameId, Id funcTypeId);
Id makeDebugLexicalBlock(uint32_t line); Id makeDebugLexicalBlock(uint32_t line);
std::string unmangleFunctionName(std::string const& name) const; std::string unmangleFunctionName(std::string const& name) const;
void setupDebugFunctionEntry(Function* function, const char* name, int line,
const std::vector<Id>& paramTypes, // Initialize non-semantic debug information for a function, including those of:
const std::vector<char const*>& paramNames); // - The function definition
// - The function parameters
void setupFunctionDebugInfo(Function* function, const char* name, const std::vector<Id>& paramTypes,
const std::vector<char const*>& paramNames);
// accelerationStructureNV type // accelerationStructureNV type
Id makeAccelerationStructureType(); Id makeAccelerationStructureType();

View file

@ -9,7 +9,7 @@ hlsl.pp.line2.frag
EntryPoint Fragment 5 "MainPs" 71 75 EntryPoint Fragment 5 "MainPs" 71 75
ExecutionMode 5 OriginUpperLeft ExecutionMode 5 OriginUpperLeft
1: String "hlsl.pp.line2.frag" 1: String "hlsl.pp.line2.frag"
17: String "foo.frag" 7: String "foo.frag"
32: String "foo.h" 32: String "foo.h"
42: String "foo2.h" 42: String "foo2.h"
Source HLSL 500 1 "// OpModuleProcessed auto-map-locations Source HLSL 500 1 "// OpModuleProcessed auto-map-locations
@ -62,12 +62,12 @@ PS_OUTPUT MainPs ( PS_INPUT i )
" "
Name 5 "MainPs" Name 5 "MainPs"
Name 9 "PS_INPUT" Name 10 "PS_INPUT"
MemberName 9(PS_INPUT) 0 "vTextureCoords" MemberName 10(PS_INPUT) 0 "vTextureCoords"
Name 12 "PS_OUTPUT" Name 13 "PS_OUTPUT"
MemberName 12(PS_OUTPUT) 0 "vColor" MemberName 13(PS_OUTPUT) 0 "vColor"
Name 15 "@MainPs(struct-PS_INPUT-vf21;" Name 16 "@MainPs(struct-PS_INPUT-vf21;"
Name 14 "i" Name 15 "i"
Name 19 "PerViewConstantBuffer_t" Name 19 "PerViewConstantBuffer_t"
MemberName 19(PerViewConstantBuffer_t) 0 "g_nDataIdx" MemberName 19(PerViewConstantBuffer_t) 0 "g_nDataIdx"
MemberName 19(PerViewConstantBuffer_t) 1 "g_nDataIdx2" MemberName 19(PerViewConstantBuffer_t) 1 "g_nDataIdx2"
@ -93,13 +93,13 @@ PS_OUTPUT MainPs ( PS_INPUT i )
Decorate 75(@entryPointOutput.vColor) Location 0 Decorate 75(@entryPointOutput.vColor) Location 0
3: TypeVoid 3: TypeVoid
4: TypeFunction 3 4: TypeFunction 3
7: TypeFloat 32 8: TypeFloat 32
8: TypeVector 7(float) 2 9: TypeVector 8(float) 2
9(PS_INPUT): TypeStruct 8(fvec2) 10(PS_INPUT): TypeStruct 9(fvec2)
10: TypePointer Function 9(PS_INPUT) 11: TypePointer Function 10(PS_INPUT)
11: TypeVector 7(float) 4 12: TypeVector 8(float) 4
12(PS_OUTPUT): TypeStruct 11(fvec4) 13(PS_OUTPUT): TypeStruct 12(fvec4)
13: TypeFunction 12(PS_OUTPUT) 10(ptr) 14: TypeFunction 13(PS_OUTPUT) 11(ptr)
18: TypeInt 32 0 18: TypeInt 32 0
19(PerViewConstantBuffer_t): TypeStruct 18(int) 18(int) 18(int) 19(PerViewConstantBuffer_t): TypeStruct 18(int) 18(int) 18(int)
20: TypePointer PushConstant 19(PerViewConstantBuffer_t) 20: TypePointer PushConstant 19(PerViewConstantBuffer_t)
@ -112,8 +112,8 @@ PS_OUTPUT MainPs ( PS_INPUT i )
33: TypePointer Function 18(int) 33: TypePointer Function 18(int)
35: 22(int) Constant 0 35: 22(int) Constant 0
39: 22(int) Constant 1 39: 22(int) Constant 1
43: TypePointer Function 12(PS_OUTPUT) 43: TypePointer Function 13(PS_OUTPUT)
45: TypeImage 7(float) 2D sampled format:Unknown 45: TypeImage 8(float) 2D sampled format:Unknown
46: 18(int) Constant 128 46: 18(int) Constant 128
47: TypeArray 45 46 47: TypeArray 45 46
48: TypePointer UniformConstant 47 48: TypePointer UniformConstant 47
@ -123,35 +123,35 @@ PS_OUTPUT MainPs ( PS_INPUT i )
55: TypePointer UniformConstant 54 55: TypePointer UniformConstant 54
56(g_sAniso): 55(ptr) Variable UniformConstant 56(g_sAniso): 55(ptr) Variable UniformConstant
58: TypeSampledImage 45 58: TypeSampledImage 45
60: TypePointer Function 8(fvec2) 60: TypePointer Function 9(fvec2)
64: TypePointer Function 11(fvec4) 64: TypePointer Function 12(fvec4)
70: TypePointer Input 8(fvec2) 70: TypePointer Input 9(fvec2)
71(i.vTextureCoords): 70(ptr) Variable Input 71(i.vTextureCoords): 70(ptr) Variable Input
74: TypePointer Output 11(fvec4) 74: TypePointer Output 12(fvec4)
75(@entryPointOutput.vColor): 74(ptr) Variable Output 75(@entryPointOutput.vColor): 74(ptr) Variable Output
Line 17 23 1 Line 7 23 1
5(MainPs): 3 Function None 4 5(MainPs): 3 Function None 4
6: Label 6: Label
69(i): 10(ptr) Variable Function 69(i): 11(ptr) Variable Function
76(param): 10(ptr) Variable Function 76(param): 11(ptr) Variable Function
Line 17 23 0 Line 7 23 0
72: 8(fvec2) Load 71(i.vTextureCoords) 72: 9(fvec2) Load 71(i.vTextureCoords)
73: 60(ptr) AccessChain 69(i) 35 73: 60(ptr) AccessChain 69(i) 35
Store 73 72 Store 73 72
77: 9(PS_INPUT) Load 69(i) 77:10(PS_INPUT) Load 69(i)
Store 76(param) 77 Store 76(param) 77
78:12(PS_OUTPUT) FunctionCall 15(@MainPs(struct-PS_INPUT-vf21;) 76(param) 78:13(PS_OUTPUT) FunctionCall 16(@MainPs(struct-PS_INPUT-vf21;) 76(param)
79: 11(fvec4) CompositeExtract 78 0 79: 12(fvec4) CompositeExtract 78 0
Store 75(@entryPointOutput.vColor) 79 Store 75(@entryPointOutput.vColor) 79
Return Return
FunctionEnd FunctionEnd
Line 17 23 1 Line 7 23 1
15(@MainPs(struct-PS_INPUT-vf21;):12(PS_OUTPUT) Function None 13 16(@MainPs(struct-PS_INPUT-vf21;):13(PS_OUTPUT) Function None 14
14(i): 10(ptr) FunctionParameter 15(i): 11(ptr) FunctionParameter
16: Label 17: Label
34(u): 33(ptr) Variable Function 34(u): 33(ptr) Variable Function
44(ps_output): 43(ptr) Variable Function 44(ps_output): 43(ptr) Variable Function
Line 17 47 0 Line 7 47 0
25: 24(ptr) AccessChain 21 23 25: 24(ptr) AccessChain 21 23
26: 18(int) Load 25 26: 18(int) Load 25
29: 27(bool) INotEqual 26 28 29: 27(bool) INotEqual 26 28
@ -176,12 +176,12 @@ PS_OUTPUT MainPs ( PS_INPUT i )
53: 45 Load 52 53: 45 Load 52
57: 54 Load 56(g_sAniso) 57: 54 Load 56(g_sAniso)
59: 58 SampledImage 53 57 59: 58 SampledImage 53 57
61: 60(ptr) AccessChain 14(i) 35 61: 60(ptr) AccessChain 15(i) 35
62: 8(fvec2) Load 61 62: 9(fvec2) Load 61
63: 11(fvec4) ImageSampleImplicitLod 59 62 63: 12(fvec4) ImageSampleImplicitLod 59 62
65: 64(ptr) AccessChain 44(ps_output) 35 65: 64(ptr) AccessChain 44(ps_output) 35
Store 65 63 Store 65 63
Line 42 105 0 Line 42 105 0
66:12(PS_OUTPUT) Load 44(ps_output) 66:13(PS_OUTPUT) Load 44(ps_output)
ReturnValue 66 ReturnValue 66
FunctionEnd FunctionEnd

View file

@ -9,7 +9,7 @@ hlsl.pp.line4.frag
EntryPoint Fragment 5 "MainPs" 70 74 EntryPoint Fragment 5 "MainPs" 70 74
ExecutionMode 5 OriginUpperLeft ExecutionMode 5 OriginUpperLeft
1: String "hlsl.pp.line4.frag" 1: String "hlsl.pp.line4.frag"
17: String "C:\\Users\\Greg\\shaders\\line\\foo4.frag" 7: String "C:\\Users\\Greg\\shaders\\line\\foo4.frag"
32: String "C:\\Users\\Greg\\shaders\\line\\u1.h" 32: String "C:\\Users\\Greg\\shaders\\line\\u1.h"
Source HLSL 500 1 "// OpModuleProcessed auto-map-locations Source HLSL 500 1 "// OpModuleProcessed auto-map-locations
// OpModuleProcessed auto-map-bindings // OpModuleProcessed auto-map-bindings
@ -84,9 +84,9 @@ PS_OUTPUT MainPs ( PS_INPUT i )
Decorate 74(@entryPointOutput.vColor) Location 0 Decorate 74(@entryPointOutput.vColor) Location 0
3: TypeVoid 3: TypeVoid
4: TypeFunction 3 4: TypeFunction 3
7: TypeFloat 32 8: TypeFloat 32
8: TypeVector 7(float) 2 9: TypeVector 8(float) 2
11: TypeVector 7(float) 4 12: TypeVector 8(float) 4
18: TypeInt 32 0 18: TypeInt 32 0
19(PerViewConstantBuffer_t): TypeStruct 18(int) 18(int) 18(int) 19(PerViewConstantBuffer_t): TypeStruct 18(int) 18(int) 18(int)
20: TypePointer PushConstant 19(PerViewConstantBuffer_t) 20: TypePointer PushConstant 19(PerViewConstantBuffer_t)
@ -98,7 +98,7 @@ PS_OUTPUT MainPs ( PS_INPUT i )
28: 18(int) Constant 0 28: 18(int) Constant 0
35: 22(int) Constant 0 35: 22(int) Constant 0
39: 22(int) Constant 1 39: 22(int) Constant 1
44: TypeImage 7(float) 2D sampled format:Unknown 44: TypeImage 8(float) 2D sampled format:Unknown
45: 18(int) Constant 128 45: 18(int) Constant 128
46: TypeArray 44 45 46: TypeArray 44 45
47: TypePointer UniformConstant 46 47: TypePointer UniformConstant 46
@ -108,17 +108,17 @@ PS_OUTPUT MainPs ( PS_INPUT i )
54: TypePointer UniformConstant 53 54: TypePointer UniformConstant 53
55(g_sAniso): 54(ptr) Variable UniformConstant 55(g_sAniso): 54(ptr) Variable UniformConstant
57: TypeSampledImage 44 57: TypeSampledImage 44
69: TypePointer Input 8(fvec2) 69: TypePointer Input 9(fvec2)
70(i.vTextureCoords): 69(ptr) Variable Input 70(i.vTextureCoords): 69(ptr) Variable Input
73: TypePointer Output 11(fvec4) 73: TypePointer Output 12(fvec4)
74(@entryPointOutput.vColor): 73(ptr) Variable Output 74(@entryPointOutput.vColor): 73(ptr) Variable Output
Line 17 25 1 Line 7 25 1
5(MainPs): 3 Function None 4 5(MainPs): 3 Function None 4
NoLine NoLine
6: Label 6: Label
Line 17 25 0 Line 7 25 0
71: 8(fvec2) Load 70(i.vTextureCoords) 71: 9(fvec2) Load 70(i.vTextureCoords)
Line 17 29 0 Line 7 29 0
83: 24(ptr) AccessChain 21 23 83: 24(ptr) AccessChain 21 23
84: 18(int) Load 83 84: 18(int) Load 83
85: 27(bool) INotEqual 84 28 85: 27(bool) INotEqual 84 28
@ -130,19 +130,19 @@ PS_OUTPUT MainPs ( PS_INPUT i )
88: 18(int) Load 87 88: 18(int) Load 87
Branch 92 Branch 92
89: Label 89: Label
Line 17 32 0 Line 7 32 0
90: 24(ptr) AccessChain 21 39 90: 24(ptr) AccessChain 21 39
91: 18(int) Load 90 91: 18(int) Load 90
Branch 92 Branch 92
92: Label 92: Label
115: 18(int) Phi 88 86 91 89 115: 18(int) Phi 88 86 91 89
Line 17 33 0 Line 7 33 0
94: 50(ptr) AccessChain 48(g_tColor) 115 94: 50(ptr) AccessChain 48(g_tColor) 115
95: 44 Load 94 95: 44 Load 94
96: 53 Load 55(g_sAniso) 96: 53 Load 55(g_sAniso)
97: 57 SampledImage 95 96 97: 57 SampledImage 95 96
100: 11(fvec4) ImageSampleImplicitLod 97 71 100: 12(fvec4) ImageSampleImplicitLod 97 71
Line 17 25 0 Line 7 25 0
Store 74(@entryPointOutput.vColor) 100 Store 74(@entryPointOutput.vColor) 100
Return Return
FunctionEnd FunctionEnd

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -29,10 +29,10 @@ spv.debuginfo.hlsl.geom
" "
31: String "Color" 31: String "Color"
36: String "VSOutput" 36: String "VSOutput"
49: String "PrimitiveID" 50: String "PrimitiveID"
54: String "LightVec" 55: String "LightVec"
60: String "GSOutput" 61: String "GSOutput"
73: String "@main" 74: String "@main"
77: String "input" 77: String "input"
83: String "outStream" 83: String "outStream"
87: String "InvocationID" 87: String "InvocationID"
@ -60,19 +60,19 @@ spv.debuginfo.hlsl.geom
MemberName 23(VSOutput) 0 "Pos" MemberName 23(VSOutput) 0 "Pos"
MemberName 23(VSOutput) 1 "Normal" MemberName 23(VSOutput) 1 "Normal"
MemberName 23(VSOutput) 2 "Color" MemberName 23(VSOutput) 2 "Color"
Name 45 "GSOutput" Name 46 "GSOutput"
MemberName 45(GSOutput) 0 "Pos" MemberName 46(GSOutput) 0 "Pos"
MemberName 45(GSOutput) 1 "ViewportIndex" MemberName 46(GSOutput) 1 "ViewportIndex"
MemberName 45(GSOutput) 2 "PrimitiveID" MemberName 46(GSOutput) 2 "PrimitiveID"
MemberName 45(GSOutput) 3 "Normal" MemberName 46(GSOutput) 3 "Normal"
MemberName 45(GSOutput) 4 "Color" MemberName 46(GSOutput) 4 "Color"
MemberName 45(GSOutput) 5 "ViewVec" MemberName 46(GSOutput) 5 "ViewVec"
MemberName 45(GSOutput) 6 "LightVec" MemberName 46(GSOutput) 6 "LightVec"
Name 71 "@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;" Name 72 "@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;"
Name 67 "input" Name 68 "input"
Name 68 "outStream" Name 69 "outStream"
Name 69 "InvocationID" Name 70 "InvocationID"
Name 70 "PrimitiveID" Name 71 "PrimitiveID"
Name 97 "i" Name 97 "i"
Name 119 "output" Name 119 "output"
Name 145 "UBO" Name 145 "UBO"
@ -155,61 +155,61 @@ spv.debuginfo.hlsl.geom
30: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 31 22 26 32 33 16 16 17 30: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 31 22 26 32 33 16 16 17
34: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 31 22 26 32 33 16 16 17 34: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 31 22 26 32 33 16 16 17
37: 11(int) Constant 1 37: 11(int) Constant 1
39: 11(int) Constant 5 38: 11(int) Constant 56
38: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 37 19 26 39 40: 11(int) Constant 5
35: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 36 37 26 16 16 38 36 16 17 24 30 34 39: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 37 19 26 40
40: TypeArray 23(VSOutput) 17 35: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 36 37 26 38 16 39 36 16 17 24 30 34
41: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 35 17 41: TypeArray 23(VSOutput) 17
42: TypePointer Function 40 42: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 35 17
43: 11(int) Constant 7 43: TypePointer Function 41
44: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 41 43 16 44: 11(int) Constant 7
45(GSOutput): TypeStruct 18(fvec4) 11(int) 11(int) 21(fvec3) 21(fvec3) 21(fvec3) 21(fvec3) 45: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 42 44 16
47: 11(int) Constant 44 46(GSOutput): TypeStruct 18(fvec4) 11(int) 11(int) 21(fvec3) 21(fvec3) 21(fvec3) 21(fvec3)
46: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 25 20 26 47 29 16 16 17 48: 11(int) Constant 44
50: 11(int) Constant 46 47: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 25 20 26 48 29 16 16 17
51: 11(int) Constant 19 51: 11(int) Constant 46
48: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 13 26 50 51 16 16 17 52: 11(int) Constant 19
52: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 13 26 50 51 16 16 17 49: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 50 13 26 51 52 16 16 17
55: 11(int) Constant 50 53: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 50 13 26 51 52 16 16 17
53: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17 56: 11(int) Constant 50
56: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17 54: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 55 22 26 56 28 16 16 17
57: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17 57: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 55 22 26 56 28 16 16 17
58: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17 58: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 55 22 26 56 28 16 16 17
59: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 60 37 26 16 16 38 60 16 17 46 48 52 53 56 57 58 59: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 55 22 26 56 28 16 16 17
61: TypePointer Function 45(GSOutput) 60: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 61 37 26 38 16 39 61 16 17 47 49 53 54 57 58 59
62: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 59 43 16 62: TypePointer Function 46(GSOutput)
63: TypePointer Function 11(int) 63: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 60 44 16
64: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 43 16 64: TypePointer Function 11(int)
65: TypeFunction 4 42(ptr) 61(ptr) 63(ptr) 63(ptr) 65: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 44 16
66: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 41 59 13 13 66: TypeFunction 4 43(ptr) 62(ptr) 64(ptr) 64(ptr)
75: 11(int) Constant 56 67: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 42 60 13 13
74: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 73 66 26 75 16 38 73 17 75 75: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 74 67 26 38 16 39 74 17 38
76: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 77 41 26 75 16 74 19 37 76: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 77 42 26 38 16 75 19 37
79: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) 79: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
84: 11(int) Constant 2 84: 11(int) Constant 2
82: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 59 26 75 16 74 19 84 82: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 60 26 38 16 75 19 84
86: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 87 13 26 75 16 74 19 17 86: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 87 13 26 38 16 75 19 17
89: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 13 26 75 16 74 19 19 89: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 50 13 26 38 16 75 19 19
92: TypeInt 32 1 92: TypeInt 32 1
94: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 93 14 19 16 94: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 93 14 19 16
95: TypePointer Function 92(int) 95: TypePointer Function 92(int)
96: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 94 43 16 96: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 94 44 16
100: 11(int) Constant 57 100: 11(int) Constant 57
98: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 99 94 26 100 16 74 19 98: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 99 94 26 100 16 75 19
103: 92(int) Constant 0 103: 92(int) Constant 0
114: 92(int) Constant 3 114: 92(int) Constant 3
115: TypeBool 115: TypeBool
117: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 116 14 84 16 117: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 116 14 84 16
122: 11(int) Constant 59 122: 11(int) Constant 59
120: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 121 59 26 122 16 74 19 120: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 121 60 26 122 16 75 19
126: 8(float) Constant 0 126: 8(float) Constant 0
127: 18(fvec4) ConstantComposite 126 126 126 126 127: 18(fvec4) ConstantComposite 126 126 126 126
128: 21(fvec3) ConstantComposite 126 126 126 128: 21(fvec3) ConstantComposite 126 126 126
129:45(GSOutput) ConstantComposite 127 16 16 128 128 128 128 129:46(GSOutput) ConstantComposite 127 16 16 128 128 128 128
132: 11(int) Constant 60 132: 11(int) Constant 60
133: 92(int) Constant 1 133: 92(int) Constant 1
134: TypePointer Function 21(fvec3) 134: TypePointer Function 21(fvec3)
135: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 43 16 135: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 44 16
138: TypeMatrix 18(fvec4) 4 138: TypeMatrix 18(fvec4) 4
140: 115(bool) ConstantTrue 140: 115(bool) ConstantTrue
139: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 140 139: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 140
@ -227,16 +227,16 @@ spv.debuginfo.hlsl.geom
156: 11(int) Constant 30 156: 11(int) Constant 30
157: 11(int) Constant 17 157: 11(int) Constant 17
154: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 20 26 156 157 16 16 17 154: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 20 26 156 157 16 16 17
158: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 159 37 26 132 16 38 159 16 17 146 150 154 158: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 159 37 26 132 16 39 159 16 17 146 150 154
160(ubo): TypeStruct 145(UBO) 160(ubo): TypeStruct 145(UBO)
163: 11(int) Constant 33 163: 11(int) Constant 33
161: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 158 26 163 28 16 16 17 161: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 158 26 163 28 16 16 17
164: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 162 37 26 132 16 38 162 16 17 161 164: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 162 37 26 132 16 39 162 16 17 161
165: TypePointer Uniform 160(ubo) 165: TypePointer Uniform 160(ubo)
166: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 164 84 16 166: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 164 84 16
167: 165(ptr) Variable Uniform 167: 165(ptr) Variable Uniform
169: 11(int) Constant 8 169: 11(int) Constant 8
168: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 2 164 26 132 16 38 2 167 169 168: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 2 164 26 132 16 39 2 167 169
171: TypePointer Uniform 138 171: TypePointer Uniform 138
172: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 139 84 16 172: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 139 84 16
175: TypeMatrix 21(fvec3) 3 175: TypeMatrix 21(fvec3) 3
@ -245,13 +245,13 @@ spv.debuginfo.hlsl.geom
189: 11(int) Constant 61 189: 11(int) Constant 61
190: 92(int) Constant 2 190: 92(int) Constant 2
194: TypePointer Function 18(fvec4) 194: TypePointer Function 18(fvec4)
195: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 43 16 195: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 44 16
199: 11(int) Constant 63 199: 11(int) Constant 63
197: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 198 20 26 199 16 74 19 197: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 198 20 26 199 16 75 19
208: 11(int) Constant 64 208: 11(int) Constant 64
206: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 207 20 26 208 16 74 19 206: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 207 20 26 208 16 75 19
219: 11(int) Constant 66 219: 11(int) Constant 66
217: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 218 22 26 219 16 74 19 217: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 218 22 26 219 16 75 19
222: TypePointer Uniform 18(fvec4) 222: TypePointer Uniform 18(fvec4)
223: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 84 16 223: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 84 16
231: 92(int) Constant 6 231: 92(int) Constant 6
@ -265,23 +265,23 @@ spv.debuginfo.hlsl.geom
263: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 17 16 263: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 17 16
264(outStream.Pos): 262(ptr) Variable Output 264(outStream.Pos): 262(ptr) Variable Output
267: 11(int) Constant 75 267: 11(int) Constant 75
265: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 266 20 26 267 16 38 266 264(outStream.Pos) 169 265: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 266 20 26 267 16 39 266 264(outStream.Pos) 169
271: TypePointer Output 11(int) 271: TypePointer Output 11(int)
272: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 17 16 272: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 17 16
273(outStream.ViewportIndex): 271(ptr) Variable Output 273(outStream.ViewportIndex): 271(ptr) Variable Output
274: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 275 13 26 267 16 38 275 273(outStream.ViewportIndex) 169 274: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 275 13 26 267 16 39 275 273(outStream.ViewportIndex) 169
278(outStream.PrimitiveID): 271(ptr) Variable Output 278(outStream.PrimitiveID): 271(ptr) Variable Output
279: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 280 13 26 267 16 38 280 278(outStream.PrimitiveID) 169 279: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 280 13 26 267 16 39 280 278(outStream.PrimitiveID) 169
283: TypePointer Output 21(fvec3) 283: TypePointer Output 21(fvec3)
284: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 17 16 284: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 17 16
285(outStream.Normal): 283(ptr) Variable Output 285(outStream.Normal): 283(ptr) Variable Output
286: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 287 22 26 267 16 38 287 285(outStream.Normal) 169 286: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 287 22 26 267 16 39 287 285(outStream.Normal) 169
290(outStream.Color): 283(ptr) Variable Output 290(outStream.Color): 283(ptr) Variable Output
291: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 292 22 26 267 16 38 292 290(outStream.Color) 169 291: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 292 22 26 267 16 39 292 290(outStream.Color) 169
295(outStream.ViewVec): 283(ptr) Variable Output 295(outStream.ViewVec): 283(ptr) Variable Output
296: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 297 22 26 267 16 38 297 295(outStream.ViewVec) 169 296: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 297 22 26 267 16 39 297 295(outStream.ViewVec) 169
300(outStream.LightVec): 283(ptr) Variable Output 300(outStream.LightVec): 283(ptr) Variable Output
301: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 302 22 26 267 16 38 302 300(outStream.LightVec) 169 301: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 302 22 26 267 16 39 302 300(outStream.LightVec) 169
311: 11(int) Constant 78 311: 11(int) Constant 78
313: TypeArray 18(fvec4) 17 313: TypeArray 18(fvec4) 17
314: TypePointer Input 313 314: TypePointer Input 313
@ -297,14 +297,14 @@ spv.debuginfo.hlsl.geom
354(PrimitiveID): 350(ptr) Variable Input 354(PrimitiveID): 350(ptr) Variable Input
6(main): 4 Function None 5 6(main): 4 Function None 5
7: Label 7: Label
312(input): 42(ptr) Variable Function 312(input): 43(ptr) Variable Function
349(InvocationID): 63(ptr) Variable Function 349(InvocationID): 64(ptr) Variable Function
353(PrimitiveID): 63(ptr) Variable Function 353(PrimitiveID): 64(ptr) Variable Function
356(outStream): 61(ptr) Variable Function 356(outStream): 62(ptr) Variable Function
357(param): 42(ptr) Variable Function 357(param): 43(ptr) Variable Function
359(param): 61(ptr) Variable Function 359(param): 62(ptr) Variable Function
360(param): 63(ptr) Variable Function 360(param): 64(ptr) Variable Function
362(param): 63(ptr) Variable Function 362(param): 64(ptr) Variable Function
317: 316(ptr) AccessChain 315(input.Pos) 103 317: 316(ptr) AccessChain 315(input.Pos) 103
318: 18(fvec4) Load 317 318: 18(fvec4) Load 317
319: 194(ptr) AccessChain 312(input) 103 103 319: 194(ptr) AccessChain 312(input) 103 103
@ -345,60 +345,60 @@ spv.debuginfo.hlsl.geom
Store 349(InvocationID) 352 Store 349(InvocationID) 352
355: 11(int) Load 354(PrimitiveID) 355: 11(int) Load 354(PrimitiveID)
Store 353(PrimitiveID) 355 Store 353(PrimitiveID) 355
358: 40 Load 312(input) 358: 41 Load 312(input)
Store 357(param) 358 Store 357(param) 358
361: 11(int) Load 349(InvocationID) 361: 11(int) Load 349(InvocationID)
Store 360(param) 361 Store 360(param) 361
363: 11(int) Load 353(PrimitiveID) 363: 11(int) Load 353(PrimitiveID)
Store 362(param) 363 Store 362(param) 363
364: 4 FunctionCall 71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) 357(param) 359(param) 360(param) 362(param) 364: 4 FunctionCall 72(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) 357(param) 359(param) 360(param) 362(param)
365:45(GSOutput) Load 359(param) 365:46(GSOutput) Load 359(param)
Store 356(outStream) 365 Store 356(outStream) 365
Return Return
FunctionEnd FunctionEnd
71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;): 4 Function None 65 72(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;): 4 Function None 66
67(input): 42(ptr) FunctionParameter 68(input): 43(ptr) FunctionParameter
68(outStream): 61(ptr) FunctionParameter 69(outStream): 62(ptr) FunctionParameter
69(InvocationID): 63(ptr) FunctionParameter 70(InvocationID): 64(ptr) FunctionParameter
70(PrimitiveID): 63(ptr) FunctionParameter 71(PrimitiveID): 64(ptr) FunctionParameter
72: Label 73: Label
97(i): 95(ptr) Variable Function 97(i): 95(ptr) Variable Function
119(output): 61(ptr) Variable Function 119(output): 62(ptr) Variable Function
196(pos): 194(ptr) Variable Function 196(pos): 194(ptr) Variable Function
205(worldPos): 194(ptr) Variable Function 205(worldPos): 194(ptr) Variable Function
216(lPos): 134(ptr) Variable Function 216(lPos): 134(ptr) Variable Function
80: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74 80: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 75
81: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 75 75 16 16 81: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 38 38 16 16
78: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 76 67(input) 79 78: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 76 68(input) 79
85: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 68(outStream) 79 85: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 69(outStream) 79
88: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 86 69(InvocationID) 79 88: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 86 70(InvocationID) 79
90: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 89 70(PrimitiveID) 79 90: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 89 71(PrimitiveID) 79
91: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 74 71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) 91: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 75 72(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;)
102: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 100 100 16 16 102: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 100 100 16 16
101: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 98 97(i) 79 101: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 98 97(i) 79
Store 97(i) 103 Store 97(i) 103
Branch 104 Branch 104
104: Label 104: Label
108: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74 108: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 75
109: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 100 100 16 16 109: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 100 100 16 16
LoopMerge 106 107 None LoopMerge 106 107 None
Branch 110 Branch 110
110: Label 110: Label
112: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74 112: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 75
113: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 100 100 16 16 113: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 100 100 16 16
111: 92(int) Load 97(i) 111: 92(int) Load 97(i)
118: 115(bool) SLessThan 111 114 118: 115(bool) SLessThan 111 114
BranchConditional 118 105 106 BranchConditional 118 105 106
105: Label 105: Label
124: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74 124: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 75
125: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 122 122 16 16 125: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 122 122 16 16
123: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 120 119(output) 79 123: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 120 119(output) 79
Store 119(output) 129 Store 119(output) 129
131: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 132 132 16 16 131: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 132 132 16 16
130: 92(int) Load 97(i) 130: 92(int) Load 97(i)
136: 134(ptr) AccessChain 67(input) 130 133 136: 134(ptr) AccessChain 68(input) 130 133
137: 21(fvec3) Load 136 137: 21(fvec3) Load 136
170: 11(int) Load 69(InvocationID) 170: 11(int) Load 70(InvocationID)
173: 171(ptr) AccessChain 167 103 133 170 173: 171(ptr) AccessChain 167 103 133 170
174: 138 Load 173 174: 138 Load 173
177: 18(fvec4) CompositeExtract 174 0 177: 18(fvec4) CompositeExtract 174 0
@ -413,20 +413,20 @@ spv.debuginfo.hlsl.geom
Store 185 184 Store 185 184
188: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 189 189 16 16 188: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 189 189 16 16
187: 92(int) Load 97(i) 187: 92(int) Load 97(i)
191: 134(ptr) AccessChain 67(input) 187 190 191: 134(ptr) AccessChain 68(input) 187 190
192: 21(fvec3) Load 191 192: 21(fvec3) Load 191
193: 134(ptr) AccessChain 119(output) 186 193: 134(ptr) AccessChain 119(output) 186
Store 193 192 Store 193 192
201: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 199 199 16 16 201: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 199 199 16 16
200: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 197 196(pos) 79 200: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 197 196(pos) 79
202: 92(int) Load 97(i) 202: 92(int) Load 97(i)
203: 194(ptr) AccessChain 67(input) 202 103 203: 194(ptr) AccessChain 68(input) 202 103
204: 18(fvec4) Load 203 204: 18(fvec4) Load 203
Store 196(pos) 204 Store 196(pos) 204
210: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 208 208 16 16 210: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 208 208 16 16
209: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 206 205(worldPos) 79 209: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 206 205(worldPos) 79
211: 18(fvec4) Load 196(pos) 211: 18(fvec4) Load 196(pos)
212: 11(int) Load 69(InvocationID) 212: 11(int) Load 70(InvocationID)
213: 171(ptr) AccessChain 167 103 133 212 213: 171(ptr) AccessChain 167 103 133 212
214: 138 Load 213 214: 138 Load 213
215: 18(fvec4) VectorTimesMatrix 211 214 215: 18(fvec4) VectorTimesMatrix 211 214
@ -435,7 +435,7 @@ spv.debuginfo.hlsl.geom
220: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 217 216(lPos) 79 220: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 217 216(lPos) 79
224: 222(ptr) AccessChain 167 103 190 224: 222(ptr) AccessChain 167 103 190
225: 18(fvec4) Load 224 225: 18(fvec4) Load 224
226: 11(int) Load 69(InvocationID) 226: 11(int) Load 70(InvocationID)
227: 171(ptr) AccessChain 167 103 133 226 227: 171(ptr) AccessChain 167 103 133 226
228: 138 Load 227 228: 138 Load 227
229: 18(fvec4) VectorTimesMatrix 225 228 229: 18(fvec4) VectorTimesMatrix 225 228
@ -456,28 +456,28 @@ spv.debuginfo.hlsl.geom
Store 245 244 Store 245 244
247: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 248 248 16 16 247: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 248 248 16 16
246: 18(fvec4) Load 205(worldPos) 246: 18(fvec4) Load 205(worldPos)
249: 11(int) Load 69(InvocationID) 249: 11(int) Load 70(InvocationID)
250: 171(ptr) AccessChain 167 103 103 249 250: 171(ptr) AccessChain 167 103 103 249
251: 138 Load 250 251: 138 Load 250
252: 18(fvec4) VectorTimesMatrix 246 251 252: 18(fvec4) VectorTimesMatrix 246 251
253: 194(ptr) AccessChain 119(output) 103 253: 194(ptr) AccessChain 119(output) 103
Store 253 252 Store 253 252
255: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 256 256 16 16 255: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 256 256 16 16
254: 11(int) Load 69(InvocationID) 254: 11(int) Load 70(InvocationID)
257: 63(ptr) AccessChain 119(output) 133 257: 64(ptr) AccessChain 119(output) 133
Store 257 254 Store 257 254
259: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 260 260 16 16 259: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 260 260 16 16
258: 11(int) Load 70(PrimitiveID) 258: 11(int) Load 71(PrimitiveID)
261: 63(ptr) AccessChain 119(output) 190 261: 64(ptr) AccessChain 119(output) 190
Store 261 258 Store 261 258
269: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 267 267 16 16 269: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 267 267 16 16
268: 194(ptr) AccessChain 119(output) 103 268: 194(ptr) AccessChain 119(output) 103
270: 18(fvec4) Load 268 270: 18(fvec4) Load 268
Store 264(outStream.Pos) 270 Store 264(outStream.Pos) 270
276: 63(ptr) AccessChain 119(output) 133 276: 64(ptr) AccessChain 119(output) 133
277: 11(int) Load 276 277: 11(int) Load 276
Store 273(outStream.ViewportIndex) 277 Store 273(outStream.ViewportIndex) 277
281: 63(ptr) AccessChain 119(output) 190 281: 64(ptr) AccessChain 119(output) 190
282: 11(int) Load 281 282: 11(int) Load 281
Store 278(outStream.PrimitiveID) 282 Store 278(outStream.PrimitiveID) 282
288: 134(ptr) AccessChain 119(output) 114 288: 134(ptr) AccessChain 119(output) 114
@ -495,14 +495,14 @@ spv.debuginfo.hlsl.geom
EmitVertex EmitVertex
Branch 107 Branch 107
107: Label 107: Label
306: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74 306: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 75
307: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 100 100 16 16 307: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 100 100 16 16
305: 92(int) Load 97(i) 305: 92(int) Load 97(i)
308: 92(int) IAdd 305 133 308: 92(int) IAdd 305 133
Store 97(i) 308 Store 97(i) 308
Branch 104 Branch 104
106: Label 106: Label
309: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74 309: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 75
310: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 311 311 16 16 310: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 311 311 16 16
EndPrimitive EndPrimitive
Return Return

File diff suppressed because it is too large Load diff

View file

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

View file

@ -27,10 +27,10 @@ spv.debuginfo.hlsl.vert
43: String "instanceScale" 43: String "instanceScale"
47: String "instanceTexIndex" 47: String "instanceTexIndex"
51: String "VSInput" 51: String "VSInput"
62: String "Pos" 63: String "Pos"
66: String "LightVec" 67: String "LightVec"
73: String "VSOutput" 74: String "VSOutput"
79: String "@main" 80: String "@main"
83: String "input" 83: String "input"
93: String "output" 93: String "output"
130: String "s" 130: String "s"
@ -59,15 +59,15 @@ spv.debuginfo.hlsl.vert
MemberName 27(VSInput) 5 "instanceRot" MemberName 27(VSInput) 5 "instanceRot"
MemberName 27(VSInput) 6 "instanceScale" MemberName 27(VSInput) 6 "instanceScale"
MemberName 27(VSInput) 7 "instanceTexIndex" MemberName 27(VSInput) 7 "instanceTexIndex"
Name 60 "VSOutput" Name 61 "VSOutput"
MemberName 60(VSOutput) 0 "Pos" MemberName 61(VSOutput) 0 "Pos"
MemberName 60(VSOutput) 1 "Normal" MemberName 61(VSOutput) 1 "Normal"
MemberName 60(VSOutput) 2 "Color" MemberName 61(VSOutput) 2 "Color"
MemberName 60(VSOutput) 3 "UV" MemberName 61(VSOutput) 3 "UV"
MemberName 60(VSOutput) 4 "ViewVec" MemberName 61(VSOutput) 4 "ViewVec"
MemberName 60(VSOutput) 5 "LightVec" MemberName 61(VSOutput) 5 "LightVec"
Name 77 "@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;" Name 78 "@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;"
Name 76 "input" Name 77 "input"
Name 91 "output" Name 91 "output"
Name 128 "s" Name 128 "s"
Name 143 "UBO" Name 143 "UBO"
@ -169,126 +169,126 @@ spv.debuginfo.hlsl.vert
49: 11(int) Constant 42 49: 11(int) Constant 42
46: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 47 25 30 48 49 16 16 17 46: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 47 25 30 48 49 16 16 17
52: 11(int) Constant 1 52: 11(int) Constant 1
54: 11(int) Constant 5 53: 11(int) Constant 62
53: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 52 26 30 54 55: 11(int) Constant 5
50: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 51 52 30 16 16 53 51 16 17 28 34 35 39 40 41 42 46 54: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 52 26 30 55
55: TypePointer Function 27(VSInput) 50: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 51 52 30 53 16 54 51 16 17 28 34 35 39 40 41 42 46
56: 11(int) Constant 7 56: TypePointer Function 27(VSInput)
57: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 50 56 16 57: 11(int) Constant 7
58: TypeVector 8(float) 4 58: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 50 57 16
59: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 26 59: TypeVector 8(float) 4
60(VSOutput): TypeStruct 58(fvec4) 18(fvec3) 18(fvec3) 18(fvec3) 18(fvec3) 18(fvec3) 60: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 26
63: 11(int) Constant 53 61(VSOutput): TypeStruct 59(fvec4) 18(fvec3) 18(fvec3) 18(fvec3) 18(fvec3) 18(fvec3)
64: 11(int) Constant 13 64: 11(int) Constant 53
61: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 62 59 30 63 64 16 16 17 65: 11(int) Constant 13
67: 11(int) Constant 58 62: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 63 60 30 64 65 16 16 17
65: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 66 19 30 67 48 16 16 17 68: 11(int) Constant 58
68: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 66 19 30 67 48 16 16 17 66: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 67 19 30 68 48 16 16 17
69: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 66 19 30 67 48 16 16 17 69: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 67 19 30 68 48 16 16 17
70: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 66 19 30 67 48 16 16 17 70: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 67 19 30 68 48 16 16 17
71: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 66 19 30 67 48 16 16 17 71: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 67 19 30 68 48 16 16 17
72: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 73 52 30 16 16 53 73 16 17 61 65 68 69 70 71 72: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 67 19 30 68 48 16 16 17
74: TypeFunction 60(VSOutput) 55(ptr) 73: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 74 52 30 53 16 54 74 16 17 62 66 69 70 71 72
75: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 72 50 75: TypeFunction 61(VSOutput) 56(ptr)
81: 11(int) Constant 62 76: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 73 50
80: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 79 75 30 81 16 53 79 17 81 81: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 80 76 30 53 16 54 80 17 53
82: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 50 30 81 16 80 26 52 82: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 50 30 53 16 81 26 52
85: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) 85: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
89: TypePointer Function 60(VSOutput) 89: TypePointer Function 61(VSOutput)
90: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 72 56 16 90: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 73 57 16
94: 11(int) Constant 63 94: 11(int) Constant 63
92: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 93 72 30 94 16 80 26 92: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 93 73 30 94 16 81 26
97: 8(float) Constant 0 97: 8(float) Constant 0
98: 58(fvec4) ConstantComposite 97 97 97 97 98: 59(fvec4) ConstantComposite 97 97 97 97
99: 18(fvec3) ConstantComposite 97 97 97 99: 18(fvec3) ConstantComposite 97 97 97
100:60(VSOutput) ConstantComposite 98 99 99 99 99 99 100:61(VSOutput) ConstantComposite 98 99 99 99 99 99
101: 23(int) Constant 2 101: 23(int) Constant 2
102: 23(int) Constant 3 102: 23(int) Constant 3
103: TypePointer Function 18(fvec3) 103: TypePointer Function 18(fvec3)
104: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 19 56 16 104: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 19 57 16
107: 11(int) Constant 64 107: 11(int) Constant 64
110: TypePointer Function 20(fvec2) 110: TypePointer Function 20(fvec2)
111: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 56 16 111: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 57 16
114: 11(int) Constant 65 114: 11(int) Constant 65
116: 23(int) Constant 7 116: 23(int) Constant 7
117: TypePointer Function 23(int) 117: TypePointer Function 23(int)
118: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 25 56 16 118: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 25 57 16
126: TypePointer Function 8(float) 126: TypePointer Function 8(float)
127: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 56 16 127: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 57 16
131: 11(int) Constant 68 131: 11(int) Constant 68
129: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 130 10 30 131 16 80 26 129: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 130 10 30 131 16 81 26
134: 23(int) Constant 5 134: 23(int) Constant 5
137: TypeMatrix 58(fvec4) 4 137: TypeMatrix 59(fvec4) 4
139: TypeBool 139: TypeBool
141: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 21 16 141: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 21 16
142: 139(bool) ConstantTrue 142: 139(bool) ConstantTrue
138: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 59 26 142 138: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 60 26 142
143(UBO): TypeStruct 137 137 58(fvec4) 8(float) 8(float) 143(UBO): TypeStruct 137 137 59(fvec4) 8(float) 8(float)
146: 11(int) Constant 43 146: 11(int) Constant 43
147: 11(int) Constant 20 147: 11(int) Constant 20
144: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 145 138 30 146 147 16 16 17 144: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 145 138 30 146 147 16 16 17
148: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 145 138 30 146 147 16 16 17 148: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 145 138 30 146 147 16 16 17
151: 11(int) Constant 44 151: 11(int) Constant 44
152: 11(int) Constant 17 152: 11(int) Constant 17
149: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 59 30 151 152 16 16 17 149: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 60 30 151 152 16 16 17
155: 11(int) Constant 46 155: 11(int) Constant 46
153: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 154 10 30 155 152 16 16 17 153: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 154 10 30 155 152 16 16 17
156: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 154 10 30 155 152 16 16 17 156: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 154 10 30 155 152 16 16 17
157: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 158 52 30 131 16 53 158 16 17 144 148 149 153 156 157: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 158 52 30 131 16 54 158 16 17 144 148 149 153 156
159(ubo): TypeStruct 143(UBO) 159(ubo): TypeStruct 143(UBO)
162: 11(int) Constant 49 162: 11(int) Constant 49
160: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 157 30 162 48 16 16 17 160: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 157 30 162 48 16 16 17
163: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 161 52 30 131 16 53 161 16 17 160 163: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 161 52 30 131 16 54 161 16 17 160
164: TypePointer Uniform 159(ubo) 164: TypePointer Uniform 159(ubo)
165: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 163 21 16 165: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 163 21 16
166: 164(ptr) Variable Uniform 166: 164(ptr) Variable Uniform
168: 11(int) Constant 8 168: 11(int) Constant 8
167: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 2 163 30 131 16 53 2 166 168 167: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 2 163 30 131 16 54 2 166 168
169: 23(int) Constant 0 169: 23(int) Constant 0
170: TypePointer Uniform 8(float) 170: TypePointer Uniform 8(float)
171: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 21 16 171: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 21 16
179: 11(int) Constant 69 179: 11(int) Constant 69
177: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 178 10 30 179 16 80 26 177: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 178 10 30 179 16 81 26
188: TypeMatrix 18(fvec3) 3 188: TypeMatrix 18(fvec3) 3
189: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 19 17 142 189: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 19 17 142
190: TypePointer Function 188 190: TypePointer Function 188
191: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 189 56 16 191: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 189 57 16
195: 11(int) Constant 71 195: 11(int) Constant 71
193: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 194 189 30 195 16 80 26 193: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 194 189 30 195 16 81 26
203: 11(int) Constant 72 203: 11(int) Constant 72
205: 8(float) Constant 1065353216 205: 8(float) Constant 1065353216
213: 11(int) Constant 76 213: 11(int) Constant 76
221: 11(int) Constant 77 221: 11(int) Constant 77
230: 11(int) Constant 79 230: 11(int) Constant 79
228: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 229 189 30 230 16 80 26 228: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 229 189 30 230 16 81 26
238: 11(int) Constant 81 238: 11(int) Constant 81
247: 11(int) Constant 84 247: 11(int) Constant 84
255: 11(int) Constant 85 255: 11(int) Constant 85
264: 11(int) Constant 87 264: 11(int) Constant 87
262: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 263 189 30 264 16 80 26 262: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 263 189 30 264 16 81 26
269: 11(int) Constant 88 269: 11(int) Constant 88
274: 11(int) Constant 89 274: 11(int) Constant 89
284: 11(int) Constant 91 284: 11(int) Constant 91
282: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 283 189 30 284 16 80 26 282: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 283 189 30 284 16 81 26
294: 11(int) Constant 94 294: 11(int) Constant 94
296: 23(int) Constant 4 296: 23(int) Constant 4
303: 11(int) Constant 95 303: 11(int) Constant 95
309: TypePointer Function 137 309: TypePointer Function 137
310: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 138 56 16 310: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 138 57 16
314: 11(int) Constant 96 314: 11(int) Constant 96
312: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 313 138 30 314 16 80 26 312: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 313 138 30 314 16 81 26
321: TypePointer Function 58(fvec4) 321: TypePointer Function 59(fvec4)
322: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 59 56 16 322: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 60 57 16
324: 23(int) Constant 1 324: 23(int) Constant 1
325: 58(fvec4) ConstantComposite 97 205 97 97 325: 59(fvec4) ConstantComposite 97 205 97 97
328: 11(int) Constant 97 328: 11(int) Constant 97
331: 11(int) Constant 98 331: 11(int) Constant 98
335: 58(fvec4) ConstantComposite 97 97 97 205 335: 59(fvec4) ConstantComposite 97 97 97 205
338: 11(int) Constant 99 338: 11(int) Constant 99
342: 11(int) Constant 101 342: 11(int) Constant 101
340: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 341 59 30 342 16 80 26 340: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 341 60 30 342 16 81 26
356: 11(int) Constant 102 356: 11(int) Constant 102
354: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 355 59 30 356 16 80 26 354: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 355 60 30 356 16 81 26
361: 23(int) Constant 6 361: 23(int) Constant 6
374: 11(int) Constant 104 374: 11(int) Constant 104
377: TypePointer Uniform 137 377: TypePointer Uniform 137
@ -296,9 +296,9 @@ spv.debuginfo.hlsl.vert
388: 11(int) Constant 105 388: 11(int) Constant 105
407: 11(int) Constant 107 407: 11(int) Constant 107
422: 11(int) Constant 108 422: 11(int) Constant 108
420: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 421 19 30 422 16 80 26 420: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 421 19 30 422 16 81 26
425: TypePointer Uniform 58(fvec4) 425: TypePointer Uniform 59(fvec4)
426: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 59 21 16 426: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 60 21 16
442: 11(int) Constant 109 442: 11(int) Constant 109
449: 11(int) Constant 110 449: 11(int) Constant 110
455: 11(int) Constant 111 455: 11(int) Constant 111
@ -314,7 +314,7 @@ spv.debuginfo.hlsl.vert
481(input.instanceScale): 480(ptr) Variable Input 481(input.instanceScale): 480(ptr) Variable Input
484: TypePointer Input 23(int) 484: TypePointer Input 23(int)
485(input.instanceTexIndex): 484(ptr) Variable Input 485(input.instanceTexIndex): 484(ptr) Variable Input
492: TypePointer Output 58(fvec4) 492: TypePointer Output 59(fvec4)
493(@entryPointOutput.Pos): 492(ptr) Variable Output 493(@entryPointOutput.Pos): 492(ptr) Variable Output
496: TypePointer Output 18(fvec3) 496: TypePointer Output 18(fvec3)
497(@entryPointOutput.Normal): 496(ptr) Variable Output 497(@entryPointOutput.Normal): 496(ptr) Variable Output
@ -324,9 +324,9 @@ spv.debuginfo.hlsl.vert
509(@entryPointOutput.LightVec): 496(ptr) Variable Output 509(@entryPointOutput.LightVec): 496(ptr) Variable Output
6(main): 4 Function None 5 6(main): 4 Function None 5
7: Label 7: Label
459(input): 55(ptr) Variable Function 459(input): 56(ptr) Variable Function
488(flattenTemp): 89(ptr) Variable Function 488(flattenTemp): 89(ptr) Variable Function
489(param): 55(ptr) Variable Function 489(param): 56(ptr) Variable Function
462: 18(fvec3) Load 461(input.Pos) 462: 18(fvec3) Load 461(input.Pos)
463: 103(ptr) AccessChain 459(input) 169 463: 103(ptr) AccessChain 459(input) 169
Store 463 462 Store 463 462
@ -353,10 +353,10 @@ spv.debuginfo.hlsl.vert
Store 487 486 Store 487 486
490: 27(VSInput) Load 459(input) 490: 27(VSInput) Load 459(input)
Store 489(param) 490 Store 489(param) 490
491:60(VSOutput) FunctionCall 77(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) 489(param) 491:61(VSOutput) FunctionCall 78(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) 489(param)
Store 488(flattenTemp) 491 Store 488(flattenTemp) 491
494: 321(ptr) AccessChain 488(flattenTemp) 169 494: 321(ptr) AccessChain 488(flattenTemp) 169
495: 58(fvec4) Load 494 495: 59(fvec4) Load 494
Store 493(@entryPointOutput.Pos) 495 Store 493(@entryPointOutput.Pos) 495
498: 103(ptr) AccessChain 488(flattenTemp) 324 498: 103(ptr) AccessChain 488(flattenTemp) 324
499: 18(fvec3) Load 498 499: 18(fvec3) Load 498
@ -375,9 +375,9 @@ spv.debuginfo.hlsl.vert
Store 509(@entryPointOutput.LightVec) 511 Store 509(@entryPointOutput.LightVec) 511
Return Return
FunctionEnd FunctionEnd
77(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;):60(VSOutput) Function None 74 78(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;):61(VSOutput) Function None 75
76(input): 55(ptr) FunctionParameter 77(input): 56(ptr) FunctionParameter
78: Label 79: Label
91(output): 89(ptr) Variable Function 91(output): 89(ptr) Variable Function
128(s): 126(ptr) Variable Function 128(s): 126(ptr) Variable Function
176(c): 126(ptr) Variable Function 176(c): 126(ptr) Variable Function
@ -389,22 +389,22 @@ spv.debuginfo.hlsl.vert
339(locPos): 321(ptr) Variable Function 339(locPos): 321(ptr) Variable Function
353(pos): 321(ptr) Variable Function 353(pos): 321(ptr) Variable Function
419(lPos): 103(ptr) Variable Function 419(lPos): 103(ptr) Variable Function
86: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80 86: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 81
87: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 81 81 16 16 87: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 53 53 16 16
84: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 76(input) 85 84: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 77(input) 85
88: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 80 77(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;) 88: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 81 78(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;)
96: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 94 94 16 16 96: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 94 94 16 16
95: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 92 91(output) 85 95: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 92 91(output) 85
Store 91(output) 100 Store 91(output) 100
106: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 107 107 16 16 106: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 107 107 16 16
105: 103(ptr) AccessChain 76(input) 102 105: 103(ptr) AccessChain 77(input) 102
108: 18(fvec3) Load 105 108: 18(fvec3) Load 105
109: 103(ptr) AccessChain 91(output) 101 109: 103(ptr) AccessChain 91(output) 101
Store 109 108 Store 109 108
113: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 114 114 16 16 113: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 114 114 16 16
112: 110(ptr) AccessChain 76(input) 101 112: 110(ptr) AccessChain 77(input) 101
115: 20(fvec2) Load 112 115: 20(fvec2) Load 112
119: 117(ptr) AccessChain 76(input) 116 119: 117(ptr) AccessChain 77(input) 116
120: 23(int) Load 119 120: 23(int) Load 119
121: 8(float) ConvertSToF 120 121: 8(float) ConvertSToF 120
122: 8(float) CompositeExtract 115 0 122: 8(float) CompositeExtract 115 0
@ -414,7 +414,7 @@ spv.debuginfo.hlsl.vert
Store 125 124 Store 125 124
133: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 131 131 16 16 133: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 131 131 16 16
132: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 129 128(s) 85 132: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 129 128(s) 85
135: 126(ptr) AccessChain 76(input) 134 16 135: 126(ptr) AccessChain 77(input) 134 16
136: 8(float) Load 135 136: 8(float) Load 135
172: 170(ptr) AccessChain 166 169 102 172: 170(ptr) AccessChain 166 169 102
173: 8(float) Load 172 173: 8(float) Load 172
@ -423,7 +423,7 @@ spv.debuginfo.hlsl.vert
Store 128(s) 175 Store 128(s) 175
181: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 179 179 16 16 181: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 179 179 16 16
180: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 177 176(c) 85 180: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 177 176(c) 85
182: 126(ptr) AccessChain 76(input) 134 16 182: 126(ptr) AccessChain 77(input) 134 16
183: 8(float) Load 182 183: 8(float) Load 182
184: 170(ptr) AccessChain 166 169 102 184: 170(ptr) AccessChain 166 169 102
185: 8(float) Load 184 185: 8(float) Load 184
@ -445,7 +445,7 @@ spv.debuginfo.hlsl.vert
210: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 195 195 16 16 210: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 195 195 16 16
Store 192(mx) 209 Store 192(mx) 209
212: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 213 213 16 16 212: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 213 213 16 16
211: 126(ptr) AccessChain 76(input) 134 52 211: 126(ptr) AccessChain 77(input) 134 52
214: 8(float) Load 211 214: 8(float) Load 211
215: 170(ptr) AccessChain 166 169 102 215: 170(ptr) AccessChain 166 169 102
216: 8(float) Load 215 216: 8(float) Load 215
@ -453,7 +453,7 @@ spv.debuginfo.hlsl.vert
218: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 217 218: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 217
Store 128(s) 218 Store 128(s) 218
220: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 221 221 16 16 220: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 221 221 16 16
219: 126(ptr) AccessChain 76(input) 134 52 219: 126(ptr) AccessChain 77(input) 134 52
222: 8(float) Load 219 222: 8(float) Load 219
223: 170(ptr) AccessChain 166 169 102 223: 170(ptr) AccessChain 166 169 102
224: 8(float) Load 223 224: 8(float) Load 223
@ -475,7 +475,7 @@ spv.debuginfo.hlsl.vert
244: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 230 230 16 16 244: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 230 230 16 16
Store 227(my) 243 Store 227(my) 243
246: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 247 247 16 16 246: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 247 247 16 16
245: 126(ptr) AccessChain 76(input) 134 21 245: 126(ptr) AccessChain 77(input) 134 21
248: 8(float) Load 245 248: 8(float) Load 245
249: 170(ptr) AccessChain 166 169 102 249: 170(ptr) AccessChain 166 169 102
250: 8(float) Load 249 250: 8(float) Load 249
@ -483,7 +483,7 @@ spv.debuginfo.hlsl.vert
252: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 251 252: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 251
Store 128(s) 252 Store 128(s) 252
254: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 255 255 16 16 254: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 255 255 16 16
253: 126(ptr) AccessChain 76(input) 134 21 253: 126(ptr) AccessChain 77(input) 134 21
256: 8(float) Load 253 256: 8(float) Load 253
257: 170(ptr) AccessChain 166 169 102 257: 170(ptr) AccessChain 166 169 102
258: 8(float) Load 257 258: 8(float) Load 257
@ -514,7 +514,7 @@ spv.debuginfo.hlsl.vert
291: 188 MatrixTimesMatrix 289 290 291: 188 MatrixTimesMatrix 289 290
Store 281(rotMat) 291 Store 281(rotMat) 291
293: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 294 294 16 16 293: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 294 294 16 16
292: 126(ptr) AccessChain 76(input) 134 52 292: 126(ptr) AccessChain 77(input) 134 52
295: 8(float) Load 292 295: 8(float) Load 292
297: 170(ptr) AccessChain 166 169 296 297: 170(ptr) AccessChain 166 169 296
298: 8(float) Load 297 298: 8(float) Load 297
@ -522,7 +522,7 @@ spv.debuginfo.hlsl.vert
300: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 299 300: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 299
Store 128(s) 300 Store 128(s) 300
302: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 303 303 16 16 302: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 303 303 16 16
301: 126(ptr) AccessChain 76(input) 134 52 301: 126(ptr) AccessChain 77(input) 134 52
304: 8(float) Load 301 304: 8(float) Load 301
305: 170(ptr) AccessChain 166 169 296 305: 170(ptr) AccessChain 166 169 296
306: 8(float) Load 305 306: 8(float) Load 305
@ -534,7 +534,7 @@ spv.debuginfo.hlsl.vert
317: 8(float) Load 176(c) 317: 8(float) Load 176(c)
318: 8(float) Load 128(s) 318: 8(float) Load 128(s)
319: 8(float) FNegate 318 319: 8(float) FNegate 318
320: 58(fvec4) CompositeConstruct 317 97 319 97 320: 59(fvec4) CompositeConstruct 317 97 319 97
323: 321(ptr) AccessChain 311(gRotMat) 169 323: 321(ptr) AccessChain 311(gRotMat) 169
Store 323 320 Store 323 320
327: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 328 328 16 16 327: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 328 328 16 16
@ -543,7 +543,7 @@ spv.debuginfo.hlsl.vert
330: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 331 331 16 16 330: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 331 331 16 16
329: 8(float) Load 128(s) 329: 8(float) Load 128(s)
332: 8(float) Load 176(c) 332: 8(float) Load 176(c)
333: 58(fvec4) CompositeConstruct 329 97 332 97 333: 59(fvec4) CompositeConstruct 329 97 332 97
334: 321(ptr) AccessChain 311(gRotMat) 101 334: 321(ptr) AccessChain 311(gRotMat) 101
Store 334 333 Store 334 333
337: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 338 338 16 16 337: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 338 338 16 16
@ -551,44 +551,44 @@ spv.debuginfo.hlsl.vert
Store 336 335 Store 336 335
344: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 342 342 16 16 344: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 342 342 16 16
343: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 340 339(locPos) 85 343: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 340 339(locPos) 85
345: 103(ptr) AccessChain 76(input) 169 345: 103(ptr) AccessChain 77(input) 169
346: 18(fvec3) Load 345 346: 18(fvec3) Load 345
347: 188 Load 281(rotMat) 347: 188 Load 281(rotMat)
348: 18(fvec3) VectorTimesMatrix 346 347 348: 18(fvec3) VectorTimesMatrix 346 347
349: 8(float) CompositeExtract 348 0 349: 8(float) CompositeExtract 348 0
350: 8(float) CompositeExtract 348 1 350: 8(float) CompositeExtract 348 1
351: 8(float) CompositeExtract 348 2 351: 8(float) CompositeExtract 348 2
352: 58(fvec4) CompositeConstruct 349 350 351 205 352: 59(fvec4) CompositeConstruct 349 350 351 205
Store 339(locPos) 352 Store 339(locPos) 352
358: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 356 356 16 16 358: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 356 356 16 16
357: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 354 353(pos) 85 357: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 354 353(pos) 85
359: 58(fvec4) Load 339(locPos) 359: 59(fvec4) Load 339(locPos)
360: 18(fvec3) VectorShuffle 359 359 0 1 2 360: 18(fvec3) VectorShuffle 359 359 0 1 2
362: 126(ptr) AccessChain 76(input) 361 362: 126(ptr) AccessChain 77(input) 361
363: 8(float) Load 362 363: 8(float) Load 362
364: 18(fvec3) VectorTimesScalar 360 363 364: 18(fvec3) VectorTimesScalar 360 363
365: 103(ptr) AccessChain 76(input) 296 365: 103(ptr) AccessChain 77(input) 296
366: 18(fvec3) Load 365 366: 18(fvec3) Load 365
367: 18(fvec3) FAdd 364 366 367: 18(fvec3) FAdd 364 366
368: 8(float) CompositeExtract 367 0 368: 8(float) CompositeExtract 367 0
369: 8(float) CompositeExtract 367 1 369: 8(float) CompositeExtract 367 1
370: 8(float) CompositeExtract 367 2 370: 8(float) CompositeExtract 367 2
371: 58(fvec4) CompositeConstruct 368 369 370 205 371: 59(fvec4) CompositeConstruct 368 369 370 205
Store 353(pos) 371 Store 353(pos) 371
373: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 374 374 16 16 373: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 374 374 16 16
372: 58(fvec4) Load 353(pos) 372: 59(fvec4) Load 353(pos)
375: 137 Load 311(gRotMat) 375: 137 Load 311(gRotMat)
376: 58(fvec4) VectorTimesMatrix 372 375 376: 59(fvec4) VectorTimesMatrix 372 375
379: 377(ptr) AccessChain 166 169 324 379: 377(ptr) AccessChain 166 169 324
380: 137 Load 379 380: 137 Load 379
381: 58(fvec4) VectorTimesMatrix 376 380 381: 59(fvec4) VectorTimesMatrix 376 380
382: 377(ptr) AccessChain 166 169 169 382: 377(ptr) AccessChain 166 169 169
383: 137 Load 382 383: 137 Load 382
384: 58(fvec4) VectorTimesMatrix 381 383 384: 59(fvec4) VectorTimesMatrix 381 383
385: 321(ptr) AccessChain 91(output) 169 385: 321(ptr) AccessChain 91(output) 169
Store 385 384 Store 385 384
387: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 388 388 16 16 387: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 388 388 16 16
386: 103(ptr) AccessChain 76(input) 324 386: 103(ptr) AccessChain 77(input) 324
389: 18(fvec3) Load 386 389: 18(fvec3) Load 386
390: 188 Load 281(rotMat) 390: 188 Load 281(rotMat)
391: 18(fvec3) VectorTimesMatrix 389 390 391: 18(fvec3) VectorTimesMatrix 389 390
@ -596,60 +596,60 @@ spv.debuginfo.hlsl.vert
393: 377(ptr) AccessChain 166 169 324 393: 377(ptr) AccessChain 166 169 324
394: 137 Load 393 394: 137 Load 393
395: 137 MatrixTimesMatrix 392 394 395: 137 MatrixTimesMatrix 392 394
396: 58(fvec4) CompositeExtract 395 0 396: 59(fvec4) CompositeExtract 395 0
397: 18(fvec3) VectorShuffle 396 396 0 1 2 397: 18(fvec3) VectorShuffle 396 396 0 1 2
398: 58(fvec4) CompositeExtract 395 1 398: 59(fvec4) CompositeExtract 395 1
399: 18(fvec3) VectorShuffle 398 398 0 1 2 399: 18(fvec3) VectorShuffle 398 398 0 1 2
400: 58(fvec4) CompositeExtract 395 2 400: 59(fvec4) CompositeExtract 395 2
401: 18(fvec3) VectorShuffle 400 400 0 1 2 401: 18(fvec3) VectorShuffle 400 400 0 1 2
402: 188 CompositeConstruct 397 399 401 402: 188 CompositeConstruct 397 399 401
403: 18(fvec3) VectorTimesMatrix 391 402 403: 18(fvec3) VectorTimesMatrix 391 402
404: 103(ptr) AccessChain 91(output) 324 404: 103(ptr) AccessChain 91(output) 324
Store 404 403 Store 404 403
406: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 407 407 16 16 406: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 407 407 16 16
405: 103(ptr) AccessChain 76(input) 169 405: 103(ptr) AccessChain 77(input) 169
408: 18(fvec3) Load 405 408: 18(fvec3) Load 405
409: 103(ptr) AccessChain 76(input) 296 409: 103(ptr) AccessChain 77(input) 296
410: 18(fvec3) Load 409 410: 18(fvec3) Load 409
411: 18(fvec3) FAdd 408 410 411: 18(fvec3) FAdd 408 410
412: 8(float) CompositeExtract 411 0 412: 8(float) CompositeExtract 411 0
413: 8(float) CompositeExtract 411 1 413: 8(float) CompositeExtract 411 1
414: 8(float) CompositeExtract 411 2 414: 8(float) CompositeExtract 411 2
415: 58(fvec4) CompositeConstruct 412 413 414 205 415: 59(fvec4) CompositeConstruct 412 413 414 205
416: 377(ptr) AccessChain 166 169 324 416: 377(ptr) AccessChain 166 169 324
417: 137 Load 416 417: 137 Load 416
418: 58(fvec4) VectorTimesMatrix 415 417 418: 59(fvec4) VectorTimesMatrix 415 417
Store 353(pos) 418 Store 353(pos) 418
424: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 422 422 16 16 424: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 422 422 16 16
423: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 420 419(lPos) 85 423: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 420 419(lPos) 85
427: 425(ptr) AccessChain 166 169 101 427: 425(ptr) AccessChain 166 169 101
428: 58(fvec4) Load 427 428: 59(fvec4) Load 427
429: 18(fvec3) VectorShuffle 428 428 0 1 2 429: 18(fvec3) VectorShuffle 428 428 0 1 2
430: 377(ptr) AccessChain 166 169 324 430: 377(ptr) AccessChain 166 169 324
431: 137 Load 430 431: 137 Load 430
432: 58(fvec4) CompositeExtract 431 0 432: 59(fvec4) CompositeExtract 431 0
433: 18(fvec3) VectorShuffle 432 432 0 1 2 433: 18(fvec3) VectorShuffle 432 432 0 1 2
434: 58(fvec4) CompositeExtract 431 1 434: 59(fvec4) CompositeExtract 431 1
435: 18(fvec3) VectorShuffle 434 434 0 1 2 435: 18(fvec3) VectorShuffle 434 434 0 1 2
436: 58(fvec4) CompositeExtract 431 2 436: 59(fvec4) CompositeExtract 431 2
437: 18(fvec3) VectorShuffle 436 436 0 1 2 437: 18(fvec3) VectorShuffle 436 436 0 1 2
438: 188 CompositeConstruct 433 435 437 438: 188 CompositeConstruct 433 435 437
439: 18(fvec3) VectorTimesMatrix 429 438 439: 18(fvec3) VectorTimesMatrix 429 438
Store 419(lPos) 439 Store 419(lPos) 439
441: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 442 442 16 16 441: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 442 442 16 16
440: 18(fvec3) Load 419(lPos) 440: 18(fvec3) Load 419(lPos)
443: 58(fvec4) Load 353(pos) 443: 59(fvec4) Load 353(pos)
444: 18(fvec3) VectorShuffle 443 443 0 1 2 444: 18(fvec3) VectorShuffle 443 443 0 1 2
445: 18(fvec3) FSub 440 444 445: 18(fvec3) FSub 440 444
446: 103(ptr) AccessChain 91(output) 134 446: 103(ptr) AccessChain 91(output) 134
Store 446 445 Store 446 445
448: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 449 449 16 16 448: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 449 449 16 16
447: 58(fvec4) Load 353(pos) 447: 59(fvec4) Load 353(pos)
450: 18(fvec3) VectorShuffle 447 447 0 1 2 450: 18(fvec3) VectorShuffle 447 447 0 1 2
451: 18(fvec3) FNegate 450 451: 18(fvec3) FNegate 450
452: 103(ptr) AccessChain 91(output) 296 452: 103(ptr) AccessChain 91(output) 296
Store 452 451 Store 452 451
454: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 455 455 16 16 454: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 455 455 16 16
453:60(VSOutput) Load 91(output) 453:61(VSOutput) Load 91(output)
ReturnValue 453 ReturnValue 453
FunctionEnd FunctionEnd

View file

@ -1,21 +1,31 @@
spv.debuginfo.include.glsl.frag spv.debuginfo.include.glsl.frag
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 8000b // Generated by (magic number): 8000b
// Id's are bound by 109 // Id's are bound by 108
Capability Shader Capability Shader
Extension "SPV_KHR_non_semantic_info" Extension "SPV_KHR_non_semantic_info"
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
4: ExtInstImport "GLSL.std.450" 4: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint Fragment 15 "main" 81 EntryPoint Fragment 15 "main" 80
ExecutionMode 15 OriginUpperLeft ExecutionMode 15 OriginUpperLeft
2: String "spv.debuginfo.include.glsl.frag" 2: String "spv.debuginfo.include.glsl.frag"
3: String "spv.debuginfo.include.glsl.h" 3: String "spv.debuginfo.include.glsl.h"
9: String "uint" 9: String "uint"
18: String "float" 18: String "float"
31: String "headerFunction" 31: String "headerFunction"
34: String "// OpModuleProcessed auto-map-locations 34: String "
out vec4 headerOut;
uniform UBO {
vec4 headerUboItem;
};
vec4 headerFunction(vec4 a) {
return -a;
}"
39: String "// OpModuleProcessed auto-map-locations
// OpModuleProcessed auto-map-bindings // OpModuleProcessed auto-map-bindings
// OpModuleProcessed client vulkan100 // OpModuleProcessed client vulkan100
// OpModuleProcessed target-env vulkan1.0 // OpModuleProcessed target-env vulkan1.0
@ -34,43 +44,33 @@ vec4 mainFileFunction(vec4 v) {
void main() { void main() {
headerOut = headerFunction(mainFileFunction(headerUboItem)); headerOut = headerFunction(mainFileFunction(headerUboItem));
}" }"
40: String "a" 42: String "a"
48: String "mainFileFunction" 50: String "mainFileFunction"
51: String "v" 53: String "v"
54: String "main" 57: String "main"
60: String " 82: String "headerOut"
out vec4 headerOut; 86: String "headerUboItem"
89: String "UBO"
uniform UBO { 94: String ""
vec4 headerUboItem; 96: String "int"
};
vec4 headerFunction(vec4 a) {
return -a;
}"
83: String "headerOut"
87: String "headerUboItem"
90: String "UBO"
95: String ""
97: String "int"
SourceExtension "GL_GOOGLE_cpp_style_line_directive" SourceExtension "GL_GOOGLE_cpp_style_line_directive"
SourceExtension "GL_GOOGLE_include_directive" SourceExtension "GL_GOOGLE_include_directive"
Name 15 "main" Name 15 "main"
Name 29 "headerFunction(vf4;" Name 29 "headerFunction(vf4;"
Name 28 "a" Name 28 "a"
Name 46 "mainFileFunction(vf4;" Name 48 "mainFileFunction(vf4;"
Name 45 "v" Name 47 "v"
Name 81 "headerOut" Name 80 "headerOut"
Name 85 "UBO" Name 84 "UBO"
MemberName 85(UBO) 0 "headerUboItem" MemberName 84(UBO) 0 "headerUboItem"
Name 93 "" Name 92 ""
Name 100 "param" Name 99 "param"
Name 107 "param" Name 106 "param"
Decorate 81(headerOut) Location 0 Decorate 80(headerOut) Location 0
Decorate 85(UBO) Block Decorate 84(UBO) Block
MemberDecorate 85(UBO) 0 Offset 0 MemberDecorate 84(UBO) 0 Offset 0
Decorate 93 Binding 0 Decorate 92 Binding 0
Decorate 93 DescriptorSet 0 Decorate 92 DescriptorSet 0
5: TypeVoid 5: TypeVoid
6: TypeFunction 5 6: TypeFunction 5
8: TypeInt 32 0 8: TypeInt 32 0
@ -90,77 +90,76 @@ vec4 headerFunction(vec4 a) {
25: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 24 13 25: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 24 13
26: TypeFunction 20(fvec4) 23(ptr) 26: TypeFunction 20(fvec4) 23(ptr)
27: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 14 22 22 27: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 14 22 22
33: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 2 34 33: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 3 34
35: 8(int) Constant 8 35: 8(int) Constant 8
37: 8(int) Constant 1 37: 8(int) Constant 1
38: 8(int) Constant 2 38: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 2 39
36: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 37 21 33 38 40: 8(int) Constant 2
36: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 37 21 38 40
32: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 31 27 33 35 13 36 31 14 35 32: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 31 27 33 35 13 36 31 14 35
39: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 40 22 33 35 13 32 21 37 41: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 42 22 33 35 13 32 21 37
42: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) 44: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
49: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 48 27 33 12 13 36 48 14 12 51: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 50 27 38 12 13 36 50 14 12
50: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 51 22 33 12 13 49 21 37 52: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 53 22 38 12 13 51 21 37
56: 8(int) Constant 10 59: 8(int) Constant 10
55: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 54 7 33 56 13 36 54 14 56 58: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 57 7 38 59 13 36 57 14 59
59: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 3 60
63: 8(int) Constant 9 63: 8(int) Constant 9
79: TypePointer Output 20(fvec4) 78: TypePointer Output 20(fvec4)
80: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 14 13 79: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 14 13
81(headerOut): 79(ptr) Variable Output 80(headerOut): 78(ptr) Variable Output
84: 8(int) Constant 11 83: 8(int) Constant 11
82: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 83 22 33 84 13 36 83 81(headerOut) 35 81: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 82 22 38 83 13 36 82 80(headerOut) 35
85(UBO): TypeStruct 20(fvec4) 84(UBO): TypeStruct 20(fvec4)
88: 8(int) Constant 5 87: 8(int) Constant 5
86: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 87 22 33 88 24 13 13 14 85: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 86 22 38 87 24 13 13 14
89: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 90 37 33 84 13 36 90 13 14 86 88: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 89 37 38 83 13 36 89 13 14 85
91: TypePointer Uniform 85(UBO) 90: TypePointer Uniform 84(UBO)
92: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 89 38 13 91: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 88 40 13
93: 91(ptr) Variable Uniform 92: 90(ptr) Variable Uniform
94: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 95 89 33 84 13 36 95 93 35 93: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 94 88 38 83 13 36 94 92 35
96: TypeInt 32 1 95: TypeInt 32 1
98: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 97 11 21 13 97: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 96 11 21 13
99: 96(int) Constant 0 98: 95(int) Constant 0
101: TypePointer Uniform 20(fvec4) 100: TypePointer Uniform 20(fvec4)
102: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 38 13 101: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 40 13
15(main): 5 Function None 6 15(main): 5 Function None 6
16: Label 16: Label
100(param): 23(ptr) Variable Function 99(param): 23(ptr) Variable Function
107(param): 23(ptr) Variable Function 106(param): 23(ptr) Variable Function
77: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 55 76: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58
78: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 56 56 13 13 77: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 59 59 13 13
76: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 55 15(main) 75: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 58 15(main)
104: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 84 84 13 13 103: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 83 83 13 13
103: 101(ptr) AccessChain 93 99 102: 100(ptr) AccessChain 92 98
105: 20(fvec4) Load 103 104: 20(fvec4) Load 102
Store 100(param) 105 Store 99(param) 104
106: 20(fvec4) FunctionCall 46(mainFileFunction(vf4;) 100(param) 105: 20(fvec4) FunctionCall 48(mainFileFunction(vf4;) 99(param)
Store 107(param) 106 Store 106(param) 105
108: 20(fvec4) FunctionCall 29(headerFunction(vf4;) 107(param) 107: 20(fvec4) FunctionCall 29(headerFunction(vf4;) 106(param)
Store 81(headerOut) 108 Store 80(headerOut) 107
Return Return
FunctionEnd FunctionEnd
29(headerFunction(vf4;): 20(fvec4) Function None 26 29(headerFunction(vf4;): 20(fvec4) Function None 26
28(a): 23(ptr) FunctionParameter 28(a): 23(ptr) FunctionParameter
30: Label 30: Label
43: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 32 45: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 32
44: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 35 35 13 13 46: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 35 35 13 13
41: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 39 28(a) 42 43: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 41 28(a) 44
58: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 59 35 35 13 13 60: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 32 29(headerFunction(vf4;)
57: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 32 29(headerFunction(vf4;) 62: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 63 63 13 13
62: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 59 63 63 13 13
61: 20(fvec4) Load 28(a) 61: 20(fvec4) Load 28(a)
64: 20(fvec4) FNegate 61 64: 20(fvec4) FNegate 61
ReturnValue 64 ReturnValue 64
FunctionEnd FunctionEnd
46(mainFileFunction(vf4;): 20(fvec4) Function None 26 48(mainFileFunction(vf4;): 20(fvec4) Function None 26
45(v): 23(ptr) FunctionParameter 47(v): 23(ptr) FunctionParameter
47: Label 49: Label
53: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 49 55: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 51
52: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 50 45(v) 42 56: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 12 12 13 13
69: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 12 12 13 13 54: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 52 47(v) 44
68: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 49 46(mainFileFunction(vf4;) 68: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 51 48(mainFileFunction(vf4;)
71: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 24 24 13 13 70: 5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 24 24 13 13
70: 20(fvec4) Load 45(v) 69: 20(fvec4) Load 47(v)
72: 20(fvec4) FNegate 70 71: 20(fvec4) FNegate 69
ReturnValue 72 ReturnValue 71
FunctionEnd FunctionEnd

View file

@ -13,7 +13,7 @@ WARNING: spv.pp.line.frag:8: varying deprecated in version 130; may be removed i
EntryPoint Fragment 5 "main" 60 72 75 78 EntryPoint Fragment 5 "main" 60 72 75 78
ExecutionMode 5 OriginUpperLeft ExecutionMode 5 OriginUpperLeft
1: String "spv.pp.line.frag" 1: String "spv.pp.line.frag"
13: String "header.h" 7: String "header.h"
Source GLSL 140 1 "// OpModuleProcessed auto-map-locations Source GLSL 140 1 "// OpModuleProcessed auto-map-locations
// OpModuleProcessed auto-map-bindings // OpModuleProcessed auto-map-bindings
// OpModuleProcessed client vulkan100 // OpModuleProcessed client vulkan100
@ -61,8 +61,8 @@ void main()
" "
SourceExtension "GL_GOOGLE_cpp_style_line_directive" SourceExtension "GL_GOOGLE_cpp_style_line_directive"
Name 5 "main" Name 5 "main"
Name 11 "myAbs(f1;" Name 12 "myAbs(f1;"
Name 10 "x" Name 11 "x"
Name 27 "blendscale" Name 27 "blendscale"
Name 29 "param" Name 29 "param"
Name 31 "bias" Name 31 "bias"
@ -84,44 +84,44 @@ void main()
Decorate 78(blend) Location 0 Decorate 78(blend) Location 0
3: TypeVoid 3: TypeVoid
4: TypeFunction 3 4: TypeFunction 3
7: TypeFloat 32 8: TypeFloat 32
8: TypePointer Function 7(float) 9: TypePointer Function 8(float)
9: TypeFunction 7(float) 8(ptr) 10: TypeFunction 8(float) 9(ptr)
15: 7(float) Constant 0 15: 8(float) Constant 0
16: TypeBool 16: TypeBool
28: 7(float) Constant 1071971828 28: 8(float) Constant 1071971828
32: 7(float) Constant 1073741824 32: 8(float) Constant 1073741824
34: TypeVector 7(float) 4 34: TypeVector 8(float) 4
35: TypePointer Function 34(fvec4) 35: TypePointer Function 34(fvec4)
37: 34(fvec4) ConstantComposite 15 15 15 15 37: 34(fvec4) ConstantComposite 15 15 15 15
38: TypeImage 7(float) 1D sampled format:Unknown 38: TypeImage 8(float) 1D sampled format:Unknown
39: TypeSampledImage 38 39: TypeSampledImage 38
40: TypePointer UniformConstant 39 40: TypePointer UniformConstant 39
41(texSampler1D): 40(ptr) Variable UniformConstant 41(texSampler1D): 40(ptr) Variable UniformConstant
53: TypeImage 7(float) 2D sampled format:Unknown 53: TypeImage 8(float) 2D sampled format:Unknown
54: TypeSampledImage 53 54: TypeSampledImage 53
55: TypePointer UniformConstant 54 55: TypePointer UniformConstant 54
56(texSampler2D): 55(ptr) Variable UniformConstant 56(texSampler2D): 55(ptr) Variable UniformConstant
58: TypeVector 7(float) 2 58: TypeVector 8(float) 2
59: TypePointer Input 58(fvec2) 59: TypePointer Input 58(fvec2)
60(coords2D): 59(ptr) Variable Input 60(coords2D): 59(ptr) Variable Input
71: TypePointer Output 34(fvec4) 71: TypePointer Output 34(fvec4)
72(gl_FragColor): 71(ptr) Variable Output 72(gl_FragColor): 71(ptr) Variable Output
74: TypePointer Input 34(fvec4) 74: TypePointer Input 34(fvec4)
75(u): 74(ptr) Variable Input 75(u): 74(ptr) Variable Input
77: TypePointer Input 7(float) 77: TypePointer Input 8(float)
78(blend): 77(ptr) Variable Input 78(blend): 77(ptr) Variable Input
Line 1 23 11 Line 1 23 11
5(main): 3 Function None 4 5(main): 3 Function None 4
6: Label 6: Label
27(blendscale): 8(ptr) Variable Function 27(blendscale): 9(ptr) Variable Function
29(param): 8(ptr) Variable Function 29(param): 9(ptr) Variable Function
31(bias): 8(ptr) Variable Function 31(bias): 9(ptr) Variable Function
33(coords1D): 8(ptr) Variable Function 33(coords1D): 9(ptr) Variable Function
36(color): 35(ptr) Variable Function 36(color): 35(ptr) Variable Function
Line 1 25 0 Line 1 25 0
Store 29(param) 28 Store 29(param) 28
30: 7(float) FunctionCall 11(myAbs(f1;) 29(param) 30: 8(float) FunctionCall 12(myAbs(f1;) 29(param)
Store 27(blendscale) 30 Store 27(blendscale) 30
Line 1 26 0 Line 1 26 0
Store 31(bias) 32 Store 31(bias) 32
@ -131,15 +131,15 @@ void main()
Store 36(color) 37 Store 36(color) 37
Line 1 54 0 Line 1 54 0
42: 39 Load 41(texSampler1D) 42: 39 Load 41(texSampler1D)
43: 7(float) Load 33(coords1D) 43: 8(float) Load 33(coords1D)
44: 34(fvec4) ImageSampleImplicitLod 42 43 44: 34(fvec4) ImageSampleImplicitLod 42 43
45: 34(fvec4) Load 36(color) 45: 34(fvec4) Load 36(color)
46: 34(fvec4) FAdd 45 44 46: 34(fvec4) FAdd 45 44
Store 36(color) 46 Store 36(color) 46
Line 1 55 0 Line 1 55 0
47: 39 Load 41(texSampler1D) 47: 39 Load 41(texSampler1D)
48: 7(float) Load 33(coords1D) 48: 8(float) Load 33(coords1D)
49: 7(float) Load 31(bias) 49: 8(float) Load 31(bias)
50: 34(fvec4) ImageSampleImplicitLod 47 48 Bias 49 50: 34(fvec4) ImageSampleImplicitLod 47 48 Bias 49
51: 34(fvec4) Load 36(color) 51: 34(fvec4) Load 36(color)
52: 34(fvec4) FAdd 51 50 52: 34(fvec4) FAdd 51 50
@ -154,7 +154,7 @@ void main()
Line 1 104 0 Line 1 104 0
65: 54 Load 56(texSampler2D) 65: 54 Load 56(texSampler2D)
66: 58(fvec2) Load 60(coords2D) 66: 58(fvec2) Load 60(coords2D)
67: 7(float) Load 31(bias) 67: 8(float) Load 31(bias)
68: 34(fvec4) ImageSampleImplicitLod 65 66 Bias 67 68: 34(fvec4) ImageSampleImplicitLod 65 66 Bias 67
69: 34(fvec4) Load 36(color) 69: 34(fvec4) Load 36(color)
70: 34(fvec4) FAdd 69 68 70: 34(fvec4) FAdd 69 68
@ -162,31 +162,31 @@ void main()
Line 1 106 0 Line 1 106 0
73: 34(fvec4) Load 36(color) 73: 34(fvec4) Load 36(color)
76: 34(fvec4) Load 75(u) 76: 34(fvec4) Load 75(u)
79: 7(float) Load 78(blend) 79: 8(float) Load 78(blend)
80: 7(float) Load 27(blendscale) 80: 8(float) Load 27(blendscale)
81: 7(float) FMul 79 80 81: 8(float) FMul 79 80
82: 34(fvec4) CompositeConstruct 81 81 81 81 82: 34(fvec4) CompositeConstruct 81 81 81 81
83: 34(fvec4) ExtInst 2(GLSL.std.450) 46(FMix) 73 76 82 83: 34(fvec4) ExtInst 2(GLSL.std.450) 46(FMix) 73 76 82
Store 72(gl_FragColor) 83 Store 72(gl_FragColor) 83
Return Return
FunctionEnd FunctionEnd
Line 13 1 20 Line 7 1 20
11(myAbs(f1;): 7(float) Function None 9 12(myAbs(f1;): 8(float) Function None 10
10(x): 8(ptr) FunctionParameter 11(x): 9(ptr) FunctionParameter
12: Label 13: Label
Line 13 2 0 Line 7 2 0
14: 7(float) Load 10(x) 14: 8(float) Load 11(x)
17: 16(bool) FOrdGreaterThan 14 15 17: 16(bool) FOrdGreaterThan 14 15
SelectionMerge 19 None SelectionMerge 19 None
BranchConditional 17 18 22 BranchConditional 17 18 22
18: Label 18: Label
Line 13 3 0 Line 7 3 0
20: 7(float) Load 10(x) 20: 8(float) Load 11(x)
ReturnValue 20 ReturnValue 20
22: Label 22: Label
Line 13 6 0 Line 7 6 0
23: 7(float) Load 10(x) 23: 8(float) Load 11(x)
24: 7(float) FNegate 23 24: 8(float) FNegate 23
ReturnValue 24 ReturnValue 24
19: Label 19: Label
Unreachable Unreachable