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();
if (! glslFunction || glslFunction->getOp() != glslang::EOpFunction)
continue;
builder.setDebugSourceLocation(glslFunction->getLoc().line, glslFunction->getLoc().getFilename());
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) {
builder.setupDebugFunctionEntry(shaderEntry, glslangIntermediate->getEntryPointMangledName().c_str(),
glslFunction->getLoc().line,
std::vector<spv::Id>(), // main function has no param
std::vector<char const*>());
builder.setupFunctionDebugInfo(shaderEntry, glslangIntermediate->getEntryPointMangledName().c_str(),
std::vector<spv::Id>(), // main function has no param
std::vector<char const*>());
}
continue;
}
@ -5576,8 +5580,7 @@ void TGlslangToSpvTraverser::makeFunctions(const glslang::TIntermSequence& glslF
TranslatePrecisionDecoration(glslFunction->getType()), convertGlslangToSpvType(glslFunction->getType()),
glslFunction->getName().c_str(), convertGlslangLinkageToSpv(glslFunction->getLinkType()), paramTypes,
paramDecorations, &functionBlock);
builder.setupDebugFunctionEntry(function, glslFunction->getName().c_str(), glslFunction->getLoc().line,
paramTypes, paramNames);
builder.setupFunctionDebugInfo(function, glslFunction->getName().c_str(), paramTypes, paramNames);
if (implicitThis)
function->setImplicitThis();

View File

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

View File

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

View File

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

View File

@ -9,7 +9,7 @@ hlsl.pp.line4.frag
EntryPoint Fragment 5 "MainPs" 70 74
ExecutionMode 5 OriginUpperLeft
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"
Source HLSL 500 1 "// OpModuleProcessed auto-map-locations
// OpModuleProcessed auto-map-bindings
@ -84,9 +84,9 @@ PS_OUTPUT MainPs ( PS_INPUT i )
Decorate 74(@entryPointOutput.vColor) Location 0
3: TypeVoid
4: TypeFunction 3
7: TypeFloat 32
8: TypeVector 7(float) 2
11: TypeVector 7(float) 4
8: TypeFloat 32
9: TypeVector 8(float) 2
12: TypeVector 8(float) 4
18: TypeInt 32 0
19(PerViewConstantBuffer_t): TypeStruct 18(int) 18(int) 18(int)
20: TypePointer PushConstant 19(PerViewConstantBuffer_t)
@ -98,7 +98,7 @@ PS_OUTPUT MainPs ( PS_INPUT i )
28: 18(int) Constant 0
35: 22(int) Constant 0
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
46: TypeArray 44 45
47: TypePointer UniformConstant 46
@ -108,17 +108,17 @@ PS_OUTPUT MainPs ( PS_INPUT i )
54: TypePointer UniformConstant 53
55(g_sAniso): 54(ptr) Variable UniformConstant
57: TypeSampledImage 44
69: TypePointer Input 8(fvec2)
69: TypePointer Input 9(fvec2)
70(i.vTextureCoords): 69(ptr) Variable Input
73: TypePointer Output 11(fvec4)
73: TypePointer Output 12(fvec4)
74(@entryPointOutput.vColor): 73(ptr) Variable Output
Line 17 25 1
Line 7 25 1
5(MainPs): 3 Function None 4
NoLine
6: Label
Line 17 25 0
71: 8(fvec2) Load 70(i.vTextureCoords)
Line 17 29 0
Line 7 25 0
71: 9(fvec2) Load 70(i.vTextureCoords)
Line 7 29 0
83: 24(ptr) AccessChain 21 23
84: 18(int) Load 83
85: 27(bool) INotEqual 84 28
@ -130,19 +130,19 @@ PS_OUTPUT MainPs ( PS_INPUT i )
88: 18(int) Load 87
Branch 92
89: Label
Line 17 32 0
Line 7 32 0
90: 24(ptr) AccessChain 21 39
91: 18(int) Load 90
Branch 92
92: Label
115: 18(int) Phi 88 86 91 89
Line 17 33 0
Line 7 33 0
94: 50(ptr) AccessChain 48(g_tColor) 115
95: 44 Load 94
96: 53 Load 55(g_sAniso)
97: 57 SampledImage 95 96
100: 11(fvec4) ImageSampleImplicitLod 97 71
Line 17 25 0
100: 12(fvec4) ImageSampleImplicitLod 97 71
Line 7 25 0
Store 74(@entryPointOutput.vColor) 100
Return
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"
36: String "VSOutput"
49: String "PrimitiveID"
54: String "LightVec"
60: String "GSOutput"
73: String "@main"
50: String "PrimitiveID"
55: String "LightVec"
61: String "GSOutput"
74: String "@main"
77: String "input"
83: String "outStream"
87: String "InvocationID"
@ -60,19 +60,19 @@ spv.debuginfo.hlsl.geom
MemberName 23(VSOutput) 0 "Pos"
MemberName 23(VSOutput) 1 "Normal"
MemberName 23(VSOutput) 2 "Color"
Name 45 "GSOutput"
MemberName 45(GSOutput) 0 "Pos"
MemberName 45(GSOutput) 1 "ViewportIndex"
MemberName 45(GSOutput) 2 "PrimitiveID"
MemberName 45(GSOutput) 3 "Normal"
MemberName 45(GSOutput) 4 "Color"
MemberName 45(GSOutput) 5 "ViewVec"
MemberName 45(GSOutput) 6 "LightVec"
Name 71 "@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;"
Name 67 "input"
Name 68 "outStream"
Name 69 "InvocationID"
Name 70 "PrimitiveID"
Name 46 "GSOutput"
MemberName 46(GSOutput) 0 "Pos"
MemberName 46(GSOutput) 1 "ViewportIndex"
MemberName 46(GSOutput) 2 "PrimitiveID"
MemberName 46(GSOutput) 3 "Normal"
MemberName 46(GSOutput) 4 "Color"
MemberName 46(GSOutput) 5 "ViewVec"
MemberName 46(GSOutput) 6 "LightVec"
Name 72 "@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;"
Name 68 "input"
Name 69 "outStream"
Name 70 "InvocationID"
Name 71 "PrimitiveID"
Name 97 "i"
Name 119 "output"
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
34: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 31 22 26 32 33 16 16 17
37: 11(int) Constant 1
39: 11(int) Constant 5
38: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 37 19 26 39
35: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 36 37 26 16 16 38 36 16 17 24 30 34
40: TypeArray 23(VSOutput) 17
41: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 35 17
42: TypePointer Function 40
43: 11(int) Constant 7
44: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 41 43 16
45(GSOutput): TypeStruct 18(fvec4) 11(int) 11(int) 21(fvec3) 21(fvec3) 21(fvec3) 21(fvec3)
47: 11(int) Constant 44
46: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 25 20 26 47 29 16 16 17
50: 11(int) Constant 46
51: 11(int) Constant 19
48: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 13 26 50 51 16 16 17
52: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 13 26 50 51 16 16 17
55: 11(int) Constant 50
53: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
56: 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) 54 22 26 55 28 16 16 17
58: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 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
61: TypePointer Function 45(GSOutput)
62: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 59 43 16
63: TypePointer Function 11(int)
64: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 43 16
65: TypeFunction 4 42(ptr) 61(ptr) 63(ptr) 63(ptr)
66: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 41 59 13 13
75: 11(int) Constant 56
74: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 73 66 26 75 16 38 73 17 75
76: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 77 41 26 75 16 74 19 37
38: 11(int) Constant 56
40: 11(int) Constant 5
39: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 37 19 26 40
35: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 36 37 26 38 16 39 36 16 17 24 30 34
41: TypeArray 23(VSOutput) 17
42: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 35 17
43: TypePointer Function 41
44: 11(int) Constant 7
45: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 42 44 16
46(GSOutput): TypeStruct 18(fvec4) 11(int) 11(int) 21(fvec3) 21(fvec3) 21(fvec3) 21(fvec3)
48: 11(int) Constant 44
47: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 25 20 26 48 29 16 16 17
51: 11(int) Constant 46
52: 11(int) Constant 19
49: 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) 50 13 26 51 52 16 16 17
56: 11(int) Constant 50
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) 55 22 26 56 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) 11(DebugTypeMember) 55 22 26 56 28 16 16 17
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: TypePointer Function 46(GSOutput)
63: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 60 44 16
64: TypePointer Function 11(int)
65: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 44 16
66: TypeFunction 4 43(ptr) 62(ptr) 64(ptr) 64(ptr)
67: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 42 60 13 13
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 42 26 38 16 75 19 37
79: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
84: 11(int) Constant 2
82: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 59 26 75 16 74 19 84
86: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 87 13 26 75 16 74 19 17
89: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 13 26 75 16 74 19 19
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 38 16 75 19 17
89: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 50 13 26 38 16 75 19 19
92: TypeInt 32 1
94: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 93 14 19 16
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
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
114: 92(int) Constant 3
115: TypeBool
117: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 116 14 84 16
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
127: 18(fvec4) ConstantComposite 126 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
133: 92(int) Constant 1
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
140: 115(bool) ConstantTrue
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
157: 11(int) Constant 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)
163: 11(int) Constant 33
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)
166: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 164 84 16
167: 165(ptr) Variable Uniform
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
172: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 139 84 16
175: TypeMatrix 21(fvec3) 3
@ -245,13 +245,13 @@ spv.debuginfo.hlsl.geom
189: 11(int) Constant 61
190: 92(int) Constant 2
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
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
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
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)
223: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 84 16
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
264(outStream.Pos): 262(ptr) Variable Output
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)
272: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 17 16
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
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)
284: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 17 16
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
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
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
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
313: TypeArray 18(fvec4) 17
314: TypePointer Input 313
@ -297,14 +297,14 @@ spv.debuginfo.hlsl.geom
354(PrimitiveID): 350(ptr) Variable Input
6(main): 4 Function None 5
7: Label
312(input): 42(ptr) Variable Function
349(InvocationID): 63(ptr) Variable Function
353(PrimitiveID): 63(ptr) Variable Function
356(outStream): 61(ptr) Variable Function
357(param): 42(ptr) Variable Function
359(param): 61(ptr) Variable Function
360(param): 63(ptr) Variable Function
362(param): 63(ptr) Variable Function
312(input): 43(ptr) Variable Function
349(InvocationID): 64(ptr) Variable Function
353(PrimitiveID): 64(ptr) Variable Function
356(outStream): 62(ptr) Variable Function
357(param): 43(ptr) Variable Function
359(param): 62(ptr) Variable Function
360(param): 64(ptr) Variable Function
362(param): 64(ptr) Variable Function
317: 316(ptr) AccessChain 315(input.Pos) 103
318: 18(fvec4) Load 317
319: 194(ptr) AccessChain 312(input) 103 103
@ -345,60 +345,60 @@ spv.debuginfo.hlsl.geom
Store 349(InvocationID) 352
355: 11(int) Load 354(PrimitiveID)
Store 353(PrimitiveID) 355
358: 40 Load 312(input)
358: 41 Load 312(input)
Store 357(param) 358
361: 11(int) Load 349(InvocationID)
Store 360(param) 361
363: 11(int) Load 353(PrimitiveID)
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)
365:45(GSOutput) Load 359(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:46(GSOutput) Load 359(param)
Store 356(outStream) 365
Return
FunctionEnd
71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;): 4 Function None 65
67(input): 42(ptr) FunctionParameter
68(outStream): 61(ptr) FunctionParameter
69(InvocationID): 63(ptr) FunctionParameter
70(PrimitiveID): 63(ptr) FunctionParameter
72: Label
72(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;): 4 Function None 66
68(input): 43(ptr) FunctionParameter
69(outStream): 62(ptr) FunctionParameter
70(InvocationID): 64(ptr) FunctionParameter
71(PrimitiveID): 64(ptr) FunctionParameter
73: Label
97(i): 95(ptr) Variable Function
119(output): 61(ptr) Variable Function
119(output): 62(ptr) Variable Function
196(pos): 194(ptr) Variable Function
205(worldPos): 194(ptr) Variable Function
216(lPos): 134(ptr) Variable Function
80: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
81: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 75 75 16 16
78: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 76 67(input) 79
85: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 68(outStream) 79
88: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 86 69(InvocationID) 79
90: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 89 70(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;)
80: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 75
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 68(input) 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 70(InvocationID) 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) 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
101: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 98 97(i) 79
Store 97(i) 103
Branch 104
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
LoopMerge 106 107 None
Branch 110
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
111: 92(int) Load 97(i)
118: 115(bool) SLessThan 111 114
BranchConditional 118 105 106
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
123: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 120 119(output) 79
Store 119(output) 129
131: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 132 132 16 16
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
170: 11(int) Load 69(InvocationID)
170: 11(int) Load 70(InvocationID)
173: 171(ptr) AccessChain 167 103 133 170
174: 138 Load 173
177: 18(fvec4) CompositeExtract 174 0
@ -413,20 +413,20 @@ spv.debuginfo.hlsl.geom
Store 185 184
188: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 189 189 16 16
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
193: 134(ptr) AccessChain 119(output) 186
Store 193 192
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
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
Store 196(pos) 204
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
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
214: 138 Load 213
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
224: 222(ptr) AccessChain 167 103 190
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
228: 138 Load 227
229: 18(fvec4) VectorTimesMatrix 225 228
@ -456,28 +456,28 @@ spv.debuginfo.hlsl.geom
Store 245 244
247: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 248 248 16 16
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
251: 138 Load 250
252: 18(fvec4) VectorTimesMatrix 246 251
253: 194(ptr) AccessChain 119(output) 103
Store 253 252
255: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 256 256 16 16
254: 11(int) Load 69(InvocationID)
257: 63(ptr) AccessChain 119(output) 133
254: 11(int) Load 70(InvocationID)
257: 64(ptr) AccessChain 119(output) 133
Store 257 254
259: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 260 260 16 16
258: 11(int) Load 70(PrimitiveID)
261: 63(ptr) AccessChain 119(output) 190
258: 11(int) Load 71(PrimitiveID)
261: 64(ptr) AccessChain 119(output) 190
Store 261 258
269: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 267 267 16 16
268: 194(ptr) AccessChain 119(output) 103
270: 18(fvec4) Load 268
Store 264(outStream.Pos) 270
276: 63(ptr) AccessChain 119(output) 133
276: 64(ptr) AccessChain 119(output) 133
277: 11(int) Load 276
Store 273(outStream.ViewportIndex) 277
281: 63(ptr) AccessChain 119(output) 190
281: 64(ptr) AccessChain 119(output) 190
282: 11(int) Load 281
Store 278(outStream.PrimitiveID) 282
288: 134(ptr) AccessChain 119(output) 114
@ -495,14 +495,14 @@ spv.debuginfo.hlsl.geom
EmitVertex
Branch 107
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
305: 92(int) Load 97(i)
308: 92(int) IAdd 305 133
Store 97(i) 308
Branch 104
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
EndPrimitive
Return

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -27,10 +27,10 @@ spv.debuginfo.hlsl.vert
43: String "instanceScale"
47: String "instanceTexIndex"
51: String "VSInput"
62: String "Pos"
66: String "LightVec"
73: String "VSOutput"
79: String "@main"
63: String "Pos"
67: String "LightVec"
74: String "VSOutput"
80: String "@main"
83: String "input"
93: String "output"
130: String "s"
@ -59,15 +59,15 @@ spv.debuginfo.hlsl.vert
MemberName 27(VSInput) 5 "instanceRot"
MemberName 27(VSInput) 6 "instanceScale"
MemberName 27(VSInput) 7 "instanceTexIndex"
Name 60 "VSOutput"
MemberName 60(VSOutput) 0 "Pos"
MemberName 60(VSOutput) 1 "Normal"
MemberName 60(VSOutput) 2 "Color"
MemberName 60(VSOutput) 3 "UV"
MemberName 60(VSOutput) 4 "ViewVec"
MemberName 60(VSOutput) 5 "LightVec"
Name 77 "@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;"
Name 76 "input"
Name 61 "VSOutput"
MemberName 61(VSOutput) 0 "Pos"
MemberName 61(VSOutput) 1 "Normal"
MemberName 61(VSOutput) 2 "Color"
MemberName 61(VSOutput) 3 "UV"
MemberName 61(VSOutput) 4 "ViewVec"
MemberName 61(VSOutput) 5 "LightVec"
Name 78 "@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;"
Name 77 "input"
Name 91 "output"
Name 128 "s"
Name 143 "UBO"
@ -169,126 +169,126 @@ spv.debuginfo.hlsl.vert
49: 11(int) Constant 42
46: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 47 25 30 48 49 16 16 17
52: 11(int) Constant 1
54: 11(int) Constant 5
53: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 52 26 30 54
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
55: TypePointer Function 27(VSInput)
56: 11(int) Constant 7
57: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 50 56 16
58: TypeVector 8(float) 4
59: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 26
60(VSOutput): TypeStruct 58(fvec4) 18(fvec3) 18(fvec3) 18(fvec3) 18(fvec3) 18(fvec3)
63: 11(int) Constant 53
64: 11(int) Constant 13
61: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 62 59 30 63 64 16 16 17
67: 11(int) Constant 58
65: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 66 19 30 67 48 16 16 17
68: 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) 66 19 30 67 48 16 16 17
70: 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) 66 19 30 67 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
74: TypeFunction 60(VSOutput) 55(ptr)
75: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 72 50
81: 11(int) Constant 62
80: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 79 75 30 81 16 53 79 17 81
82: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 50 30 81 16 80 26 52
53: 11(int) Constant 62
55: 11(int) Constant 5
54: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 52 26 30 55
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: TypePointer Function 27(VSInput)
57: 11(int) Constant 7
58: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 50 57 16
59: TypeVector 8(float) 4
60: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 26
61(VSOutput): TypeStruct 59(fvec4) 18(fvec3) 18(fvec3) 18(fvec3) 18(fvec3) 18(fvec3)
64: 11(int) Constant 53
65: 11(int) Constant 13
62: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 63 60 30 64 65 16 16 17
68: 11(int) Constant 58
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) 67 19 30 68 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) 67 19 30 68 48 16 16 17
72: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 67 19 30 68 48 16 16 17
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: TypeFunction 61(VSOutput) 56(ptr)
76: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 73 50
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 53 16 81 26 52
85: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
89: TypePointer Function 60(VSOutput)
90: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 72 56 16
89: TypePointer Function 61(VSOutput)
90: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 73 57 16
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
98: 58(fvec4) ConstantComposite 97 97 97 97
98: 59(fvec4) ConstantComposite 97 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
102: 23(int) Constant 3
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
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
116: 23(int) Constant 7
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)
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
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
137: TypeMatrix 58(fvec4) 4
137: TypeMatrix 59(fvec4) 4
139: TypeBool
141: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 14 21 16
142: 139(bool) ConstantTrue
138: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 59 26 142
143(UBO): TypeStruct 137 137 58(fvec4) 8(float) 8(float)
138: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 60 26 142
143(UBO): TypeStruct 137 137 59(fvec4) 8(float) 8(float)
146: 11(int) Constant 43
147: 11(int) Constant 20
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
151: 11(int) Constant 44
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
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
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)
162: 11(int) Constant 49
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)
165: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 163 21 16
166: 164(ptr) Variable Uniform
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
170: TypePointer Uniform 8(float)
171: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 10 21 16
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
189: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 19 17 142
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
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
205: 8(float) Constant 1065353216
213: 11(int) Constant 76
221: 11(int) Constant 77
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
247: 11(int) Constant 84
255: 11(int) Constant 85
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
274: 11(int) Constant 89
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
296: 23(int) Constant 4
303: 11(int) Constant 95
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
312: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 313 138 30 314 16 80 26
321: TypePointer Function 58(fvec4)
322: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 59 56 16
312: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 313 138 30 314 16 81 26
321: TypePointer Function 59(fvec4)
322: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 60 57 16
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
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
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
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
374: 11(int) Constant 104
377: TypePointer Uniform 137
@ -296,9 +296,9 @@ spv.debuginfo.hlsl.vert
388: 11(int) Constant 105
407: 11(int) Constant 107
422: 11(int) Constant 108
420: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 421 19 30 422 16 80 26
425: TypePointer Uniform 58(fvec4)
426: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 59 21 16
420: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 421 19 30 422 16 81 26
425: TypePointer Uniform 59(fvec4)
426: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 60 21 16
442: 11(int) Constant 109
449: 11(int) Constant 110
455: 11(int) Constant 111
@ -314,7 +314,7 @@ spv.debuginfo.hlsl.vert
481(input.instanceScale): 480(ptr) Variable Input
484: TypePointer Input 23(int)
485(input.instanceTexIndex): 484(ptr) Variable Input
492: TypePointer Output 58(fvec4)
492: TypePointer Output 59(fvec4)
493(@entryPointOutput.Pos): 492(ptr) Variable Output
496: TypePointer Output 18(fvec3)
497(@entryPointOutput.Normal): 496(ptr) Variable Output
@ -324,9 +324,9 @@ spv.debuginfo.hlsl.vert
509(@entryPointOutput.LightVec): 496(ptr) Variable Output
6(main): 4 Function None 5
7: Label
459(input): 55(ptr) Variable Function
459(input): 56(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)
463: 103(ptr) AccessChain 459(input) 169
Store 463 462
@ -353,10 +353,10 @@ spv.debuginfo.hlsl.vert
Store 487 486
490: 27(VSInput) Load 459(input)
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
494: 321(ptr) AccessChain 488(flattenTemp) 169
495: 58(fvec4) Load 494
495: 59(fvec4) Load 494
Store 493(@entryPointOutput.Pos) 495
498: 103(ptr) AccessChain 488(flattenTemp) 324
499: 18(fvec3) Load 498
@ -375,9 +375,9 @@ spv.debuginfo.hlsl.vert
Store 509(@entryPointOutput.LightVec) 511
Return
FunctionEnd
77(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;):60(VSOutput) Function None 74
76(input): 55(ptr) FunctionParameter
78: Label
78(@main(struct-VSInput-vf3-vf3-vf2-vf3-vf3-vf3-f1-i11;):61(VSOutput) Function None 75
77(input): 56(ptr) FunctionParameter
79: Label
91(output): 89(ptr) Variable Function
128(s): 126(ptr) Variable Function
176(c): 126(ptr) Variable Function
@ -389,22 +389,22 @@ spv.debuginfo.hlsl.vert
339(locPos): 321(ptr) Variable Function
353(pos): 321(ptr) Variable Function
419(lPos): 103(ptr) Variable Function
86: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 80
87: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 81 81 16 16
84: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 76(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;)
86: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 81
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 77(input) 85
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
95: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 92 91(output) 85
Store 91(output) 100
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
109: 103(ptr) AccessChain 91(output) 101
Store 109 108
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
119: 117(ptr) AccessChain 76(input) 116
119: 117(ptr) AccessChain 77(input) 116
120: 23(int) Load 119
121: 8(float) ConvertSToF 120
122: 8(float) CompositeExtract 115 0
@ -414,7 +414,7 @@ spv.debuginfo.hlsl.vert
Store 125 124
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
135: 126(ptr) AccessChain 76(input) 134 16
135: 126(ptr) AccessChain 77(input) 134 16
136: 8(float) Load 135
172: 170(ptr) AccessChain 166 169 102
173: 8(float) Load 172
@ -423,7 +423,7 @@ spv.debuginfo.hlsl.vert
Store 128(s) 175
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
182: 126(ptr) AccessChain 76(input) 134 16
182: 126(ptr) AccessChain 77(input) 134 16
183: 8(float) Load 182
184: 170(ptr) AccessChain 166 169 102
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
Store 192(mx) 209
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
215: 170(ptr) AccessChain 166 169 102
216: 8(float) Load 215
@ -453,7 +453,7 @@ spv.debuginfo.hlsl.vert
218: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 217
Store 128(s) 218
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
223: 170(ptr) AccessChain 166 169 102
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
Store 227(my) 243
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
249: 170(ptr) AccessChain 166 169 102
250: 8(float) Load 249
@ -483,7 +483,7 @@ spv.debuginfo.hlsl.vert
252: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 251
Store 128(s) 252
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
257: 170(ptr) AccessChain 166 169 102
258: 8(float) Load 257
@ -514,7 +514,7 @@ spv.debuginfo.hlsl.vert
291: 188 MatrixTimesMatrix 289 290
Store 281(rotMat) 291
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
297: 170(ptr) AccessChain 166 169 296
298: 8(float) Load 297
@ -522,7 +522,7 @@ spv.debuginfo.hlsl.vert
300: 8(float) ExtInst 3(GLSL.std.450) 13(Sin) 299
Store 128(s) 300
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
305: 170(ptr) AccessChain 166 169 296
306: 8(float) Load 305
@ -534,7 +534,7 @@ spv.debuginfo.hlsl.vert
317: 8(float) Load 176(c)
318: 8(float) Load 128(s)
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
Store 323 320
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
329: 8(float) Load 128(s)
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
Store 334 333
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
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
345: 103(ptr) AccessChain 76(input) 169
345: 103(ptr) AccessChain 77(input) 169
346: 18(fvec3) Load 345
347: 188 Load 281(rotMat)
348: 18(fvec3) VectorTimesMatrix 346 347
349: 8(float) CompositeExtract 348 0
350: 8(float) CompositeExtract 348 1
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
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
359: 58(fvec4) Load 339(locPos)
359: 59(fvec4) Load 339(locPos)
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
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
367: 18(fvec3) FAdd 364 366
368: 8(float) CompositeExtract 367 0
369: 8(float) CompositeExtract 367 1
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
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)
376: 58(fvec4) VectorTimesMatrix 372 375
376: 59(fvec4) VectorTimesMatrix 372 375
379: 377(ptr) AccessChain 166 169 324
380: 137 Load 379
381: 58(fvec4) VectorTimesMatrix 376 380
381: 59(fvec4) VectorTimesMatrix 376 380
382: 377(ptr) AccessChain 166 169 169
383: 137 Load 382
384: 58(fvec4) VectorTimesMatrix 381 383
384: 59(fvec4) VectorTimesMatrix 381 383
385: 321(ptr) AccessChain 91(output) 169
Store 385 384
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
390: 188 Load 281(rotMat)
391: 18(fvec3) VectorTimesMatrix 389 390
@ -596,60 +596,60 @@ spv.debuginfo.hlsl.vert
393: 377(ptr) AccessChain 166 169 324
394: 137 Load 393
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
398: 58(fvec4) CompositeExtract 395 1
398: 59(fvec4) CompositeExtract 395 1
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
402: 188 CompositeConstruct 397 399 401
403: 18(fvec3) VectorTimesMatrix 391 402
404: 103(ptr) AccessChain 91(output) 324
Store 404 403
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
409: 103(ptr) AccessChain 76(input) 296
409: 103(ptr) AccessChain 77(input) 296
410: 18(fvec3) Load 409
411: 18(fvec3) FAdd 408 410
412: 8(float) CompositeExtract 411 0
413: 8(float) CompositeExtract 411 1
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
417: 137 Load 416
418: 58(fvec4) VectorTimesMatrix 415 417
418: 59(fvec4) VectorTimesMatrix 415 417
Store 353(pos) 418
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
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
430: 377(ptr) AccessChain 166 169 324
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
434: 58(fvec4) CompositeExtract 431 1
434: 59(fvec4) CompositeExtract 431 1
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
438: 188 CompositeConstruct 433 435 437
439: 18(fvec3) VectorTimesMatrix 429 438
Store 419(lPos) 439
441: 4 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 30 442 442 16 16
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
445: 18(fvec3) FSub 440 444
446: 103(ptr) AccessChain 91(output) 134
Store 446 445
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
451: 18(fvec3) FNegate 450
452: 103(ptr) AccessChain 91(output) 296
Store 452 451
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
FunctionEnd

View File

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