Add correct line number to OpDebugFunction and OpDebugScope for function:
1. Pull OpDebugFunction, OpDebugScope and OpDebugVariable for params out of makeFunctionEntry. 2. Put above in a separate function called setupDebugFunctionEntry, which also accept line number and set it correctly in builder. 3. Call setupDebugFunctionEntry in makeFunction. Also special case handle entry function since it's created ealier elsewhere.
This commit is contained in:
parent
a2fb1ba2ad
commit
979423d84f
19 changed files with 9076 additions and 9016 deletions
|
|
@ -5403,9 +5403,17 @@ void TGlslangToSpvTraverser::makeFunctions(const glslang::TIntermSequence& glslF
|
||||||
|
|
||||||
for (int f = 0; f < (int)glslFunctions.size(); ++f) {
|
for (int f = 0; f < (int)glslFunctions.size(); ++f) {
|
||||||
glslang::TIntermAggregate* glslFunction = glslFunctions[f]->getAsAggregate();
|
glslang::TIntermAggregate* glslFunction = glslFunctions[f]->getAsAggregate();
|
||||||
if (! glslFunction || glslFunction->getOp() != glslang::EOpFunction || isShaderEntryPoint(glslFunction))
|
if (! glslFunction || glslFunction->getOp() != glslang::EOpFunction)
|
||||||
continue;
|
continue;
|
||||||
|
if (isShaderEntryPoint(glslFunction)) {
|
||||||
|
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*>());
|
||||||
|
}
|
||||||
|
continue;
|
||||||
|
}
|
||||||
// We're on a user function. Set up the basic interface for the function now,
|
// We're on a user function. Set up the basic interface for the function now,
|
||||||
// so that it's available to call. Translating the body will happen later.
|
// so that it's available to call. Translating the body will happen later.
|
||||||
//
|
//
|
||||||
|
|
@ -5455,6 +5463,8 @@ void TGlslangToSpvTraverser::makeFunctions(const glslang::TIntermSequence& glslF
|
||||||
TranslatePrecisionDecoration(glslFunction->getType()), convertGlslangToSpvType(glslFunction->getType()),
|
TranslatePrecisionDecoration(glslFunction->getType()), convertGlslangToSpvType(glslFunction->getType()),
|
||||||
glslFunction->getName().c_str(), convertGlslangLinkageToSpv(glslFunction->getLinkType()), paramTypes,
|
glslFunction->getName().c_str(), convertGlslangLinkageToSpv(glslFunction->getLinkType()), paramTypes,
|
||||||
paramNames, paramDecorations, &functionBlock);
|
paramNames, paramDecorations, &functionBlock);
|
||||||
|
builder.setupDebugFunctionEntry(function, glslFunction->getName().c_str(), glslFunction->getLoc().line,
|
||||||
|
paramTypes, paramNames);
|
||||||
if (implicitThis)
|
if (implicitThis)
|
||||||
function->setImplicitThis();
|
function->setImplicitThis();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2101,12 +2101,8 @@ Function* Builder::makeFunctionEntry(Decoration precision, Id returnType, const
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make the debug function instruction
|
// reset last debug scope
|
||||||
if (emitNonSemanticShaderDebugInfo) {
|
if (emitNonSemanticShaderDebugInfo) {
|
||||||
Id nameId = getStringId(unmangleFunctionName(name));
|
|
||||||
Id debugFuncId = makeDebugFunction(function, nameId, typeId);
|
|
||||||
debugId[funcId] = debugFuncId;
|
|
||||||
currentDebugScopeId.push(debugFuncId);
|
|
||||||
lastDebugScopeId = NoResult;
|
lastDebugScopeId = NoResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2116,41 +2112,62 @@ Function* Builder::makeFunctionEntry(Decoration precision, Id returnType, const
|
||||||
function->addBlock(*entry);
|
function->addBlock(*entry);
|
||||||
setBuildPoint(*entry);
|
setBuildPoint(*entry);
|
||||||
|
|
||||||
// DebugScope and DebugLine for parameter DebugDeclares
|
if (name)
|
||||||
if (emitNonSemanticShaderDebugInfo && (int)paramTypes.size() > 0) {
|
addName(function->getId(), name);
|
||||||
addDebugScopeAndLine(currentFileId, currentLine, 0);
|
|
||||||
|
functions.push_back(std::unique_ptr<Function>(function));
|
||||||
|
|
||||||
|
return function;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (emitNonSemanticShaderDebugInfo) {
|
void Builder::setupDebugFunctionEntry(Function* function, const char* name, int line, const std::vector<Id>& paramTypes,
|
||||||
assert(paramTypes.size() == paramNames.size());
|
const std::vector<char const*>& paramNames)
|
||||||
for(size_t p = 0; p < paramTypes.size(); ++p)
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if (!emitNonSemanticShaderDebugInfo)
|
||||||
|
return;
|
||||||
|
|
||||||
|
currentLine = line;
|
||||||
|
Id nameId = getStringId(unmangleFunctionName(name));
|
||||||
|
Id funcTypeId = function->getFuncTypeId();
|
||||||
|
assert(debugId[funcTypeId] != 0);
|
||||||
|
Id funcId = function->getId();
|
||||||
|
|
||||||
|
assert(funcId != 0);
|
||||||
|
|
||||||
|
// Make the debug function instruction
|
||||||
|
Id debugFuncId = makeDebugFunction(function, nameId, funcTypeId);
|
||||||
|
debugId[funcId] = debugFuncId;
|
||||||
|
currentDebugScopeId.push(debugFuncId);
|
||||||
|
|
||||||
|
// DebugScope and DebugLine for parameter DebugDeclares
|
||||||
|
assert(paramTypes.size() == paramNames.size());
|
||||||
|
if ((int)paramTypes.size() > 0) {
|
||||||
|
addDebugScopeAndLine(currentFileId, currentLine, 0);
|
||||||
|
|
||||||
|
Id firstParamId = function->getParamId(0);
|
||||||
|
|
||||||
|
for (size_t p = 0; p < paramTypes.size(); ++p) {
|
||||||
auto getParamTypeId = [this](Id const& typeId) {
|
auto getParamTypeId = [this](Id const& typeId) {
|
||||||
if (isPointerType(typeId) || isArrayType(typeId)) {
|
if (isPointerType(typeId) || isArrayType(typeId)) {
|
||||||
return getContainedTypeId(typeId);
|
return getContainedTypeId(typeId);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
return typeId;
|
return typeId;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
auto const& paramName = paramNames[p];
|
auto const& paramName = paramNames[p];
|
||||||
auto const debugLocalVariableId = createDebugLocalVariable(debugId[getParamTypeId(paramTypes[p])], paramName, p+1);
|
auto const debugLocalVariableId =
|
||||||
|
createDebugLocalVariable(debugId[getParamTypeId(paramTypes[p])], paramName, p + 1);
|
||||||
|
|
||||||
debugId[firstParamId + p] = debugLocalVariableId;
|
debugId[firstParamId + p] = debugLocalVariableId;
|
||||||
|
|
||||||
makeDebugDeclare(debugLocalVariableId, firstParamId + p);
|
makeDebugDeclare(debugLocalVariableId, firstParamId + p);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (name)
|
|
||||||
addName(function->getId(), name);
|
|
||||||
|
|
||||||
functions.push_back(std::unique_ptr<Function>(function));
|
|
||||||
|
|
||||||
// Clear debug scope stack
|
// Clear debug scope stack
|
||||||
if (emitNonSemanticShaderDebugInfo)
|
if (emitNonSemanticShaderDebugInfo)
|
||||||
currentDebugScopeId.pop();
|
currentDebugScopeId.pop();
|
||||||
|
|
||||||
return function;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Id Builder::makeDebugFunction([[maybe_unused]] Function* function, Id nameId, Id funcTypeId)
|
Id Builder::makeDebugFunction([[maybe_unused]] Function* function, Id nameId, Id funcTypeId)
|
||||||
|
|
@ -2166,13 +2183,13 @@ Id Builder::makeDebugFunction([[maybe_unused]] Function* function, Id nameId, Id
|
||||||
type->addImmediateOperand(NonSemanticShaderDebugInfo100DebugFunction);
|
type->addImmediateOperand(NonSemanticShaderDebugInfo100DebugFunction);
|
||||||
type->addIdOperand(nameId);
|
type->addIdOperand(nameId);
|
||||||
type->addIdOperand(debugId[funcTypeId]);
|
type->addIdOperand(debugId[funcTypeId]);
|
||||||
type->addIdOperand(makeDebugSource(currentFileId)); // Will be fixed later when true filename available
|
type->addIdOperand(makeDebugSource(currentFileId)); // TODO: This points to file of definition instead of declaration
|
||||||
type->addIdOperand(makeUintConstant(currentLine)); // Will be fixed later when true line available
|
type->addIdOperand(makeUintConstant(currentLine)); // TODO: This points to line of definition instead of declaration
|
||||||
type->addIdOperand(makeUintConstant(0)); // column
|
type->addIdOperand(makeUintConstant(0)); // column
|
||||||
type->addIdOperand(makeDebugCompilationUnit()); // scope
|
type->addIdOperand(makeDebugCompilationUnit()); // scope
|
||||||
type->addIdOperand(nameId); // linkage name
|
type->addIdOperand(nameId); // linkage name
|
||||||
type->addIdOperand(makeUintConstant(NonSemanticShaderDebugInfo100FlagIsPublic));
|
type->addIdOperand(makeUintConstant(NonSemanticShaderDebugInfo100FlagIsPublic));
|
||||||
type->addIdOperand(makeUintConstant(currentLine)); // TODO(greg-lunarg): correct scope line
|
type->addIdOperand(makeUintConstant(currentLine));
|
||||||
constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(type));
|
constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(type));
|
||||||
module.mapInstruction(type);
|
module.mapInstruction(type);
|
||||||
return funcId;
|
return funcId;
|
||||||
|
|
|
||||||
|
|
@ -237,6 +237,9 @@ public:
|
||||||
Id makeDebugFunction(Function* function, Id nameId, Id funcTypeId);
|
Id makeDebugFunction(Function* function, Id nameId, Id funcTypeId);
|
||||||
Id makeDebugLexicalBlock(uint32_t line);
|
Id makeDebugLexicalBlock(uint32_t line);
|
||||||
std::string unmangleFunctionName(std::string const& name) const;
|
std::string unmangleFunctionName(std::string const& name) const;
|
||||||
|
void setupDebugFunctionEntry(Function* function, const char* name, int line,
|
||||||
|
const std::vector<Id>& paramTypes,
|
||||||
|
const std::vector<char const*>& paramNames);
|
||||||
|
|
||||||
// accelerationStructureNV type
|
// accelerationStructureNV type
|
||||||
Id makeAccelerationStructureType();
|
Id makeAccelerationStructureType();
|
||||||
|
|
|
||||||
|
|
@ -352,6 +352,7 @@ public:
|
||||||
void addLocalVariable(std::unique_ptr<Instruction> inst);
|
void addLocalVariable(std::unique_ptr<Instruction> inst);
|
||||||
Id getReturnType() const { return functionInstruction.getTypeId(); }
|
Id getReturnType() const { return functionInstruction.getTypeId(); }
|
||||||
Id getFuncId() const { return functionInstruction.getResultId(); }
|
Id getFuncId() const { return functionInstruction.getResultId(); }
|
||||||
|
Id getFuncTypeId() const { return functionInstruction.getIdOperand(1); }
|
||||||
void setReturnPrecision(Decoration precision)
|
void setReturnPrecision(Decoration precision)
|
||||||
{
|
{
|
||||||
if (precision == DecorationRelaxedPrecision)
|
if (precision == DecorationRelaxedPrecision)
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
spv.debuginfo.bufferref.glsl.frag
|
spv.debuginfo.bufferref.glsl.frag
|
||||||
// Module Version 10000
|
// Module Version 10000
|
||||||
// Generated by (magic number): 8000b
|
// Generated by (magic number): 8000b
|
||||||
// Id's are bound by 131
|
// Id's are bound by 132
|
||||||
|
|
||||||
Capability Shader
|
Capability Shader
|
||||||
Capability PhysicalStorageBufferAddressesEXT
|
Capability PhysicalStorageBufferAddressesEXT
|
||||||
|
|
@ -11,12 +11,12 @@ spv.debuginfo.bufferref.glsl.frag
|
||||||
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
||||||
3: ExtInstImport "GLSL.std.450"
|
3: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel PhysicalStorageBuffer64EXT GLSL450
|
MemoryModel PhysicalStorageBuffer64EXT GLSL450
|
||||||
EntryPoint Fragment 14 "main" 69 122
|
EntryPoint Fragment 14 "main" 70 123
|
||||||
ExecutionMode 14 OriginUpperLeft
|
ExecutionMode 14 OriginUpperLeft
|
||||||
1: String ""
|
1: String ""
|
||||||
8: String "uint"
|
8: String "uint"
|
||||||
15: String "main"
|
16: String "main"
|
||||||
18: String "// OpModuleProcessed auto-map-locations
|
19: String "// OpModuleProcessed auto-map-locations
|
||||||
// OpModuleProcessed auto-map-bindings
|
// OpModuleProcessed auto-map-bindings
|
||||||
// OpModuleProcessed client vulkan100
|
// OpModuleProcessed client vulkan100
|
||||||
// OpModuleProcessed target-env vulkan1.0
|
// OpModuleProcessed target-env vulkan1.0
|
||||||
|
|
@ -24,46 +24,46 @@ spv.debuginfo.bufferref.glsl.frag
|
||||||
// OpModuleProcessed entry-point main
|
// OpModuleProcessed entry-point main
|
||||||
#line 1
|
#line 1
|
||||||
"
|
"
|
||||||
31: String "Mesh"
|
32: String "Mesh"
|
||||||
33: String "float"
|
34: String "float"
|
||||||
39: String "data"
|
40: String "data"
|
||||||
43: String "MeshVertexPositions"
|
44: String "MeshVertexPositions"
|
||||||
47: String "meshData"
|
48: String "meshData"
|
||||||
59: String "PerPass_meshes"
|
60: String "PerPass_meshes"
|
||||||
63: String "perPass_meshes"
|
64: String "perPass_meshes"
|
||||||
65: String "int"
|
66: String "int"
|
||||||
71: String "tri_idx0"
|
72: String "tri_idx0"
|
||||||
86: String "vertex_pos0"
|
87: String "vertex_pos0"
|
||||||
124: String "out_fragColor"
|
125: String "out_fragColor"
|
||||||
SourceExtension "GL_EXT_buffer_reference"
|
SourceExtension "GL_EXT_buffer_reference"
|
||||||
Name 14 "main"
|
Name 14 "main"
|
||||||
Name 29 "Mesh"
|
Name 30 "Mesh"
|
||||||
MemberName 29(Mesh) 0 "positions"
|
MemberName 30(Mesh) 0 "positions"
|
||||||
Name 37 "MeshVertexPositions"
|
Name 38 "MeshVertexPositions"
|
||||||
MemberName 37(MeshVertexPositions) 0 "data"
|
MemberName 38(MeshVertexPositions) 0 "data"
|
||||||
Name 45 "meshData"
|
Name 46 "meshData"
|
||||||
Name 50 "Mesh"
|
Name 51 "Mesh"
|
||||||
MemberName 50(Mesh) 0 "positions"
|
MemberName 51(Mesh) 0 "positions"
|
||||||
Name 54 "PerPass_meshes"
|
Name 55 "PerPass_meshes"
|
||||||
MemberName 54(PerPass_meshes) 0 "data"
|
MemberName 55(PerPass_meshes) 0 "data"
|
||||||
Name 61 "perPass_meshes"
|
Name 62 "perPass_meshes"
|
||||||
Name 69 "tri_idx0"
|
Name 70 "tri_idx0"
|
||||||
Name 84 "vertex_pos0"
|
Name 85 "vertex_pos0"
|
||||||
Name 122 "out_fragColor"
|
Name 123 "out_fragColor"
|
||||||
Decorate 35 ArrayStride 4
|
Decorate 36 ArrayStride 4
|
||||||
MemberDecorate 37(MeshVertexPositions) 0 Offset 0
|
MemberDecorate 38(MeshVertexPositions) 0 Offset 0
|
||||||
Decorate 37(MeshVertexPositions) Block
|
Decorate 38(MeshVertexPositions) Block
|
||||||
MemberDecorate 50(Mesh) 0 Offset 0
|
MemberDecorate 51(Mesh) 0 Offset 0
|
||||||
Decorate 52 ArrayStride 8
|
Decorate 53 ArrayStride 8
|
||||||
MemberDecorate 54(PerPass_meshes) 0 NonWritable
|
MemberDecorate 55(PerPass_meshes) 0 NonWritable
|
||||||
MemberDecorate 54(PerPass_meshes) 0 Offset 0
|
MemberDecorate 55(PerPass_meshes) 0 Offset 0
|
||||||
Decorate 54(PerPass_meshes) Block
|
Decorate 55(PerPass_meshes) Block
|
||||||
Decorate 61(perPass_meshes) DescriptorSet 0
|
Decorate 62(perPass_meshes) DescriptorSet 0
|
||||||
Decorate 61(perPass_meshes) Binding 0
|
Decorate 62(perPass_meshes) Binding 0
|
||||||
Decorate 69(tri_idx0) Flat
|
Decorate 70(tri_idx0) Flat
|
||||||
Decorate 69(tri_idx0) Location 0
|
Decorate 70(tri_idx0) Location 0
|
||||||
Decorate 122(out_fragColor) Location 0
|
Decorate 123(out_fragColor) Location 0
|
||||||
Decorate 45(meshData) DecorationAliasedPointerEXT
|
Decorate 46(meshData) DecorationAliasedPointerEXT
|
||||||
4: TypeVoid
|
4: TypeVoid
|
||||||
5: TypeFunction 4
|
5: TypeFunction 4
|
||||||
7: TypeInt 32 0
|
7: TypeInt 32 0
|
||||||
|
|
@ -73,114 +73,115 @@ spv.debuginfo.bufferref.glsl.frag
|
||||||
9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
|
9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
|
||||||
13: 7(int) Constant 3
|
13: 7(int) Constant 3
|
||||||
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
|
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
|
||||||
17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 18
|
18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 19
|
||||||
20: 7(int) Constant 1
|
20: 7(int) Constant 20
|
||||||
21: 7(int) Constant 4
|
22: 7(int) Constant 1
|
||||||
22: 7(int) Constant 2
|
23: 7(int) Constant 4
|
||||||
19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 20 21 17 22
|
24: 7(int) Constant 2
|
||||||
16: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 15 6 17 12 12 19 15 13 12
|
21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24
|
||||||
27: 7(int) Constant 21
|
17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20
|
||||||
TypeForwardPointer 28 PhysicalStorageBufferEXT
|
28: 7(int) Constant 21
|
||||||
29(Mesh): TypeStruct 28
|
TypeForwardPointer 29 PhysicalStorageBufferEXT
|
||||||
30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 31 20 17 27 12 19 31 12 13
|
30(Mesh): TypeStruct 29
|
||||||
32: TypeFloat 32
|
31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 32 22 18 28 12 21 32 12 13
|
||||||
34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 33 10 13 12
|
33: TypeFloat 32
|
||||||
35: TypeRuntimeArray 32(float)
|
35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 34 10 13 12
|
||||||
36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 34 12
|
36: TypeRuntimeArray 33(float)
|
||||||
37(MeshVertexPositions): TypeStruct 35
|
37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 35 12
|
||||||
40: 7(int) Constant 5
|
38(MeshVertexPositions): TypeStruct 36
|
||||||
41: 7(int) Constant 9
|
41: 7(int) Constant 5
|
||||||
38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 39 36 17 40 41 12 12 13
|
42: 7(int) Constant 9
|
||||||
42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 43 20 17 27 12 19 43 12 13 38
|
39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 40 37 18 41 42 12 12 13
|
||||||
28: TypePointer PhysicalStorageBufferEXT 37(MeshVertexPositions)
|
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 44 22 18 28 12 21 44 12 13 39
|
||||||
44: TypePointer Function 29(Mesh)
|
29: TypePointer PhysicalStorageBufferEXT 38(MeshVertexPositions)
|
||||||
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 47 30 17 27 12 16 21
|
45: TypePointer Function 30(Mesh)
|
||||||
49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 48 31 18 28 12 17 23
|
||||||
50(Mesh): TypeStruct 28(ptr)
|
50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
||||||
51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 31 20 17 27 12 19 31 12 13
|
51(Mesh): TypeStruct 29(ptr)
|
||||||
52: TypeRuntimeArray 50(Mesh)
|
52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 32 22 18 28 12 21 32 12 13
|
||||||
53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 51 12
|
53: TypeRuntimeArray 51(Mesh)
|
||||||
54(PerPass_meshes): TypeStruct 52
|
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 52 12
|
||||||
56: 7(int) Constant 13
|
55(PerPass_meshes): TypeStruct 53
|
||||||
57: 7(int) Constant 8
|
57: 7(int) Constant 13
|
||||||
55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 39 53 17 56 57 12 12 13
|
58: 7(int) Constant 8
|
||||||
58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 59 20 17 27 12 19 59 12 13 55
|
56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 40 54 18 57 58 12 12 13
|
||||||
60: TypePointer StorageBuffer 54(PerPass_meshes)
|
59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 60 22 18 28 12 21 60 12 13 56
|
||||||
61(perPass_meshes): 60(ptr) Variable StorageBuffer
|
61: TypePointer StorageBuffer 55(PerPass_meshes)
|
||||||
62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 63 58 17 27 12 19 63 61(perPass_meshes) 57
|
62(perPass_meshes): 61(ptr) Variable StorageBuffer
|
||||||
64: TypeInt 32 1
|
63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 64 59 18 28 12 21 64 62(perPass_meshes) 58
|
||||||
66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 65 10 21 12
|
65: TypeInt 32 1
|
||||||
67: 64(int) Constant 0
|
67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 66 10 23 12
|
||||||
68: TypePointer Input 7(int)
|
68: 65(int) Constant 0
|
||||||
69(tri_idx0): 68(ptr) Variable Input
|
69: TypePointer Input 7(int)
|
||||||
70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 71 9 17 27 12 19 71 69(tri_idx0) 57
|
70(tri_idx0): 69(ptr) Variable Input
|
||||||
73: TypePointer StorageBuffer 50(Mesh)
|
71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 72 9 18 28 12 21 72 70(tri_idx0) 58
|
||||||
77: TypePointer Function 28(ptr)
|
74: TypePointer StorageBuffer 51(Mesh)
|
||||||
80: 7(int) Constant 23
|
78: TypePointer Function 29(ptr)
|
||||||
81: TypeVector 32(float) 3
|
81: 7(int) Constant 23
|
||||||
82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 34 13
|
82: TypeVector 33(float) 3
|
||||||
83: TypePointer Function 81(fvec3)
|
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 35 13
|
||||||
85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 86 82 17 80 12 16 21
|
84: TypePointer Function 82(fvec3)
|
||||||
89: 7(int) Constant 25
|
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 87 83 18 81 12 17 23
|
||||||
95: TypePointer PhysicalStorageBufferEXT 32(float)
|
90: 7(int) Constant 25
|
||||||
99: 7(int) Constant 24
|
96: TypePointer PhysicalStorageBufferEXT 33(float)
|
||||||
118: 7(int) Constant 27
|
100: 7(int) Constant 24
|
||||||
119: TypeVector 32(float) 4
|
119: 7(int) Constant 27
|
||||||
120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 34 21
|
120: TypeVector 33(float) 4
|
||||||
121: TypePointer Output 119(fvec4)
|
121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 35 23
|
||||||
122(out_fragColor): 121(ptr) Variable Output
|
122: TypePointer Output 120(fvec4)
|
||||||
123: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 124 120 17 118 12 19 124 122(out_fragColor) 57
|
123(out_fragColor): 122(ptr) Variable Output
|
||||||
126: 32(float) Constant 1065353216
|
124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 125 121 18 119 12 21 125 123(out_fragColor) 58
|
||||||
|
127: 33(float) Constant 1065353216
|
||||||
Line 1 20 11
|
Line 1 20 11
|
||||||
14(main): 4 Function None 5
|
14(main): 4 Function None 5
|
||||||
23: Label
|
15: Label
|
||||||
45(meshData): 44(ptr) Variable Function
|
46(meshData): 45(ptr) Variable Function
|
||||||
84(vertex_pos0): 83(ptr) Variable Function
|
85(vertex_pos0): 84(ptr) Variable Function
|
||||||
24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 16 14(main)
|
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main)
|
||||||
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
|
||||||
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12
|
27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
|
||||||
48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 46 45(meshData) 49
|
49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 47 46(meshData) 50
|
||||||
72: 7(int) Load 69(tri_idx0)
|
73: 7(int) Load 70(tri_idx0)
|
||||||
74: 73(ptr) AccessChain 61(perPass_meshes) 67 72
|
75: 74(ptr) AccessChain 62(perPass_meshes) 68 73
|
||||||
75: 50(Mesh) Load 74
|
76: 51(Mesh) Load 75
|
||||||
76: 28(ptr) CompositeExtract 75 0
|
77: 29(ptr) CompositeExtract 76 0
|
||||||
78: 77(ptr) AccessChain 45(meshData) 67
|
79: 78(ptr) AccessChain 46(meshData) 68
|
||||||
Store 78 76
|
Store 79 77
|
||||||
79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 80 80 12 12
|
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 81 81 12 12
|
||||||
87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 85 84(vertex_pos0) 49
|
88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 86 85(vertex_pos0) 50
|
||||||
88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 89 89 12 12
|
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 90 90 12 12
|
||||||
90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 80 80 12 12
|
91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 81 81 12 12
|
||||||
91: 77(ptr) AccessChain 45(meshData) 67
|
92: 78(ptr) AccessChain 46(meshData) 68
|
||||||
92: 28(ptr) Load 91
|
93: 29(ptr) Load 92
|
||||||
93: 7(int) Load 69(tri_idx0)
|
94: 7(int) Load 70(tri_idx0)
|
||||||
94: 7(int) IMul 13 93
|
95: 7(int) IMul 13 94
|
||||||
96: 95(ptr) AccessChain 92 67 94
|
97: 96(ptr) AccessChain 93 68 95
|
||||||
97: 32(float) Load 96 Aligned 4
|
98: 33(float) Load 97 Aligned 4
|
||||||
98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 99 99 12 12
|
99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 100 100 12 12
|
||||||
100: 77(ptr) AccessChain 45(meshData) 67
|
101: 78(ptr) AccessChain 46(meshData) 68
|
||||||
101: 28(ptr) Load 100
|
102: 29(ptr) Load 101
|
||||||
102: 7(int) Load 69(tri_idx0)
|
103: 7(int) Load 70(tri_idx0)
|
||||||
103: 7(int) IMul 13 102
|
104: 7(int) IMul 13 103
|
||||||
104: 7(int) IAdd 103 20
|
105: 7(int) IAdd 104 22
|
||||||
105: 95(ptr) AccessChain 101 67 104
|
106: 96(ptr) AccessChain 102 68 105
|
||||||
106: 32(float) Load 105 Aligned 4
|
107: 33(float) Load 106 Aligned 4
|
||||||
107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 89 89 12 12
|
108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 90 90 12 12
|
||||||
108: 77(ptr) AccessChain 45(meshData) 67
|
109: 78(ptr) AccessChain 46(meshData) 68
|
||||||
109: 28(ptr) Load 108
|
110: 29(ptr) Load 109
|
||||||
110: 7(int) Load 69(tri_idx0)
|
111: 7(int) Load 70(tri_idx0)
|
||||||
111: 7(int) IMul 13 110
|
112: 7(int) IMul 13 111
|
||||||
112: 7(int) IAdd 111 22
|
113: 7(int) IAdd 112 24
|
||||||
113: 95(ptr) AccessChain 109 67 112
|
114: 96(ptr) AccessChain 110 68 113
|
||||||
114: 32(float) Load 113 Aligned 4
|
115: 33(float) Load 114 Aligned 4
|
||||||
115: 81(fvec3) CompositeConstruct 97 106 114
|
116: 82(fvec3) CompositeConstruct 98 107 115
|
||||||
116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 80 80 12 12
|
117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 81 81 12 12
|
||||||
Store 84(vertex_pos0) 115
|
Store 85(vertex_pos0) 116
|
||||||
117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 118 118 12 12
|
118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 119 119 12 12
|
||||||
125: 81(fvec3) Load 84(vertex_pos0)
|
126: 82(fvec3) Load 85(vertex_pos0)
|
||||||
127: 32(float) CompositeExtract 125 0
|
128: 33(float) CompositeExtract 126 0
|
||||||
128: 32(float) CompositeExtract 125 1
|
129: 33(float) CompositeExtract 126 1
|
||||||
129: 32(float) CompositeExtract 125 2
|
130: 33(float) CompositeExtract 126 2
|
||||||
130: 119(fvec4) CompositeConstruct 127 128 129 126
|
131: 120(fvec4) CompositeConstruct 128 129 130 127
|
||||||
Store 122(out_fragColor) 130
|
Store 123(out_fragColor) 131
|
||||||
Return
|
Return
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
spv.debuginfo.const_params.glsl.comp
|
spv.debuginfo.const_params.glsl.comp
|
||||||
// Module Version 10000
|
// Module Version 10000
|
||||||
// Generated by (magic number): 8000b
|
// Generated by (magic number): 8000b
|
||||||
// Id's are bound by 68
|
// Id's are bound by 70
|
||||||
|
|
||||||
Capability Shader
|
Capability Shader
|
||||||
Extension "SPV_KHR_non_semantic_info"
|
Extension "SPV_KHR_non_semantic_info"
|
||||||
|
|
@ -12,8 +12,9 @@ spv.debuginfo.const_params.glsl.comp
|
||||||
ExecutionMode 14 LocalSize 1 1 1
|
ExecutionMode 14 LocalSize 1 1 1
|
||||||
1: String ""
|
1: String ""
|
||||||
8: String "uint"
|
8: String "uint"
|
||||||
15: String "main"
|
17: String "float"
|
||||||
18: String "// OpModuleProcessed auto-map-locations
|
35: String "function"
|
||||||
|
38: String "// OpModuleProcessed auto-map-locations
|
||||||
// OpModuleProcessed auto-map-bindings
|
// OpModuleProcessed auto-map-bindings
|
||||||
// OpModuleProcessed client vulkan100
|
// OpModuleProcessed client vulkan100
|
||||||
// OpModuleProcessed target-env vulkan1.0
|
// OpModuleProcessed target-env vulkan1.0
|
||||||
|
|
@ -21,18 +22,17 @@ spv.debuginfo.const_params.glsl.comp
|
||||||
// OpModuleProcessed entry-point main
|
// OpModuleProcessed entry-point main
|
||||||
#line 1
|
#line 1
|
||||||
"
|
"
|
||||||
25: String "float"
|
45: String "f"
|
||||||
40: String "function"
|
49: String "f2"
|
||||||
46: String "f"
|
52: String "f3"
|
||||||
50: String "f2"
|
55: String "f4"
|
||||||
53: String "f3"
|
57: String "main"
|
||||||
56: String "f4"
|
|
||||||
Name 14 "main"
|
Name 14 "main"
|
||||||
Name 39 "function(f1;vf2;vf3;vf4;"
|
Name 33 "function(f1;vf2;vf3;vf4;"
|
||||||
Name 35 "f"
|
Name 29 "f"
|
||||||
Name 36 "f2"
|
Name 30 "f2"
|
||||||
Name 37 "f3"
|
Name 31 "f3"
|
||||||
Name 38 "f4"
|
Name 32 "f4"
|
||||||
4: TypeVoid
|
4: TypeVoid
|
||||||
5: TypeFunction 4
|
5: TypeFunction 4
|
||||||
7: TypeInt 32 0
|
7: TypeInt 32 0
|
||||||
|
|
@ -42,55 +42,57 @@ spv.debuginfo.const_params.glsl.comp
|
||||||
9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
|
9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
|
||||||
13: 7(int) Constant 3
|
13: 7(int) Constant 3
|
||||||
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
|
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
|
||||||
17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 18
|
16: TypeFloat 32
|
||||||
20: 7(int) Constant 1
|
18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 17 10 13 12
|
||||||
21: 7(int) Constant 4
|
19: TypeVector 16(float) 2
|
||||||
22: 7(int) Constant 2
|
20: 7(int) Constant 2
|
||||||
19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 20 21 17 22
|
21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 20
|
||||||
16: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 15 6 17 12 12 19 15 13 12
|
22: TypeVector 16(float) 3
|
||||||
24: TypeFloat 32
|
23: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 13
|
||||||
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 25 10 13 12
|
24: TypeVector 16(float) 4
|
||||||
27: TypeVector 24(float) 2
|
25: 7(int) Constant 4
|
||||||
28: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 22
|
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 18 25
|
||||||
29: TypeVector 24(float) 3
|
27: TypeFunction 4 16(float) 19(fvec2) 22(fvec3) 24(fvec4)
|
||||||
30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 13
|
28: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 18 21 23 26
|
||||||
31: TypeVector 24(float) 4
|
37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 38
|
||||||
32: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 21
|
39: 7(int) Constant 7
|
||||||
33: TypeFunction 4 24(float) 27(fvec2) 29(fvec3) 31(fvec4)
|
41: 7(int) Constant 1
|
||||||
34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 26 28 30 32
|
40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 41 25 37 20
|
||||||
41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 40 34 17 12 12 19 40 13 12
|
36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 35 28 37 39 12 40 35 13 39
|
||||||
45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 46 26 17 12 12 41 21 20
|
44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 45 18 37 39 12 36 25 41
|
||||||
48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
||||||
49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 50 28 17 12 12 41 21 22
|
48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 21 37 39 12 36 25 20
|
||||||
52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 53 30 17 12 12 41 21 13
|
51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 52 23 37 39 12 36 25 13
|
||||||
55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 56 32 17 12 12 41 21 21
|
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 55 26 37 39 12 36 25 25
|
||||||
62: 7(int) Constant 13
|
59: 7(int) Constant 11
|
||||||
63: 24(float) Constant 0
|
58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 57 6 37 59 12 40 57 13 59
|
||||||
64: 27(fvec2) ConstantComposite 63 63
|
64: 7(int) Constant 13
|
||||||
65: 29(fvec3) ConstantComposite 63 63 63
|
65: 16(float) Constant 0
|
||||||
66: 31(fvec4) ConstantComposite 63 63 63 63
|
66: 19(fvec2) ConstantComposite 65 65
|
||||||
|
67: 22(fvec3) ConstantComposite 65 65 65
|
||||||
|
68: 24(fvec4) ConstantComposite 65 65 65 65
|
||||||
Line 1 11 11
|
Line 1 11 11
|
||||||
14(main): 4 Function None 5
|
14(main): 4 Function None 5
|
||||||
23: Label
|
15: Label
|
||||||
59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 16 14(main)
|
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 58 14(main)
|
||||||
60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58
|
||||||
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 62 62 12 12
|
63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 64 64 12 12
|
||||||
67: 4 FunctionCall 39(function(f1;vf2;vf3;vf4;) 63 64 65 66
|
69: 4 FunctionCall 33(function(f1;vf2;vf3;vf4;) 65 66 67 68
|
||||||
Return
|
Return
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
Line 1 7 18
|
Line 1 7 18
|
||||||
39(function(f1;vf2;vf3;vf4;): 4 Function None 33
|
33(function(f1;vf2;vf3;vf4;): 4 Function None 27
|
||||||
35(f): 24(float) FunctionParameter
|
29(f): 16(float) FunctionParameter
|
||||||
36(f2): 27(fvec2) FunctionParameter
|
30(f2): 19(fvec2) FunctionParameter
|
||||||
37(f3): 29(fvec3) FunctionParameter
|
31(f3): 22(fvec3) FunctionParameter
|
||||||
38(f4): 31(fvec4) FunctionParameter
|
32(f4): 24(fvec4) FunctionParameter
|
||||||
42: Label
|
34: Label
|
||||||
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 41
|
42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 36
|
||||||
44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 12 12 12 12
|
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 37 39 39 12 12
|
||||||
47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 45 35(f) 48
|
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 44 29(f) 47
|
||||||
51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 49 36(f2) 48
|
50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 48 30(f2) 47
|
||||||
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 52 37(f3) 48
|
53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 51 31(f3) 47
|
||||||
57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 55 38(f4) 48
|
56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 54 32(f4) 47
|
||||||
58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 41 39(function(f1;vf2;vf3;vf4;)
|
60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 36 33(function(f1;vf2;vf3;vf4;)
|
||||||
Return
|
Return
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,7 +1,7 @@
|
||||||
spv.debuginfo.glsl.geom
|
spv.debuginfo.glsl.geom
|
||||||
// Module Version 10000
|
// Module Version 10000
|
||||||
// Generated by (magic number): 8000b
|
// Generated by (magic number): 8000b
|
||||||
// Id's are bound by 256
|
// Id's are bound by 257
|
||||||
|
|
||||||
Capability Geometry
|
Capability Geometry
|
||||||
Capability MultiViewport
|
Capability MultiViewport
|
||||||
|
|
@ -9,15 +9,15 @@ spv.debuginfo.glsl.geom
|
||||||
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
||||||
3: ExtInstImport "GLSL.std.450"
|
3: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Geometry 14 "main" 62 94 113 123 126 157 196 205 222 234 240 243
|
EntryPoint Geometry 14 "main" 63 95 114 124 127 158 197 206 223 235 241 244
|
||||||
ExecutionMode 14 Triangles
|
ExecutionMode 14 Triangles
|
||||||
ExecutionMode 14 Invocations 2
|
ExecutionMode 14 Invocations 2
|
||||||
ExecutionMode 14 OutputTriangleStrip
|
ExecutionMode 14 OutputTriangleStrip
|
||||||
ExecutionMode 14 OutputVertices 3
|
ExecutionMode 14 OutputVertices 3
|
||||||
1: String ""
|
1: String ""
|
||||||
8: String "uint"
|
8: String "uint"
|
||||||
15: String "main"
|
16: String "main"
|
||||||
18: String "// OpModuleProcessed auto-map-locations
|
19: String "// OpModuleProcessed auto-map-locations
|
||||||
// OpModuleProcessed auto-map-bindings
|
// OpModuleProcessed auto-map-bindings
|
||||||
// OpModuleProcessed client vulkan100
|
// OpModuleProcessed client vulkan100
|
||||||
// OpModuleProcessed target-env vulkan1.0
|
// OpModuleProcessed target-env vulkan1.0
|
||||||
|
|
@ -25,98 +25,98 @@ spv.debuginfo.glsl.geom
|
||||||
// OpModuleProcessed entry-point main
|
// OpModuleProcessed entry-point main
|
||||||
#line 1
|
#line 1
|
||||||
"
|
"
|
||||||
29: String "int"
|
30: String "int"
|
||||||
34: String "i"
|
35: String "i"
|
||||||
50: String "bool"
|
51: String "bool"
|
||||||
57: String "float"
|
58: String "float"
|
||||||
64: String "outNormal"
|
65: String "outNormal"
|
||||||
77: String "projection"
|
78: String "projection"
|
||||||
81: String "modelview"
|
82: String "modelview"
|
||||||
84: String "lightPos"
|
85: String "lightPos"
|
||||||
87: String "UBO"
|
88: String "UBO"
|
||||||
91: String "ubo"
|
92: String "ubo"
|
||||||
96: String "gl_InvocationID"
|
97: String "gl_InvocationID"
|
||||||
115: String "inNormal"
|
116: String "inNormal"
|
||||||
125: String "outColor"
|
126: String "outColor"
|
||||||
128: String "inColor"
|
129: String "inColor"
|
||||||
137: String "pos"
|
138: String "pos"
|
||||||
143: String "gl_Position"
|
144: String "gl_Position"
|
||||||
146: String "gl_PointSize"
|
147: String "gl_PointSize"
|
||||||
149: String "gl_CullDistance"
|
150: String "gl_CullDistance"
|
||||||
153: String "gl_PerVertex"
|
154: String "gl_PerVertex"
|
||||||
159: String "gl_in"
|
160: String "gl_in"
|
||||||
168: String "worldPos"
|
169: String "worldPos"
|
||||||
180: String "lPos"
|
181: String "lPos"
|
||||||
198: String "outLightVec"
|
199: String "outLightVec"
|
||||||
207: String "outViewVec"
|
208: String "outViewVec"
|
||||||
236: String "gl_ViewportIndex"
|
237: String "gl_ViewportIndex"
|
||||||
242: String "gl_PrimitiveID"
|
243: String "gl_PrimitiveID"
|
||||||
245: String "gl_PrimitiveIDIn"
|
246: String "gl_PrimitiveIDIn"
|
||||||
SourceExtension "GL_ARB_viewport_array"
|
SourceExtension "GL_ARB_viewport_array"
|
||||||
Name 14 "main"
|
Name 14 "main"
|
||||||
Name 32 "i"
|
Name 33 "i"
|
||||||
Name 62 "outNormal"
|
Name 63 "outNormal"
|
||||||
Name 75 "UBO"
|
Name 76 "UBO"
|
||||||
MemberName 75(UBO) 0 "projection"
|
MemberName 76(UBO) 0 "projection"
|
||||||
MemberName 75(UBO) 1 "modelview"
|
MemberName 76(UBO) 1 "modelview"
|
||||||
MemberName 75(UBO) 2 "lightPos"
|
MemberName 76(UBO) 2 "lightPos"
|
||||||
Name 89 "ubo"
|
Name 90 "ubo"
|
||||||
Name 94 "gl_InvocationID"
|
Name 95 "gl_InvocationID"
|
||||||
Name 113 "inNormal"
|
Name 114 "inNormal"
|
||||||
Name 123 "outColor"
|
Name 124 "outColor"
|
||||||
Name 126 "inColor"
|
Name 127 "inColor"
|
||||||
Name 135 "pos"
|
Name 136 "pos"
|
||||||
Name 141 "gl_PerVertex"
|
Name 142 "gl_PerVertex"
|
||||||
MemberName 141(gl_PerVertex) 0 "gl_Position"
|
MemberName 142(gl_PerVertex) 0 "gl_Position"
|
||||||
MemberName 141(gl_PerVertex) 1 "gl_PointSize"
|
MemberName 142(gl_PerVertex) 1 "gl_PointSize"
|
||||||
MemberName 141(gl_PerVertex) 2 "gl_ClipDistance"
|
MemberName 142(gl_PerVertex) 2 "gl_ClipDistance"
|
||||||
MemberName 141(gl_PerVertex) 3 "gl_CullDistance"
|
MemberName 142(gl_PerVertex) 3 "gl_CullDistance"
|
||||||
Name 157 "gl_in"
|
Name 158 "gl_in"
|
||||||
Name 166 "worldPos"
|
Name 167 "worldPos"
|
||||||
Name 178 "lPos"
|
Name 179 "lPos"
|
||||||
Name 196 "outLightVec"
|
Name 197 "outLightVec"
|
||||||
Name 205 "outViewVec"
|
Name 206 "outViewVec"
|
||||||
Name 213 "gl_PerVertex"
|
Name 214 "gl_PerVertex"
|
||||||
MemberName 213(gl_PerVertex) 0 "gl_Position"
|
MemberName 214(gl_PerVertex) 0 "gl_Position"
|
||||||
MemberName 213(gl_PerVertex) 1 "gl_PointSize"
|
MemberName 214(gl_PerVertex) 1 "gl_PointSize"
|
||||||
MemberName 213(gl_PerVertex) 2 "gl_ClipDistance"
|
MemberName 214(gl_PerVertex) 2 "gl_ClipDistance"
|
||||||
MemberName 213(gl_PerVertex) 3 "gl_CullDistance"
|
MemberName 214(gl_PerVertex) 3 "gl_CullDistance"
|
||||||
Name 222 ""
|
Name 223 ""
|
||||||
Name 234 "gl_ViewportIndex"
|
Name 235 "gl_ViewportIndex"
|
||||||
Name 240 "gl_PrimitiveID"
|
Name 241 "gl_PrimitiveID"
|
||||||
Name 243 "gl_PrimitiveIDIn"
|
Name 244 "gl_PrimitiveIDIn"
|
||||||
Decorate 62(outNormal) Location 0
|
Decorate 63(outNormal) Location 0
|
||||||
Decorate 71 ArrayStride 64
|
Decorate 72 ArrayStride 64
|
||||||
Decorate 73 ArrayStride 64
|
Decorate 74 ArrayStride 64
|
||||||
MemberDecorate 75(UBO) 0 ColMajor
|
MemberDecorate 76(UBO) 0 ColMajor
|
||||||
MemberDecorate 75(UBO) 0 Offset 0
|
MemberDecorate 76(UBO) 0 Offset 0
|
||||||
MemberDecorate 75(UBO) 0 MatrixStride 16
|
MemberDecorate 76(UBO) 0 MatrixStride 16
|
||||||
MemberDecorate 75(UBO) 1 ColMajor
|
MemberDecorate 76(UBO) 1 ColMajor
|
||||||
MemberDecorate 75(UBO) 1 Offset 128
|
MemberDecorate 76(UBO) 1 Offset 128
|
||||||
MemberDecorate 75(UBO) 1 MatrixStride 16
|
MemberDecorate 76(UBO) 1 MatrixStride 16
|
||||||
MemberDecorate 75(UBO) 2 Offset 256
|
MemberDecorate 76(UBO) 2 Offset 256
|
||||||
Decorate 75(UBO) Block
|
Decorate 76(UBO) Block
|
||||||
Decorate 89(ubo) DescriptorSet 0
|
Decorate 90(ubo) DescriptorSet 0
|
||||||
Decorate 89(ubo) Binding 0
|
Decorate 90(ubo) Binding 0
|
||||||
Decorate 94(gl_InvocationID) BuiltIn InvocationId
|
Decorate 95(gl_InvocationID) BuiltIn InvocationId
|
||||||
Decorate 113(inNormal) Location 0
|
Decorate 114(inNormal) Location 0
|
||||||
Decorate 123(outColor) Location 1
|
Decorate 124(outColor) Location 1
|
||||||
Decorate 126(inColor) Location 1
|
Decorate 127(inColor) Location 1
|
||||||
MemberDecorate 141(gl_PerVertex) 0 BuiltIn Position
|
MemberDecorate 142(gl_PerVertex) 0 BuiltIn Position
|
||||||
MemberDecorate 141(gl_PerVertex) 1 BuiltIn PointSize
|
MemberDecorate 142(gl_PerVertex) 1 BuiltIn PointSize
|
||||||
MemberDecorate 141(gl_PerVertex) 2 BuiltIn ClipDistance
|
MemberDecorate 142(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||||
MemberDecorate 141(gl_PerVertex) 3 BuiltIn CullDistance
|
MemberDecorate 142(gl_PerVertex) 3 BuiltIn CullDistance
|
||||||
Decorate 141(gl_PerVertex) Block
|
Decorate 142(gl_PerVertex) Block
|
||||||
Decorate 196(outLightVec) Location 3
|
Decorate 197(outLightVec) Location 3
|
||||||
Decorate 205(outViewVec) Location 2
|
Decorate 206(outViewVec) Location 2
|
||||||
MemberDecorate 213(gl_PerVertex) 0 BuiltIn Position
|
MemberDecorate 214(gl_PerVertex) 0 BuiltIn Position
|
||||||
MemberDecorate 213(gl_PerVertex) 1 BuiltIn PointSize
|
MemberDecorate 214(gl_PerVertex) 1 BuiltIn PointSize
|
||||||
MemberDecorate 213(gl_PerVertex) 2 BuiltIn ClipDistance
|
MemberDecorate 214(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||||
MemberDecorate 213(gl_PerVertex) 3 BuiltIn CullDistance
|
MemberDecorate 214(gl_PerVertex) 3 BuiltIn CullDistance
|
||||||
Decorate 213(gl_PerVertex) Block
|
Decorate 214(gl_PerVertex) Block
|
||||||
Decorate 234(gl_ViewportIndex) BuiltIn ViewportIndex
|
Decorate 235(gl_ViewportIndex) BuiltIn ViewportIndex
|
||||||
Decorate 240(gl_PrimitiveID) BuiltIn PrimitiveId
|
Decorate 241(gl_PrimitiveID) BuiltIn PrimitiveId
|
||||||
Decorate 243(gl_PrimitiveIDIn) BuiltIn PrimitiveId
|
Decorate 244(gl_PrimitiveIDIn) BuiltIn PrimitiveId
|
||||||
4: TypeVoid
|
4: TypeVoid
|
||||||
5: TypeFunction 4
|
5: TypeFunction 4
|
||||||
7: TypeInt 32 0
|
7: TypeInt 32 0
|
||||||
|
|
@ -126,239 +126,240 @@ spv.debuginfo.glsl.geom
|
||||||
9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
|
9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
|
||||||
13: 7(int) Constant 3
|
13: 7(int) Constant 3
|
||||||
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
|
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
|
||||||
17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 18
|
18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 19
|
||||||
20: 7(int) Constant 1
|
20: 7(int) Constant 47
|
||||||
21: 7(int) Constant 4
|
22: 7(int) Constant 1
|
||||||
22: 7(int) Constant 2
|
23: 7(int) Constant 4
|
||||||
19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 20 21 17 22
|
24: 7(int) Constant 2
|
||||||
16: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 15 6 17 12 12 19 15 13 12
|
21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24
|
||||||
27: 7(int) Constant 49
|
17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20
|
||||||
28: TypeInt 32 1
|
28: 7(int) Constant 49
|
||||||
30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 29 10 21 12
|
29: TypeInt 32 1
|
||||||
31: TypePointer Function 28(int)
|
31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 23 12
|
||||||
33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 34 30 17 27 12 16 21
|
32: TypePointer Function 29(int)
|
||||||
36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 35 31 18 28 12 17 23
|
||||||
37: 28(int) Constant 0
|
37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
||||||
48: 28(int) Constant 3
|
38: 29(int) Constant 0
|
||||||
49: TypeBool
|
49: 29(int) Constant 3
|
||||||
51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 10 22 12
|
50: TypeBool
|
||||||
55: 7(int) Constant 51
|
52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 51 10 24 12
|
||||||
56: TypeFloat 32
|
56: 7(int) Constant 51
|
||||||
58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 57 10 13 12
|
57: TypeFloat 32
|
||||||
59: TypeVector 56(float) 3
|
59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 58 10 13 12
|
||||||
60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 58 13
|
60: TypeVector 57(float) 3
|
||||||
61: TypePointer Output 59(fvec3)
|
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 59 13
|
||||||
62(outNormal): 61(ptr) Variable Output
|
62: TypePointer Output 60(fvec3)
|
||||||
65: 7(int) Constant 8
|
63(outNormal): 62(ptr) Variable Output
|
||||||
63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 64 60 17 55 12 19 64 62(outNormal) 65
|
66: 7(int) Constant 8
|
||||||
66: TypeVector 56(float) 4
|
64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 65 61 18 56 12 21 65 63(outNormal) 66
|
||||||
67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 58 21
|
67: TypeVector 57(float) 4
|
||||||
68: TypeMatrix 66(fvec4) 4
|
68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 59 23
|
||||||
70: 49(bool) ConstantTrue
|
69: TypeMatrix 67(fvec4) 4
|
||||||
69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 67 21 70
|
71: 50(bool) ConstantTrue
|
||||||
71: TypeArray 68 22
|
70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 68 23 71
|
||||||
72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 69 22
|
72: TypeArray 69 24
|
||||||
73: TypeArray 68 22
|
73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 70 24
|
||||||
74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 69 22
|
74: TypeArray 69 24
|
||||||
75(UBO): TypeStruct 71 73 66(fvec4)
|
75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 70 24
|
||||||
78: 7(int) Constant 34
|
76(UBO): TypeStruct 72 74 67(fvec4)
|
||||||
79: 7(int) Constant 7
|
79: 7(int) Constant 34
|
||||||
76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 77 72 17 78 79 12 12 13
|
80: 7(int) Constant 7
|
||||||
82: 7(int) Constant 35
|
77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 78 73 18 79 80 12 12 13
|
||||||
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 81 74 17 82 79 12 12 13
|
83: 7(int) Constant 35
|
||||||
85: 7(int) Constant 36
|
81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 82 75 18 83 80 12 12 13
|
||||||
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 84 67 17 85 79 12 12 13
|
86: 7(int) Constant 36
|
||||||
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 87 20 17 55 12 19 87 12 13 76 80 83
|
84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 85 68 18 86 80 12 12 13
|
||||||
88: TypePointer Uniform 75(UBO)
|
87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 88 22 18 56 12 21 88 12 13 77 81 84
|
||||||
89(ubo): 88(ptr) Variable Uniform
|
89: TypePointer Uniform 76(UBO)
|
||||||
90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 91 86 17 55 12 19 91 89(ubo) 65
|
90(ubo): 89(ptr) Variable Uniform
|
||||||
92: 28(int) Constant 1
|
91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 92 87 18 56 12 21 92 90(ubo) 66
|
||||||
93: TypePointer Input 28(int)
|
93: 29(int) Constant 1
|
||||||
94(gl_InvocationID): 93(ptr) Variable Input
|
94: TypePointer Input 29(int)
|
||||||
95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 96 30 17 55 12 19 96 94(gl_InvocationID) 65
|
95(gl_InvocationID): 94(ptr) Variable Input
|
||||||
98: TypePointer Uniform 68
|
96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 97 31 18 56 12 21 97 95(gl_InvocationID) 66
|
||||||
101: TypeMatrix 59(fvec3) 3
|
99: TypePointer Uniform 69
|
||||||
102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 60 13 70
|
102: TypeMatrix 60(fvec3) 3
|
||||||
110: TypeArray 59(fvec3) 13
|
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 61 13 71
|
||||||
111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 60 13
|
111: TypeArray 60(fvec3) 13
|
||||||
112: TypePointer Input 110
|
112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 61 13
|
||||||
113(inNormal): 112(ptr) Variable Input
|
113: TypePointer Input 111
|
||||||
114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 115 111 17 55 12 19 115 113(inNormal) 65
|
114(inNormal): 113(ptr) Variable Input
|
||||||
117: TypePointer Input 59(fvec3)
|
115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 116 112 18 56 12 21 116 114(inNormal) 66
|
||||||
122: 7(int) Constant 52
|
118: TypePointer Input 60(fvec3)
|
||||||
123(outColor): 61(ptr) Variable Output
|
123: 7(int) Constant 52
|
||||||
124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 125 60 17 122 12 19 125 123(outColor) 65
|
124(outColor): 62(ptr) Variable Output
|
||||||
126(inColor): 112(ptr) Variable Input
|
125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 126 61 18 123 12 21 126 124(outColor) 66
|
||||||
127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 128 111 17 122 12 19 128 126(inColor) 65
|
127(inColor): 113(ptr) Variable Input
|
||||||
133: 7(int) Constant 54
|
128: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 129 112 18 123 12 21 129 127(inColor) 66
|
||||||
134: TypePointer Function 66(fvec4)
|
134: 7(int) Constant 54
|
||||||
136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 137 67 17 133 12 16 21
|
135: TypePointer Function 67(fvec4)
|
||||||
139: TypeArray 56(float) 20
|
137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 138 68 18 134 12 17 23
|
||||||
140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 58 20
|
140: TypeArray 57(float) 22
|
||||||
141(gl_PerVertex): TypeStruct 66(fvec4) 56(float) 139 139
|
141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 59 22
|
||||||
144: 7(int) Constant 23
|
142(gl_PerVertex): TypeStruct 67(fvec4) 57(float) 140 140
|
||||||
142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 143 67 17 22 144 12 12 13
|
145: 7(int) Constant 23
|
||||||
147: 7(int) Constant 41
|
143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 144 68 18 24 145 12 12 13
|
||||||
145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 58 17 22 147 12 12 13
|
148: 7(int) Constant 41
|
||||||
150: 7(int) Constant 84
|
146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 147 59 18 24 148 12 12 13
|
||||||
148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 149 140 17 22 150 12 12 13
|
151: 7(int) Constant 84
|
||||||
151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 149 140 17 22 150 12 12 13
|
149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 141 18 24 151 12 12 13
|
||||||
152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 153 20 17 133 12 19 153 12 13 142 145 148 151
|
152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 141 18 24 151 12 12 13
|
||||||
154: TypeArray 141(gl_PerVertex) 13
|
153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 154 22 18 134 12 21 154 12 13 143 146 149 152
|
||||||
155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 152 13
|
155: TypeArray 142(gl_PerVertex) 13
|
||||||
156: TypePointer Input 154
|
156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 153 13
|
||||||
157(gl_in): 156(ptr) Variable Input
|
157: TypePointer Input 155
|
||||||
158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 159 155 17 133 12 19 159 157(gl_in) 65
|
158(gl_in): 157(ptr) Variable Input
|
||||||
161: TypePointer Input 66(fvec4)
|
159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 160 156 18 134 12 21 160 158(gl_in) 66
|
||||||
165: 7(int) Constant 55
|
162: TypePointer Input 67(fvec4)
|
||||||
167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 168 67 17 165 12 16 21
|
166: 7(int) Constant 55
|
||||||
176: 7(int) Constant 57
|
168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 169 68 18 166 12 17 23
|
||||||
177: TypePointer Function 59(fvec3)
|
177: 7(int) Constant 57
|
||||||
179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 180 60 17 176 12 16 21
|
178: TypePointer Function 60(fvec3)
|
||||||
185: 28(int) Constant 2
|
180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 181 61 18 177 12 17 23
|
||||||
186: TypePointer Uniform 66(fvec4)
|
186: 29(int) Constant 2
|
||||||
195: 7(int) Constant 58
|
187: TypePointer Uniform 67(fvec4)
|
||||||
196(outLightVec): 61(ptr) Variable Output
|
196: 7(int) Constant 58
|
||||||
197: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 198 60 17 195 12 19 198 196(outLightVec) 65
|
197(outLightVec): 62(ptr) Variable Output
|
||||||
204: 7(int) Constant 59
|
198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 199 61 18 196 12 21 199 197(outLightVec) 66
|
||||||
205(outViewVec): 61(ptr) Variable Output
|
205: 7(int) Constant 59
|
||||||
206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 207 60 17 204 12 19 207 205(outViewVec) 65
|
206(outViewVec): 62(ptr) Variable Output
|
||||||
212: 7(int) Constant 61
|
207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 208 61 18 205 12 21 208 206(outViewVec) 66
|
||||||
213(gl_PerVertex): TypeStruct 66(fvec4) 56(float) 139 139
|
213: 7(int) Constant 61
|
||||||
215: 7(int) Constant 215
|
214(gl_PerVertex): TypeStruct 67(fvec4) 57(float) 140 140
|
||||||
214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 143 67 17 22 215 12 12 13
|
216: 7(int) Constant 215
|
||||||
217: 7(int) Constant 233
|
215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 144 68 18 24 216 12 12 13
|
||||||
216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 58 17 22 217 12 12 13
|
218: 7(int) Constant 233
|
||||||
218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 149 140 17 13 79 12 12 13
|
217: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 147 59 18 24 218 12 12 13
|
||||||
219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 149 140 17 13 79 12 12 13
|
219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 141 18 13 80 12 12 13
|
||||||
220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 153 20 17 212 12 19 153 12 13 214 216 218 219
|
220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 141 18 13 80 12 12 13
|
||||||
221: TypePointer Output 213(gl_PerVertex)
|
221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 154 22 18 213 12 21 154 12 13 215 217 219 220
|
||||||
222: 221(ptr) Variable Output
|
222: TypePointer Output 214(gl_PerVertex)
|
||||||
223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 220 17 212 12 19 1 222 65
|
223: 222(ptr) Variable Output
|
||||||
229: TypePointer Output 66(fvec4)
|
224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 221 18 213 12 21 1 223 66
|
||||||
232: 7(int) Constant 64
|
230: TypePointer Output 67(fvec4)
|
||||||
233: TypePointer Output 28(int)
|
233: 7(int) Constant 64
|
||||||
234(gl_ViewportIndex): 233(ptr) Variable Output
|
234: TypePointer Output 29(int)
|
||||||
235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 236 30 17 232 12 19 236 234(gl_ViewportIndex) 65
|
235(gl_ViewportIndex): 234(ptr) Variable Output
|
||||||
239: 7(int) Constant 65
|
236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 237 31 18 233 12 21 237 235(gl_ViewportIndex) 66
|
||||||
240(gl_PrimitiveID): 233(ptr) Variable Output
|
240: 7(int) Constant 65
|
||||||
241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 242 30 17 239 12 19 242 240(gl_PrimitiveID) 65
|
241(gl_PrimitiveID): 234(ptr) Variable Output
|
||||||
243(gl_PrimitiveIDIn): 93(ptr) Variable Input
|
242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 243 31 18 240 12 21 243 241(gl_PrimitiveID) 66
|
||||||
244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 245 30 17 239 12 19 245 243(gl_PrimitiveIDIn) 65
|
244(gl_PrimitiveIDIn): 94(ptr) Variable Input
|
||||||
248: 7(int) Constant 66
|
245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 246 31 18 240 12 21 246 244(gl_PrimitiveIDIn) 66
|
||||||
255: 7(int) Constant 68
|
249: 7(int) Constant 66
|
||||||
|
256: 7(int) Constant 68
|
||||||
Line 1 47 15
|
Line 1 47 15
|
||||||
14(main): 4 Function None 5
|
14(main): 4 Function None 5
|
||||||
23: Label
|
15: Label
|
||||||
32(i): 31(ptr) Variable Function
|
33(i): 32(ptr) Variable Function
|
||||||
135(pos): 134(ptr) Variable Function
|
136(pos): 135(ptr) Variable Function
|
||||||
166(worldPos): 134(ptr) Variable Function
|
167(worldPos): 135(ptr) Variable Function
|
||||||
178(lPos): 177(ptr) Variable Function
|
179(lPos): 178(ptr) Variable Function
|
||||||
24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 16 14(main)
|
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main)
|
||||||
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
|
||||||
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12
|
27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
|
||||||
35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 33 32(i) 36
|
36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 34 33(i) 37
|
||||||
Store 32(i) 37
|
Store 33(i) 38
|
||||||
Branch 38
|
Branch 39
|
||||||
38: Label
|
|
||||||
42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
||||||
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12
|
|
||||||
LoopMerge 40 41 None
|
|
||||||
Branch 44
|
|
||||||
44: Label
|
|
||||||
45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
||||||
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12
|
|
||||||
47: 28(int) Load 32(i)
|
|
||||||
52: 49(bool) SLessThan 47 48
|
|
||||||
BranchConditional 52 39 40
|
|
||||||
39: Label
|
39: Label
|
||||||
53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
|
||||||
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 55 55 12 12
|
44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
|
||||||
97: 28(int) Load 94(gl_InvocationID)
|
LoopMerge 41 42 None
|
||||||
99: 98(ptr) AccessChain 89(ubo) 92 97
|
Branch 45
|
||||||
100: 68 Load 99
|
45: Label
|
||||||
103: 66(fvec4) CompositeExtract 100 0
|
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
|
||||||
104: 59(fvec3) VectorShuffle 103 103 0 1 2
|
47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
|
||||||
105: 66(fvec4) CompositeExtract 100 1
|
48: 29(int) Load 33(i)
|
||||||
106: 59(fvec3) VectorShuffle 105 105 0 1 2
|
53: 50(bool) SLessThan 48 49
|
||||||
107: 66(fvec4) CompositeExtract 100 2
|
BranchConditional 53 40 41
|
||||||
108: 59(fvec3) VectorShuffle 107 107 0 1 2
|
|
||||||
109: 101 CompositeConstruct 104 106 108
|
|
||||||
116: 28(int) Load 32(i)
|
|
||||||
118: 117(ptr) AccessChain 113(inNormal) 116
|
|
||||||
119: 59(fvec3) Load 118
|
|
||||||
120: 59(fvec3) MatrixTimesVector 109 119
|
|
||||||
Store 62(outNormal) 120
|
|
||||||
121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 122 122 12 12
|
|
||||||
129: 28(int) Load 32(i)
|
|
||||||
130: 117(ptr) AccessChain 126(inColor) 129
|
|
||||||
131: 59(fvec3) Load 130
|
|
||||||
Store 123(outColor) 131
|
|
||||||
132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 133 133 12 12
|
|
||||||
138: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 136 135(pos) 36
|
|
||||||
160: 28(int) Load 32(i)
|
|
||||||
162: 161(ptr) AccessChain 157(gl_in) 160 37
|
|
||||||
163: 66(fvec4) Load 162
|
|
||||||
Store 135(pos) 163
|
|
||||||
164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 165 165 12 12
|
|
||||||
169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 167 166(worldPos) 36
|
|
||||||
170: 28(int) Load 94(gl_InvocationID)
|
|
||||||
171: 98(ptr) AccessChain 89(ubo) 92 170
|
|
||||||
172: 68 Load 171
|
|
||||||
173: 66(fvec4) Load 135(pos)
|
|
||||||
174: 66(fvec4) MatrixTimesVector 172 173
|
|
||||||
Store 166(worldPos) 174
|
|
||||||
175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 176 176 12 12
|
|
||||||
181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 179 178(lPos) 36
|
|
||||||
182: 28(int) Load 94(gl_InvocationID)
|
|
||||||
183: 98(ptr) AccessChain 89(ubo) 92 182
|
|
||||||
184: 68 Load 183
|
|
||||||
187: 186(ptr) AccessChain 89(ubo) 185
|
|
||||||
188: 66(fvec4) Load 187
|
|
||||||
189: 66(fvec4) MatrixTimesVector 184 188
|
|
||||||
190: 56(float) CompositeExtract 189 0
|
|
||||||
191: 56(float) CompositeExtract 189 1
|
|
||||||
192: 56(float) CompositeExtract 189 2
|
|
||||||
193: 59(fvec3) CompositeConstruct 190 191 192
|
|
||||||
Store 178(lPos) 193
|
|
||||||
194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 195 195 12 12
|
|
||||||
199: 59(fvec3) Load 178(lPos)
|
|
||||||
200: 66(fvec4) Load 166(worldPos)
|
|
||||||
201: 59(fvec3) VectorShuffle 200 200 0 1 2
|
|
||||||
202: 59(fvec3) FSub 199 201
|
|
||||||
Store 196(outLightVec) 202
|
|
||||||
203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 204 204 12 12
|
|
||||||
208: 66(fvec4) Load 166(worldPos)
|
|
||||||
209: 59(fvec3) VectorShuffle 208 208 0 1 2
|
|
||||||
210: 59(fvec3) FNegate 209
|
|
||||||
Store 205(outViewVec) 210
|
|
||||||
211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 212 212 12 12
|
|
||||||
224: 28(int) Load 94(gl_InvocationID)
|
|
||||||
225: 98(ptr) AccessChain 89(ubo) 37 224
|
|
||||||
226: 68 Load 225
|
|
||||||
227: 66(fvec4) Load 166(worldPos)
|
|
||||||
228: 66(fvec4) MatrixTimesVector 226 227
|
|
||||||
230: 229(ptr) AccessChain 222 37
|
|
||||||
Store 230 228
|
|
||||||
231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 232 232 12 12
|
|
||||||
237: 28(int) Load 94(gl_InvocationID)
|
|
||||||
Store 234(gl_ViewportIndex) 237
|
|
||||||
238: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 239 239 12 12
|
|
||||||
246: 28(int) Load 243(gl_PrimitiveIDIn)
|
|
||||||
Store 240(gl_PrimitiveID) 246
|
|
||||||
247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 248 248 12 12
|
|
||||||
EmitVertex
|
|
||||||
Branch 41
|
|
||||||
41: Label
|
|
||||||
249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
|
||||||
250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12
|
|
||||||
251: 28(int) Load 32(i)
|
|
||||||
252: 28(int) IAdd 251 92
|
|
||||||
Store 32(i) 252
|
|
||||||
Branch 38
|
|
||||||
40: Label
|
40: Label
|
||||||
253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
|
||||||
254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 255 255 12 12
|
55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 56 56 12 12
|
||||||
|
98: 29(int) Load 95(gl_InvocationID)
|
||||||
|
100: 99(ptr) AccessChain 90(ubo) 93 98
|
||||||
|
101: 69 Load 100
|
||||||
|
104: 67(fvec4) CompositeExtract 101 0
|
||||||
|
105: 60(fvec3) VectorShuffle 104 104 0 1 2
|
||||||
|
106: 67(fvec4) CompositeExtract 101 1
|
||||||
|
107: 60(fvec3) VectorShuffle 106 106 0 1 2
|
||||||
|
108: 67(fvec4) CompositeExtract 101 2
|
||||||
|
109: 60(fvec3) VectorShuffle 108 108 0 1 2
|
||||||
|
110: 102 CompositeConstruct 105 107 109
|
||||||
|
117: 29(int) Load 33(i)
|
||||||
|
119: 118(ptr) AccessChain 114(inNormal) 117
|
||||||
|
120: 60(fvec3) Load 119
|
||||||
|
121: 60(fvec3) MatrixTimesVector 110 120
|
||||||
|
Store 63(outNormal) 121
|
||||||
|
122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 123 123 12 12
|
||||||
|
130: 29(int) Load 33(i)
|
||||||
|
131: 118(ptr) AccessChain 127(inColor) 130
|
||||||
|
132: 60(fvec3) Load 131
|
||||||
|
Store 124(outColor) 132
|
||||||
|
133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 134 134 12 12
|
||||||
|
139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 137 136(pos) 37
|
||||||
|
161: 29(int) Load 33(i)
|
||||||
|
163: 162(ptr) AccessChain 158(gl_in) 161 38
|
||||||
|
164: 67(fvec4) Load 163
|
||||||
|
Store 136(pos) 164
|
||||||
|
165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 166 166 12 12
|
||||||
|
170: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 168 167(worldPos) 37
|
||||||
|
171: 29(int) Load 95(gl_InvocationID)
|
||||||
|
172: 99(ptr) AccessChain 90(ubo) 93 171
|
||||||
|
173: 69 Load 172
|
||||||
|
174: 67(fvec4) Load 136(pos)
|
||||||
|
175: 67(fvec4) MatrixTimesVector 173 174
|
||||||
|
Store 167(worldPos) 175
|
||||||
|
176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 177 177 12 12
|
||||||
|
182: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 180 179(lPos) 37
|
||||||
|
183: 29(int) Load 95(gl_InvocationID)
|
||||||
|
184: 99(ptr) AccessChain 90(ubo) 93 183
|
||||||
|
185: 69 Load 184
|
||||||
|
188: 187(ptr) AccessChain 90(ubo) 186
|
||||||
|
189: 67(fvec4) Load 188
|
||||||
|
190: 67(fvec4) MatrixTimesVector 185 189
|
||||||
|
191: 57(float) CompositeExtract 190 0
|
||||||
|
192: 57(float) CompositeExtract 190 1
|
||||||
|
193: 57(float) CompositeExtract 190 2
|
||||||
|
194: 60(fvec3) CompositeConstruct 191 192 193
|
||||||
|
Store 179(lPos) 194
|
||||||
|
195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 196 196 12 12
|
||||||
|
200: 60(fvec3) Load 179(lPos)
|
||||||
|
201: 67(fvec4) Load 167(worldPos)
|
||||||
|
202: 60(fvec3) VectorShuffle 201 201 0 1 2
|
||||||
|
203: 60(fvec3) FSub 200 202
|
||||||
|
Store 197(outLightVec) 203
|
||||||
|
204: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 205 205 12 12
|
||||||
|
209: 67(fvec4) Load 167(worldPos)
|
||||||
|
210: 60(fvec3) VectorShuffle 209 209 0 1 2
|
||||||
|
211: 60(fvec3) FNegate 210
|
||||||
|
Store 206(outViewVec) 211
|
||||||
|
212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 213 213 12 12
|
||||||
|
225: 29(int) Load 95(gl_InvocationID)
|
||||||
|
226: 99(ptr) AccessChain 90(ubo) 38 225
|
||||||
|
227: 69 Load 226
|
||||||
|
228: 67(fvec4) Load 167(worldPos)
|
||||||
|
229: 67(fvec4) MatrixTimesVector 227 228
|
||||||
|
231: 230(ptr) AccessChain 223 38
|
||||||
|
Store 231 229
|
||||||
|
232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 233 233 12 12
|
||||||
|
238: 29(int) Load 95(gl_InvocationID)
|
||||||
|
Store 235(gl_ViewportIndex) 238
|
||||||
|
239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 240 240 12 12
|
||||||
|
247: 29(int) Load 244(gl_PrimitiveIDIn)
|
||||||
|
Store 241(gl_PrimitiveID) 247
|
||||||
|
248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 249 249 12 12
|
||||||
|
EmitVertex
|
||||||
|
Branch 42
|
||||||
|
42: Label
|
||||||
|
250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
|
||||||
|
251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
|
||||||
|
252: 29(int) Load 33(i)
|
||||||
|
253: 29(int) IAdd 252 93
|
||||||
|
Store 33(i) 253
|
||||||
|
Branch 39
|
||||||
|
41: Label
|
||||||
|
254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
|
||||||
|
255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 256 256 12 12
|
||||||
EndPrimitive
|
EndPrimitive
|
||||||
Return
|
Return
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,21 +1,21 @@
|
||||||
spv.debuginfo.glsl.tese
|
spv.debuginfo.glsl.tese
|
||||||
// Module Version 10000
|
// Module Version 10000
|
||||||
// Generated by (magic number): 8000b
|
// Generated by (magic number): 8000b
|
||||||
// Id's are bound by 332
|
// Id's are bound by 333
|
||||||
|
|
||||||
Capability Tessellation
|
Capability Tessellation
|
||||||
Extension "SPV_KHR_non_semantic_info"
|
Extension "SPV_KHR_non_semantic_info"
|
||||||
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
||||||
3: ExtInstImport "GLSL.std.450"
|
3: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint TessellationEvaluation 14 "main" 42 59 86 105 133 169 280 294 302 314 321
|
EntryPoint TessellationEvaluation 14 "main" 43 60 87 106 134 170 281 295 303 315 322
|
||||||
ExecutionMode 14 Quads
|
ExecutionMode 14 Quads
|
||||||
ExecutionMode 14 SpacingEqual
|
ExecutionMode 14 SpacingEqual
|
||||||
ExecutionMode 14 VertexOrderCw
|
ExecutionMode 14 VertexOrderCw
|
||||||
1: String ""
|
1: String ""
|
||||||
8: String "uint"
|
8: String "uint"
|
||||||
15: String "main"
|
16: String "main"
|
||||||
18: String "// OpModuleProcessed auto-map-locations
|
19: String "// OpModuleProcessed auto-map-locations
|
||||||
// OpModuleProcessed auto-map-bindings
|
// OpModuleProcessed auto-map-bindings
|
||||||
// OpModuleProcessed client vulkan100
|
// OpModuleProcessed client vulkan100
|
||||||
// OpModuleProcessed target-env vulkan1.0
|
// OpModuleProcessed target-env vulkan1.0
|
||||||
|
|
@ -23,118 +23,118 @@ spv.debuginfo.glsl.tese
|
||||||
// OpModuleProcessed entry-point main
|
// OpModuleProcessed entry-point main
|
||||||
#line 1
|
#line 1
|
||||||
"
|
"
|
||||||
29: String "float"
|
30: String "float"
|
||||||
36: String "uv1"
|
37: String "uv1"
|
||||||
44: String "inUV"
|
45: String "inUV"
|
||||||
47: String "int"
|
48: String "int"
|
||||||
61: String "gl_TessCoord"
|
62: String "gl_TessCoord"
|
||||||
71: String "uv2"
|
72: String "uv2"
|
||||||
88: String "outUV"
|
89: String "outUV"
|
||||||
100: String "n1"
|
101: String "n1"
|
||||||
107: String "inNormal"
|
108: String "inNormal"
|
||||||
120: String "n2"
|
121: String "n2"
|
||||||
135: String "outNormal"
|
136: String "outNormal"
|
||||||
149: String "pos1"
|
150: String "pos1"
|
||||||
155: String "gl_Position"
|
156: String "gl_Position"
|
||||||
158: String "gl_PointSize"
|
159: String "gl_PointSize"
|
||||||
161: String "gl_CullDistance"
|
162: String "gl_CullDistance"
|
||||||
165: String "gl_PerVertex"
|
166: String "gl_PerVertex"
|
||||||
171: String "gl_in"
|
172: String "gl_in"
|
||||||
185: String "pos2"
|
186: String "pos2"
|
||||||
199: String "pos"
|
200: String "pos"
|
||||||
211: String "type.2d.image"
|
212: String "type.2d.image"
|
||||||
212: String "@type.2d.image"
|
213: String "@type.2d.image"
|
||||||
216: String "type.sampled.image"
|
217: String "type.sampled.image"
|
||||||
217: String "@type.sampled.image"
|
218: String "@type.sampled.image"
|
||||||
221: String "displacementMap"
|
222: String "displacementMap"
|
||||||
235: String "modelview"
|
236: String "modelview"
|
||||||
240: String "lightPos"
|
241: String "lightPos"
|
||||||
243: String "frustumPlanes"
|
244: String "frustumPlanes"
|
||||||
245: String "tessellatedEdgeSize"
|
246: String "tessellatedEdgeSize"
|
||||||
249: String "viewportDim"
|
250: String "viewportDim"
|
||||||
253: String "UBO"
|
254: String "UBO"
|
||||||
257: String "ubo"
|
258: String "ubo"
|
||||||
296: String "outViewVec"
|
297: String "outViewVec"
|
||||||
304: String "outLightVec"
|
305: String "outLightVec"
|
||||||
316: String "outWorldPos"
|
317: String "outWorldPos"
|
||||||
323: String "outEyePos"
|
324: String "outEyePos"
|
||||||
Name 14 "main"
|
Name 14 "main"
|
||||||
Name 34 "uv1"
|
Name 35 "uv1"
|
||||||
Name 42 "inUV"
|
Name 43 "inUV"
|
||||||
Name 59 "gl_TessCoord"
|
Name 60 "gl_TessCoord"
|
||||||
Name 69 "uv2"
|
Name 70 "uv2"
|
||||||
Name 86 "outUV"
|
Name 87 "outUV"
|
||||||
Name 98 "n1"
|
Name 99 "n1"
|
||||||
Name 105 "inNormal"
|
Name 106 "inNormal"
|
||||||
Name 118 "n2"
|
Name 119 "n2"
|
||||||
Name 133 "outNormal"
|
Name 134 "outNormal"
|
||||||
Name 147 "pos1"
|
Name 148 "pos1"
|
||||||
Name 153 "gl_PerVertex"
|
Name 154 "gl_PerVertex"
|
||||||
MemberName 153(gl_PerVertex) 0 "gl_Position"
|
MemberName 154(gl_PerVertex) 0 "gl_Position"
|
||||||
MemberName 153(gl_PerVertex) 1 "gl_PointSize"
|
MemberName 154(gl_PerVertex) 1 "gl_PointSize"
|
||||||
MemberName 153(gl_PerVertex) 2 "gl_ClipDistance"
|
MemberName 154(gl_PerVertex) 2 "gl_ClipDistance"
|
||||||
MemberName 153(gl_PerVertex) 3 "gl_CullDistance"
|
MemberName 154(gl_PerVertex) 3 "gl_CullDistance"
|
||||||
Name 169 "gl_in"
|
Name 170 "gl_in"
|
||||||
Name 183 "pos2"
|
Name 184 "pos2"
|
||||||
Name 197 "pos"
|
Name 198 "pos"
|
||||||
Name 219 "displacementMap"
|
Name 220 "displacementMap"
|
||||||
Name 233 "UBO"
|
Name 234 "UBO"
|
||||||
MemberName 233(UBO) 0 "projection"
|
MemberName 234(UBO) 0 "projection"
|
||||||
MemberName 233(UBO) 1 "modelview"
|
MemberName 234(UBO) 1 "modelview"
|
||||||
MemberName 233(UBO) 2 "lightPos"
|
MemberName 234(UBO) 2 "lightPos"
|
||||||
MemberName 233(UBO) 3 "frustumPlanes"
|
MemberName 234(UBO) 3 "frustumPlanes"
|
||||||
MemberName 233(UBO) 4 "displacementFactor"
|
MemberName 234(UBO) 4 "displacementFactor"
|
||||||
MemberName 233(UBO) 5 "tessellationFactor"
|
MemberName 234(UBO) 5 "tessellationFactor"
|
||||||
MemberName 233(UBO) 6 "viewportDim"
|
MemberName 234(UBO) 6 "viewportDim"
|
||||||
MemberName 233(UBO) 7 "tessellatedEdgeSize"
|
MemberName 234(UBO) 7 "tessellatedEdgeSize"
|
||||||
Name 255 "ubo"
|
Name 256 "ubo"
|
||||||
Name 270 "gl_PerVertex"
|
Name 271 "gl_PerVertex"
|
||||||
MemberName 270(gl_PerVertex) 0 "gl_Position"
|
MemberName 271(gl_PerVertex) 0 "gl_Position"
|
||||||
MemberName 270(gl_PerVertex) 1 "gl_PointSize"
|
MemberName 271(gl_PerVertex) 1 "gl_PointSize"
|
||||||
MemberName 270(gl_PerVertex) 2 "gl_ClipDistance"
|
MemberName 271(gl_PerVertex) 2 "gl_ClipDistance"
|
||||||
MemberName 270(gl_PerVertex) 3 "gl_CullDistance"
|
MemberName 271(gl_PerVertex) 3 "gl_CullDistance"
|
||||||
Name 280 ""
|
Name 281 ""
|
||||||
Name 294 "outViewVec"
|
Name 295 "outViewVec"
|
||||||
Name 302 "outLightVec"
|
Name 303 "outLightVec"
|
||||||
Name 314 "outWorldPos"
|
Name 315 "outWorldPos"
|
||||||
Name 321 "outEyePos"
|
Name 322 "outEyePos"
|
||||||
Decorate 42(inUV) Location 1
|
Decorate 43(inUV) Location 1
|
||||||
Decorate 59(gl_TessCoord) BuiltIn TessCoord
|
Decorate 60(gl_TessCoord) BuiltIn TessCoord
|
||||||
Decorate 86(outUV) Location 1
|
Decorate 87(outUV) Location 1
|
||||||
Decorate 105(inNormal) Location 0
|
Decorate 106(inNormal) Location 0
|
||||||
Decorate 133(outNormal) Location 0
|
Decorate 134(outNormal) Location 0
|
||||||
MemberDecorate 153(gl_PerVertex) 0 BuiltIn Position
|
MemberDecorate 154(gl_PerVertex) 0 BuiltIn Position
|
||||||
MemberDecorate 153(gl_PerVertex) 1 BuiltIn PointSize
|
MemberDecorate 154(gl_PerVertex) 1 BuiltIn PointSize
|
||||||
MemberDecorate 153(gl_PerVertex) 2 BuiltIn ClipDistance
|
MemberDecorate 154(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||||
MemberDecorate 153(gl_PerVertex) 3 BuiltIn CullDistance
|
MemberDecorate 154(gl_PerVertex) 3 BuiltIn CullDistance
|
||||||
Decorate 153(gl_PerVertex) Block
|
Decorate 154(gl_PerVertex) Block
|
||||||
Decorate 219(displacementMap) DescriptorSet 0
|
Decorate 220(displacementMap) DescriptorSet 0
|
||||||
Decorate 219(displacementMap) Binding 1
|
Decorate 220(displacementMap) Binding 1
|
||||||
Decorate 231 ArrayStride 16
|
Decorate 232 ArrayStride 16
|
||||||
MemberDecorate 233(UBO) 0 ColMajor
|
MemberDecorate 234(UBO) 0 ColMajor
|
||||||
MemberDecorate 233(UBO) 0 Offset 0
|
MemberDecorate 234(UBO) 0 Offset 0
|
||||||
MemberDecorate 233(UBO) 0 MatrixStride 16
|
MemberDecorate 234(UBO) 0 MatrixStride 16
|
||||||
MemberDecorate 233(UBO) 1 ColMajor
|
MemberDecorate 234(UBO) 1 ColMajor
|
||||||
MemberDecorate 233(UBO) 1 Offset 64
|
MemberDecorate 234(UBO) 1 Offset 64
|
||||||
MemberDecorate 233(UBO) 1 MatrixStride 16
|
MemberDecorate 234(UBO) 1 MatrixStride 16
|
||||||
MemberDecorate 233(UBO) 2 Offset 128
|
MemberDecorate 234(UBO) 2 Offset 128
|
||||||
MemberDecorate 233(UBO) 3 Offset 144
|
MemberDecorate 234(UBO) 3 Offset 144
|
||||||
MemberDecorate 233(UBO) 4 Offset 240
|
MemberDecorate 234(UBO) 4 Offset 240
|
||||||
MemberDecorate 233(UBO) 5 Offset 244
|
MemberDecorate 234(UBO) 5 Offset 244
|
||||||
MemberDecorate 233(UBO) 6 Offset 248
|
MemberDecorate 234(UBO) 6 Offset 248
|
||||||
MemberDecorate 233(UBO) 7 Offset 256
|
MemberDecorate 234(UBO) 7 Offset 256
|
||||||
Decorate 233(UBO) Block
|
Decorate 234(UBO) Block
|
||||||
Decorate 255(ubo) DescriptorSet 0
|
Decorate 256(ubo) DescriptorSet 0
|
||||||
Decorate 255(ubo) Binding 0
|
Decorate 256(ubo) Binding 0
|
||||||
MemberDecorate 270(gl_PerVertex) 0 BuiltIn Position
|
MemberDecorate 271(gl_PerVertex) 0 BuiltIn Position
|
||||||
MemberDecorate 270(gl_PerVertex) 1 BuiltIn PointSize
|
MemberDecorate 271(gl_PerVertex) 1 BuiltIn PointSize
|
||||||
MemberDecorate 270(gl_PerVertex) 2 BuiltIn ClipDistance
|
MemberDecorate 271(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||||
MemberDecorate 270(gl_PerVertex) 3 BuiltIn CullDistance
|
MemberDecorate 271(gl_PerVertex) 3 BuiltIn CullDistance
|
||||||
Decorate 270(gl_PerVertex) Block
|
Decorate 271(gl_PerVertex) Block
|
||||||
Decorate 294(outViewVec) Location 2
|
Decorate 295(outViewVec) Location 2
|
||||||
Decorate 302(outLightVec) Location 3
|
Decorate 303(outLightVec) Location 3
|
||||||
Decorate 314(outWorldPos) Location 5
|
Decorate 315(outWorldPos) Location 5
|
||||||
Decorate 321(outEyePos) Location 4
|
Decorate 322(outEyePos) Location 4
|
||||||
4: TypeVoid
|
4: TypeVoid
|
||||||
5: TypeFunction 4
|
5: TypeFunction 4
|
||||||
7: TypeInt 32 0
|
7: TypeInt 32 0
|
||||||
|
|
@ -144,302 +144,303 @@ spv.debuginfo.glsl.tese
|
||||||
9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
|
9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
|
||||||
13: 7(int) Constant 3
|
13: 7(int) Constant 3
|
||||||
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
|
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
|
||||||
17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 18
|
18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 19
|
||||||
20: 7(int) Constant 1
|
20: 7(int) Constant 53
|
||||||
21: 7(int) Constant 4
|
22: 7(int) Constant 1
|
||||||
22: 7(int) Constant 2
|
23: 7(int) Constant 4
|
||||||
19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 20 21 17 22
|
24: 7(int) Constant 2
|
||||||
16: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 15 6 17 12 12 19 15 13 12
|
21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24
|
||||||
27: 7(int) Constant 56
|
17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20
|
||||||
28: TypeFloat 32
|
28: 7(int) Constant 56
|
||||||
30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 29 10 13 12
|
29: TypeFloat 32
|
||||||
31: TypeVector 28(float) 2
|
31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 13 12
|
||||||
32: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 30 22
|
32: TypeVector 29(float) 2
|
||||||
33: TypePointer Function 31(fvec2)
|
33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 24
|
||||||
35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 36 32 17 27 12 16 21
|
34: TypePointer Function 32(fvec2)
|
||||||
38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 37 33 18 28 12 17 23
|
||||||
39: TypeArray 31(fvec2) 10
|
39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
||||||
40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 32 10
|
40: TypeArray 32(fvec2) 10
|
||||||
41: TypePointer Input 39
|
41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 33 10
|
||||||
42(inUV): 41(ptr) Variable Input
|
42: TypePointer Input 40
|
||||||
45: 7(int) Constant 8
|
43(inUV): 42(ptr) Variable Input
|
||||||
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 44 40 17 27 12 19 44 42(inUV) 45
|
46: 7(int) Constant 8
|
||||||
46: TypeInt 32 1
|
44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 45 41 18 28 12 21 45 43(inUV) 46
|
||||||
48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 21 12
|
47: TypeInt 32 1
|
||||||
49: 46(int) Constant 0
|
49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 48 10 23 12
|
||||||
50: TypePointer Input 31(fvec2)
|
50: 47(int) Constant 0
|
||||||
53: 46(int) Constant 1
|
51: TypePointer Input 32(fvec2)
|
||||||
56: TypeVector 28(float) 3
|
54: 47(int) Constant 1
|
||||||
57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 30 13
|
57: TypeVector 29(float) 3
|
||||||
58: TypePointer Input 56(fvec3)
|
58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 13
|
||||||
59(gl_TessCoord): 58(ptr) Variable Input
|
59: TypePointer Input 57(fvec3)
|
||||||
60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 61 57 17 27 12 19 61 59(gl_TessCoord) 45
|
60(gl_TessCoord): 59(ptr) Variable Input
|
||||||
62: TypePointer Input 28(float)
|
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 62 58 18 28 12 21 62 60(gl_TessCoord) 46
|
||||||
68: 7(int) Constant 57
|
63: TypePointer Input 29(float)
|
||||||
70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 71 32 17 68 12 16 21
|
69: 7(int) Constant 57
|
||||||
73: 46(int) Constant 3
|
71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 72 33 18 69 12 17 23
|
||||||
76: 46(int) Constant 2
|
74: 47(int) Constant 3
|
||||||
84: 7(int) Constant 58
|
77: 47(int) Constant 2
|
||||||
85: TypePointer Output 31(fvec2)
|
85: 7(int) Constant 58
|
||||||
86(outUV): 85(ptr) Variable Output
|
86: TypePointer Output 32(fvec2)
|
||||||
87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 88 32 17 84 12 19 88 86(outUV) 45
|
87(outUV): 86(ptr) Variable Output
|
||||||
96: 7(int) Constant 60
|
88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 89 33 18 85 12 21 89 87(outUV) 46
|
||||||
97: TypePointer Function 56(fvec3)
|
97: 7(int) Constant 60
|
||||||
99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 100 57 17 96 12 16 21
|
98: TypePointer Function 57(fvec3)
|
||||||
102: TypeArray 56(fvec3) 10
|
100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 101 58 18 97 12 17 23
|
||||||
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 57 10
|
103: TypeArray 57(fvec3) 10
|
||||||
104: TypePointer Input 102
|
104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 58 10
|
||||||
105(inNormal): 104(ptr) Variable Input
|
105: TypePointer Input 103
|
||||||
106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 107 103 17 96 12 19 107 105(inNormal) 45
|
106(inNormal): 105(ptr) Variable Input
|
||||||
117: 7(int) Constant 61
|
107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 108 104 18 97 12 21 108 106(inNormal) 46
|
||||||
119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 120 57 17 117 12 16 21
|
118: 7(int) Constant 61
|
||||||
131: 7(int) Constant 62
|
120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 121 58 18 118 12 17 23
|
||||||
132: TypePointer Output 56(fvec3)
|
132: 7(int) Constant 62
|
||||||
133(outNormal): 132(ptr) Variable Output
|
133: TypePointer Output 57(fvec3)
|
||||||
134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 135 57 17 131 12 19 135 133(outNormal) 45
|
134(outNormal): 133(ptr) Variable Output
|
||||||
143: 7(int) Constant 65
|
135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 136 58 18 132 12 21 136 134(outNormal) 46
|
||||||
144: TypeVector 28(float) 4
|
144: 7(int) Constant 65
|
||||||
145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 30 21
|
145: TypeVector 29(float) 4
|
||||||
146: TypePointer Function 144(fvec4)
|
146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 23
|
||||||
148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 149 145 17 143 12 16 21
|
147: TypePointer Function 145(fvec4)
|
||||||
151: TypeArray 28(float) 20
|
149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 150 146 18 144 12 17 23
|
||||||
152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 30 20
|
152: TypeArray 29(float) 22
|
||||||
153(gl_PerVertex): TypeStruct 144(fvec4) 28(float) 151 151
|
153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22
|
||||||
156: 7(int) Constant 1756
|
154(gl_PerVertex): TypeStruct 145(fvec4) 29(float) 152 152
|
||||||
154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 145 17 20 156 12 12 13
|
157: 7(int) Constant 1756
|
||||||
159: 7(int) Constant 1774
|
155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 146 18 22 157 12 12 13
|
||||||
157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 30 17 20 159 12 12 13
|
160: 7(int) Constant 1774
|
||||||
162: 7(int) Constant 1817
|
158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 31 18 22 160 12 12 13
|
||||||
160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 152 17 20 162 12 12 13
|
163: 7(int) Constant 1817
|
||||||
163: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 152 17 20 162 12 12 13
|
161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 163 12 12 13
|
||||||
164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 165 20 17 143 12 19 165 12 13 154 157 160 163
|
164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 163 12 12 13
|
||||||
166: TypeArray 153(gl_PerVertex) 10
|
165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 22 18 144 12 21 166 12 13 155 158 161 164
|
||||||
167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 164 10
|
167: TypeArray 154(gl_PerVertex) 10
|
||||||
168: TypePointer Input 166
|
168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 165 10
|
||||||
169(gl_in): 168(ptr) Variable Input
|
169: TypePointer Input 167
|
||||||
170: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 171 167 17 143 12 19 171 169(gl_in) 45
|
170(gl_in): 169(ptr) Variable Input
|
||||||
172: TypePointer Input 144(fvec4)
|
171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 172 168 18 144 12 21 172 170(gl_in) 46
|
||||||
182: 7(int) Constant 66
|
173: TypePointer Input 145(fvec4)
|
||||||
184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 185 145 17 182 12 16 21
|
183: 7(int) Constant 66
|
||||||
196: 7(int) Constant 67
|
185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 186 146 18 183 12 17 23
|
||||||
198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 199 145 17 196 12 16 21
|
197: 7(int) Constant 67
|
||||||
208: 7(int) Constant 69
|
199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 200 146 18 197 12 17 23
|
||||||
209: TypeImage 28(float) 2D sampled format:Unknown
|
209: 7(int) Constant 69
|
||||||
213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
|
210: TypeImage 29(float) 2D sampled format:Unknown
|
||||||
210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 211 12 17 208 12 19 212 213 13
|
214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
|
||||||
214: TypeSampledImage 209
|
211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 212 12 18 209 12 21 213 214 13
|
||||||
215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 216 12 17 208 12 19 217 213 13
|
215: TypeSampledImage 210
|
||||||
218: TypePointer UniformConstant 214
|
216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 217 12 18 209 12 21 218 214 13
|
||||||
219(displacementMap): 218(ptr) Variable UniformConstant
|
219: TypePointer UniformConstant 215
|
||||||
220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 221 215 17 208 12 19 221 219(displacementMap) 45
|
220(displacementMap): 219(ptr) Variable UniformConstant
|
||||||
224: 28(float) Constant 0
|
221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 222 216 18 209 12 21 222 220(displacementMap) 46
|
||||||
227: TypeMatrix 144(fvec4) 4
|
225: 29(float) Constant 0
|
||||||
229: TypeBool
|
228: TypeMatrix 145(fvec4) 4
|
||||||
230: 229(bool) ConstantTrue
|
230: TypeBool
|
||||||
228: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 145 21 230
|
231: 230(bool) ConstantTrue
|
||||||
231: TypeArray 144(fvec4) 11
|
229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 146 23 231
|
||||||
232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 145 11
|
232: TypeArray 145(fvec4) 11
|
||||||
233(UBO): TypeStruct 227 227 144(fvec4) 231 28(float) 28(float) 31(fvec2) 28(float)
|
233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 146 11
|
||||||
236: 7(int) Constant 30
|
234(UBO): TypeStruct 228 228 145(fvec4) 232 29(float) 29(float) 32(fvec2) 29(float)
|
||||||
237: 7(int) Constant 7
|
237: 7(int) Constant 30
|
||||||
234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 235 228 17 236 237 12 12 13
|
238: 7(int) Constant 7
|
||||||
238: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 235 228 17 236 237 12 12 13
|
235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 236 229 18 237 238 12 12 13
|
||||||
241: 7(int) Constant 31
|
239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 236 229 18 237 238 12 12 13
|
||||||
239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 240 145 17 241 237 12 12 13
|
242: 7(int) Constant 31
|
||||||
242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 243 232 17 10 237 12 12 13
|
240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 241 146 18 242 238 12 12 13
|
||||||
246: 7(int) Constant 36
|
243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 244 233 18 10 238 12 12 13
|
||||||
244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 245 30 17 246 45 12 12 13
|
247: 7(int) Constant 36
|
||||||
247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 245 30 17 246 45 12 12 13
|
245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 31 18 247 46 12 12 13
|
||||||
250: 7(int) Constant 35
|
248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 31 18 247 46 12 12 13
|
||||||
248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 249 32 17 250 237 12 12 13
|
251: 7(int) Constant 35
|
||||||
251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 245 30 17 246 45 12 12 13
|
249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 250 33 18 251 238 12 12 13
|
||||||
252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 253 20 17 208 12 19 253 12 13 234 238 239 242 244 247 248 251
|
252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 31 18 247 46 12 12 13
|
||||||
254: TypePointer Uniform 233(UBO)
|
253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 254 22 18 209 12 21 254 12 13 235 239 240 243 245 248 249 252
|
||||||
255(ubo): 254(ptr) Variable Uniform
|
255: TypePointer Uniform 234(UBO)
|
||||||
256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 257 252 17 208 12 19 257 255(ubo) 45
|
256(ubo): 255(ptr) Variable Uniform
|
||||||
258: 46(int) Constant 4
|
257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 258 253 18 209 12 21 258 256(ubo) 46
|
||||||
259: TypePointer Uniform 28(float)
|
259: 47(int) Constant 4
|
||||||
263: TypePointer Function 28(float)
|
260: TypePointer Uniform 29(float)
|
||||||
269: 7(int) Constant 71
|
264: TypePointer Function 29(float)
|
||||||
270(gl_PerVertex): TypeStruct 144(fvec4) 28(float) 151 151
|
270: 7(int) Constant 71
|
||||||
272: 7(int) Constant 165
|
271(gl_PerVertex): TypeStruct 145(fvec4) 29(float) 152 152
|
||||||
271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 145 17 20 272 12 12 13
|
273: 7(int) Constant 165
|
||||||
274: 7(int) Constant 183
|
272: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 146 18 22 273 12 12 13
|
||||||
273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 30 17 20 274 12 12 13
|
275: 7(int) Constant 183
|
||||||
276: 7(int) Constant 226
|
274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 31 18 22 275 12 12 13
|
||||||
275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 152 17 20 276 12 12 13
|
277: 7(int) Constant 226
|
||||||
277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 152 17 20 276 12 12 13
|
276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 277 12 12 13
|
||||||
278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 165 20 17 269 12 19 165 12 13 271 273 275 277
|
278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 277 12 12 13
|
||||||
279: TypePointer Output 270(gl_PerVertex)
|
279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 22 18 270 12 21 166 12 13 272 274 276 278
|
||||||
280: 279(ptr) Variable Output
|
280: TypePointer Output 271(gl_PerVertex)
|
||||||
281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 278 17 269 12 19 1 280 45
|
281: 280(ptr) Variable Output
|
||||||
282: TypePointer Uniform 227
|
282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 279 18 270 12 21 1 281 46
|
||||||
290: TypePointer Output 144(fvec4)
|
283: TypePointer Uniform 228
|
||||||
293: 7(int) Constant 74
|
291: TypePointer Output 145(fvec4)
|
||||||
294(outViewVec): 132(ptr) Variable Output
|
294: 7(int) Constant 74
|
||||||
295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 296 57 17 293 12 19 296 294(outViewVec) 45
|
295(outViewVec): 133(ptr) Variable Output
|
||||||
301: 7(int) Constant 75
|
296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 297 58 18 294 12 21 297 295(outViewVec) 46
|
||||||
302(outLightVec): 132(ptr) Variable Output
|
302: 7(int) Constant 75
|
||||||
303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 304 57 17 301 12 19 304 302(outLightVec) 45
|
303(outLightVec): 133(ptr) Variable Output
|
||||||
305: TypePointer Uniform 144(fvec4)
|
304: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 305 58 18 302 12 21 305 303(outLightVec) 46
|
||||||
313: 7(int) Constant 76
|
306: TypePointer Uniform 145(fvec4)
|
||||||
314(outWorldPos): 132(ptr) Variable Output
|
314: 7(int) Constant 76
|
||||||
315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 316 57 17 313 12 19 316 314(outWorldPos) 45
|
315(outWorldPos): 133(ptr) Variable Output
|
||||||
320: 7(int) Constant 77
|
316: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 317 58 18 314 12 21 317 315(outWorldPos) 46
|
||||||
321(outEyePos): 132(ptr) Variable Output
|
321: 7(int) Constant 77
|
||||||
322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 323 57 17 320 12 19 323 321(outEyePos) 45
|
322(outEyePos): 133(ptr) Variable Output
|
||||||
|
323: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 324 58 18 321 12 21 324 322(outEyePos) 46
|
||||||
Line 1 53 11
|
Line 1 53 11
|
||||||
14(main): 4 Function None 5
|
14(main): 4 Function None 5
|
||||||
23: Label
|
15: Label
|
||||||
34(uv1): 33(ptr) Variable Function
|
35(uv1): 34(ptr) Variable Function
|
||||||
69(uv2): 33(ptr) Variable Function
|
70(uv2): 34(ptr) Variable Function
|
||||||
98(n1): 97(ptr) Variable Function
|
99(n1): 98(ptr) Variable Function
|
||||||
118(n2): 97(ptr) Variable Function
|
119(n2): 98(ptr) Variable Function
|
||||||
147(pos1): 146(ptr) Variable Function
|
148(pos1): 147(ptr) Variable Function
|
||||||
183(pos2): 146(ptr) Variable Function
|
184(pos2): 147(ptr) Variable Function
|
||||||
197(pos): 146(ptr) Variable Function
|
198(pos): 147(ptr) Variable Function
|
||||||
24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 16 14(main)
|
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main)
|
||||||
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
|
||||||
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12
|
27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
|
||||||
37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 35 34(uv1) 38
|
38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 36 35(uv1) 39
|
||||||
51: 50(ptr) AccessChain 42(inUV) 49
|
52: 51(ptr) AccessChain 43(inUV) 50
|
||||||
52: 31(fvec2) Load 51
|
53: 32(fvec2) Load 52
|
||||||
54: 50(ptr) AccessChain 42(inUV) 53
|
55: 51(ptr) AccessChain 43(inUV) 54
|
||||||
55: 31(fvec2) Load 54
|
56: 32(fvec2) Load 55
|
||||||
63: 62(ptr) AccessChain 59(gl_TessCoord) 12
|
64: 63(ptr) AccessChain 60(gl_TessCoord) 12
|
||||||
64: 28(float) Load 63
|
65: 29(float) Load 64
|
||||||
65: 31(fvec2) CompositeConstruct 64 64
|
66: 32(fvec2) CompositeConstruct 65 65
|
||||||
66: 31(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 52 55 65
|
67: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 53 56 66
|
||||||
Store 34(uv1) 66
|
Store 35(uv1) 67
|
||||||
67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 68 68 12 12
|
68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 69 69 12 12
|
||||||
72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 70 69(uv2) 38
|
73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 71 70(uv2) 39
|
||||||
74: 50(ptr) AccessChain 42(inUV) 73
|
75: 51(ptr) AccessChain 43(inUV) 74
|
||||||
75: 31(fvec2) Load 74
|
76: 32(fvec2) Load 75
|
||||||
77: 50(ptr) AccessChain 42(inUV) 76
|
78: 51(ptr) AccessChain 43(inUV) 77
|
||||||
78: 31(fvec2) Load 77
|
79: 32(fvec2) Load 78
|
||||||
79: 62(ptr) AccessChain 59(gl_TessCoord) 12
|
80: 63(ptr) AccessChain 60(gl_TessCoord) 12
|
||||||
80: 28(float) Load 79
|
81: 29(float) Load 80
|
||||||
81: 31(fvec2) CompositeConstruct 80 80
|
82: 32(fvec2) CompositeConstruct 81 81
|
||||||
82: 31(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 75 78 81
|
83: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 76 79 82
|
||||||
Store 69(uv2) 82
|
Store 70(uv2) 83
|
||||||
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 84 84 12 12
|
84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 85 85 12 12
|
||||||
89: 31(fvec2) Load 34(uv1)
|
90: 32(fvec2) Load 35(uv1)
|
||||||
90: 31(fvec2) Load 69(uv2)
|
91: 32(fvec2) Load 70(uv2)
|
||||||
91: 62(ptr) AccessChain 59(gl_TessCoord) 20
|
92: 63(ptr) AccessChain 60(gl_TessCoord) 22
|
||||||
92: 28(float) Load 91
|
93: 29(float) Load 92
|
||||||
93: 31(fvec2) CompositeConstruct 92 92
|
94: 32(fvec2) CompositeConstruct 93 93
|
||||||
94: 31(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 89 90 93
|
95: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 90 91 94
|
||||||
Store 86(outUV) 94
|
Store 87(outUV) 95
|
||||||
95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 96 96 12 12
|
96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 97 97 12 12
|
||||||
101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 99 98(n1) 38
|
102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 100 99(n1) 39
|
||||||
108: 58(ptr) AccessChain 105(inNormal) 49
|
109: 59(ptr) AccessChain 106(inNormal) 50
|
||||||
109: 56(fvec3) Load 108
|
110: 57(fvec3) Load 109
|
||||||
110: 58(ptr) AccessChain 105(inNormal) 53
|
111: 59(ptr) AccessChain 106(inNormal) 54
|
||||||
111: 56(fvec3) Load 110
|
112: 57(fvec3) Load 111
|
||||||
112: 62(ptr) AccessChain 59(gl_TessCoord) 12
|
113: 63(ptr) AccessChain 60(gl_TessCoord) 12
|
||||||
113: 28(float) Load 112
|
114: 29(float) Load 113
|
||||||
114: 56(fvec3) CompositeConstruct 113 113 113
|
115: 57(fvec3) CompositeConstruct 114 114 114
|
||||||
115: 56(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 109 111 114
|
116: 57(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 110 112 115
|
||||||
Store 98(n1) 115
|
Store 99(n1) 116
|
||||||
116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 117 117 12 12
|
117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 118 118 12 12
|
||||||
121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 119 118(n2) 38
|
122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 120 119(n2) 39
|
||||||
122: 58(ptr) AccessChain 105(inNormal) 73
|
123: 59(ptr) AccessChain 106(inNormal) 74
|
||||||
123: 56(fvec3) Load 122
|
124: 57(fvec3) Load 123
|
||||||
124: 58(ptr) AccessChain 105(inNormal) 76
|
125: 59(ptr) AccessChain 106(inNormal) 77
|
||||||
125: 56(fvec3) Load 124
|
126: 57(fvec3) Load 125
|
||||||
126: 62(ptr) AccessChain 59(gl_TessCoord) 12
|
127: 63(ptr) AccessChain 60(gl_TessCoord) 12
|
||||||
127: 28(float) Load 126
|
128: 29(float) Load 127
|
||||||
128: 56(fvec3) CompositeConstruct 127 127 127
|
129: 57(fvec3) CompositeConstruct 128 128 128
|
||||||
129: 56(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 123 125 128
|
130: 57(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 124 126 129
|
||||||
Store 118(n2) 129
|
Store 119(n2) 130
|
||||||
130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 131 131 12 12
|
131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 132 132 12 12
|
||||||
136: 56(fvec3) Load 98(n1)
|
137: 57(fvec3) Load 99(n1)
|
||||||
137: 56(fvec3) Load 118(n2)
|
138: 57(fvec3) Load 119(n2)
|
||||||
138: 62(ptr) AccessChain 59(gl_TessCoord) 20
|
139: 63(ptr) AccessChain 60(gl_TessCoord) 22
|
||||||
139: 28(float) Load 138
|
140: 29(float) Load 139
|
||||||
140: 56(fvec3) CompositeConstruct 139 139 139
|
141: 57(fvec3) CompositeConstruct 140 140 140
|
||||||
141: 56(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 136 137 140
|
142: 57(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 137 138 141
|
||||||
Store 133(outNormal) 141
|
Store 134(outNormal) 142
|
||||||
142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 143 143 12 12
|
143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 144 144 12 12
|
||||||
150: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 148 147(pos1) 38
|
151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 149 148(pos1) 39
|
||||||
173: 172(ptr) AccessChain 169(gl_in) 49 49
|
174: 173(ptr) AccessChain 170(gl_in) 50 50
|
||||||
174: 144(fvec4) Load 173
|
175: 145(fvec4) Load 174
|
||||||
175: 172(ptr) AccessChain 169(gl_in) 53 49
|
176: 173(ptr) AccessChain 170(gl_in) 54 50
|
||||||
176: 144(fvec4) Load 175
|
177: 145(fvec4) Load 176
|
||||||
177: 62(ptr) AccessChain 59(gl_TessCoord) 12
|
178: 63(ptr) AccessChain 60(gl_TessCoord) 12
|
||||||
178: 28(float) Load 177
|
179: 29(float) Load 178
|
||||||
179: 144(fvec4) CompositeConstruct 178 178 178 178
|
180: 145(fvec4) CompositeConstruct 179 179 179 179
|
||||||
180: 144(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 174 176 179
|
181: 145(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 175 177 180
|
||||||
Store 147(pos1) 180
|
Store 148(pos1) 181
|
||||||
181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 182 182 12 12
|
182: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 183 183 12 12
|
||||||
186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 184 183(pos2) 38
|
187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 185 184(pos2) 39
|
||||||
187: 172(ptr) AccessChain 169(gl_in) 73 49
|
188: 173(ptr) AccessChain 170(gl_in) 74 50
|
||||||
188: 144(fvec4) Load 187
|
189: 145(fvec4) Load 188
|
||||||
189: 172(ptr) AccessChain 169(gl_in) 76 49
|
190: 173(ptr) AccessChain 170(gl_in) 77 50
|
||||||
190: 144(fvec4) Load 189
|
191: 145(fvec4) Load 190
|
||||||
191: 62(ptr) AccessChain 59(gl_TessCoord) 12
|
192: 63(ptr) AccessChain 60(gl_TessCoord) 12
|
||||||
192: 28(float) Load 191
|
193: 29(float) Load 192
|
||||||
193: 144(fvec4) CompositeConstruct 192 192 192 192
|
194: 145(fvec4) CompositeConstruct 193 193 193 193
|
||||||
194: 144(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 188 190 193
|
195: 145(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 189 191 194
|
||||||
Store 183(pos2) 194
|
Store 184(pos2) 195
|
||||||
195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 196 196 12 12
|
196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 197 197 12 12
|
||||||
200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 198 197(pos) 38
|
201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 199 198(pos) 39
|
||||||
201: 144(fvec4) Load 147(pos1)
|
202: 145(fvec4) Load 148(pos1)
|
||||||
202: 144(fvec4) Load 183(pos2)
|
203: 145(fvec4) Load 184(pos2)
|
||||||
203: 62(ptr) AccessChain 59(gl_TessCoord) 20
|
204: 63(ptr) AccessChain 60(gl_TessCoord) 22
|
||||||
204: 28(float) Load 203
|
205: 29(float) Load 204
|
||||||
205: 144(fvec4) CompositeConstruct 204 204 204 204
|
206: 145(fvec4) CompositeConstruct 205 205 205 205
|
||||||
206: 144(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 201 202 205
|
207: 145(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 202 203 206
|
||||||
Store 197(pos) 206
|
Store 198(pos) 207
|
||||||
207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 208 208 12 12
|
208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 209 209 12 12
|
||||||
222: 214 Load 219(displacementMap)
|
223: 215 Load 220(displacementMap)
|
||||||
223: 31(fvec2) Load 86(outUV)
|
224: 32(fvec2) Load 87(outUV)
|
||||||
225: 144(fvec4) ImageSampleExplicitLod 222 223 Lod 224
|
226: 145(fvec4) ImageSampleExplicitLod 223 224 Lod 225
|
||||||
226: 28(float) CompositeExtract 225 0
|
227: 29(float) CompositeExtract 226 0
|
||||||
260: 259(ptr) AccessChain 255(ubo) 258
|
261: 260(ptr) AccessChain 256(ubo) 259
|
||||||
261: 28(float) Load 260
|
262: 29(float) Load 261
|
||||||
262: 28(float) FMul 226 261
|
263: 29(float) FMul 227 262
|
||||||
264: 263(ptr) AccessChain 197(pos) 20
|
265: 264(ptr) AccessChain 198(pos) 22
|
||||||
265: 28(float) Load 264
|
266: 29(float) Load 265
|
||||||
266: 28(float) FSub 265 262
|
267: 29(float) FSub 266 263
|
||||||
267: 263(ptr) AccessChain 197(pos) 20
|
268: 264(ptr) AccessChain 198(pos) 22
|
||||||
Store 267 266
|
Store 268 267
|
||||||
268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 269 269 12 12
|
269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 270 270 12 12
|
||||||
283: 282(ptr) AccessChain 255(ubo) 49
|
284: 283(ptr) AccessChain 256(ubo) 50
|
||||||
284: 227 Load 283
|
285: 228 Load 284
|
||||||
285: 282(ptr) AccessChain 255(ubo) 53
|
286: 283(ptr) AccessChain 256(ubo) 54
|
||||||
286: 227 Load 285
|
287: 228 Load 286
|
||||||
287: 227 MatrixTimesMatrix 284 286
|
288: 228 MatrixTimesMatrix 285 287
|
||||||
288: 144(fvec4) Load 197(pos)
|
289: 145(fvec4) Load 198(pos)
|
||||||
289: 144(fvec4) MatrixTimesVector 287 288
|
290: 145(fvec4) MatrixTimesVector 288 289
|
||||||
291: 290(ptr) AccessChain 280 49
|
292: 291(ptr) AccessChain 281 50
|
||||||
Store 291 289
|
Store 292 290
|
||||||
292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 293 293 12 12
|
293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 294 294 12 12
|
||||||
297: 144(fvec4) Load 197(pos)
|
298: 145(fvec4) Load 198(pos)
|
||||||
298: 56(fvec3) VectorShuffle 297 297 0 1 2
|
299: 57(fvec3) VectorShuffle 298 298 0 1 2
|
||||||
299: 56(fvec3) FNegate 298
|
300: 57(fvec3) FNegate 299
|
||||||
Store 294(outViewVec) 299
|
Store 295(outViewVec) 300
|
||||||
300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 301 301 12 12
|
301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 302 302 12 12
|
||||||
306: 305(ptr) AccessChain 255(ubo) 76
|
307: 306(ptr) AccessChain 256(ubo) 77
|
||||||
307: 144(fvec4) Load 306
|
308: 145(fvec4) Load 307
|
||||||
308: 56(fvec3) VectorShuffle 307 307 0 1 2
|
309: 57(fvec3) VectorShuffle 308 308 0 1 2
|
||||||
309: 56(fvec3) Load 294(outViewVec)
|
310: 57(fvec3) Load 295(outViewVec)
|
||||||
310: 56(fvec3) FAdd 308 309
|
311: 57(fvec3) FAdd 309 310
|
||||||
311: 56(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 310
|
312: 57(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 311
|
||||||
Store 302(outLightVec) 311
|
Store 303(outLightVec) 312
|
||||||
312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 313 313 12 12
|
313: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 314 314 12 12
|
||||||
317: 144(fvec4) Load 197(pos)
|
318: 145(fvec4) Load 198(pos)
|
||||||
318: 56(fvec3) VectorShuffle 317 317 0 1 2
|
319: 57(fvec3) VectorShuffle 318 318 0 1 2
|
||||||
Store 314(outWorldPos) 318
|
Store 315(outWorldPos) 319
|
||||||
319: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 320 320 12 12
|
320: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 321 321 12 12
|
||||||
324: 282(ptr) AccessChain 255(ubo) 53
|
325: 283(ptr) AccessChain 256(ubo) 54
|
||||||
325: 227 Load 324
|
326: 228 Load 325
|
||||||
326: 144(fvec4) Load 197(pos)
|
327: 145(fvec4) Load 198(pos)
|
||||||
327: 144(fvec4) MatrixTimesVector 325 326
|
328: 145(fvec4) MatrixTimesVector 326 327
|
||||||
328: 28(float) CompositeExtract 327 0
|
329: 29(float) CompositeExtract 328 0
|
||||||
329: 28(float) CompositeExtract 327 1
|
330: 29(float) CompositeExtract 328 1
|
||||||
330: 28(float) CompositeExtract 327 2
|
331: 29(float) CompositeExtract 328 2
|
||||||
331: 56(fvec3) CompositeConstruct 328 329 330
|
332: 57(fvec3) CompositeConstruct 329 330 331
|
||||||
Store 321(outEyePos) 331
|
Store 322(outEyePos) 332
|
||||||
Return
|
Return
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,7 +1,7 @@
|
||||||
spv.debuginfo.hlsl.geom
|
spv.debuginfo.hlsl.geom
|
||||||
// Module Version 10000
|
// Module Version 10000
|
||||||
// Generated by (magic number): 8000b
|
// Generated by (magic number): 8000b
|
||||||
// Id's are bound by 353
|
// Id's are bound by 354
|
||||||
|
|
||||||
Capability Geometry
|
Capability Geometry
|
||||||
Capability MultiViewport
|
Capability MultiViewport
|
||||||
|
|
@ -9,7 +9,7 @@ spv.debuginfo.hlsl.geom
|
||||||
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
||||||
3: ExtInstImport "GLSL.std.450"
|
3: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Geometry 6 "main" 255 261 266 272 277 282 287 302 309 314 338 341
|
EntryPoint Geometry 6 "main" 256 262 267 273 278 283 288 303 310 315 339 342
|
||||||
ExecutionMode 6 Triangles
|
ExecutionMode 6 Triangles
|
||||||
ExecutionMode 6 Invocations 2
|
ExecutionMode 6 Invocations 2
|
||||||
ExecutionMode 6 OutputTriangleStrip
|
ExecutionMode 6 OutputTriangleStrip
|
||||||
|
|
@ -32,29 +32,29 @@ spv.debuginfo.hlsl.geom
|
||||||
47: String "PrimitiveID"
|
47: String "PrimitiveID"
|
||||||
52: String "LightVec"
|
52: String "LightVec"
|
||||||
58: String "GSOutput"
|
58: String "GSOutput"
|
||||||
68: String "@main"
|
69: String "@main"
|
||||||
74: String "input"
|
75: String "input"
|
||||||
78: String "outStream"
|
79: String "outStream"
|
||||||
82: String "InvocationID"
|
83: String "InvocationID"
|
||||||
91: String "int"
|
92: String "int"
|
||||||
96: String "i"
|
97: String "i"
|
||||||
111: String "bool"
|
112: String "bool"
|
||||||
119: String "output"
|
120: String "output"
|
||||||
141: String "projection"
|
142: String "projection"
|
||||||
145: String "modelview"
|
146: String "modelview"
|
||||||
149: String "lightPos"
|
150: String "lightPos"
|
||||||
153: String "UBO"
|
154: String "UBO"
|
||||||
156: String "ubo"
|
157: String "ubo"
|
||||||
191: String "pos"
|
192: String "pos"
|
||||||
200: String "worldPos"
|
201: String "worldPos"
|
||||||
211: String "lPos"
|
212: String "lPos"
|
||||||
257: String "outStream.Pos"
|
258: String "outStream.Pos"
|
||||||
263: String "outStream.ViewportIndex"
|
264: String "outStream.ViewportIndex"
|
||||||
268: String "outStream.PrimitiveID"
|
269: String "outStream.PrimitiveID"
|
||||||
274: String "outStream.Normal"
|
275: String "outStream.Normal"
|
||||||
279: String "outStream.Color"
|
280: String "outStream.Color"
|
||||||
284: String "outStream.ViewVec"
|
285: String "outStream.ViewVec"
|
||||||
289: String "outStream.LightVec"
|
290: String "outStream.LightVec"
|
||||||
Name 6 "main"
|
Name 6 "main"
|
||||||
Name 23 "VSOutput"
|
Name 23 "VSOutput"
|
||||||
MemberName 23(VSOutput) 0 "Pos"
|
MemberName 23(VSOutput) 0 "Pos"
|
||||||
|
|
@ -73,63 +73,63 @@ spv.debuginfo.hlsl.geom
|
||||||
Name 64 "outStream"
|
Name 64 "outStream"
|
||||||
Name 65 "InvocationID"
|
Name 65 "InvocationID"
|
||||||
Name 66 "PrimitiveID"
|
Name 66 "PrimitiveID"
|
||||||
Name 94 "i"
|
Name 95 "i"
|
||||||
Name 117 "output"
|
Name 118 "output"
|
||||||
Name 139 "UBO"
|
Name 140 "UBO"
|
||||||
MemberName 139(UBO) 0 "projection"
|
MemberName 140(UBO) 0 "projection"
|
||||||
MemberName 139(UBO) 1 "modelview"
|
MemberName 140(UBO) 1 "modelview"
|
||||||
MemberName 139(UBO) 2 "lightPos"
|
MemberName 140(UBO) 2 "lightPos"
|
||||||
Name 154 "ubo"
|
Name 155 "ubo"
|
||||||
MemberName 154(ubo) 0 "ubo"
|
MemberName 155(ubo) 0 "ubo"
|
||||||
Name 160 ""
|
Name 161 ""
|
||||||
Name 189 "pos"
|
Name 190 "pos"
|
||||||
Name 198 "worldPos"
|
Name 199 "worldPos"
|
||||||
Name 209 "lPos"
|
Name 210 "lPos"
|
||||||
Name 255 "outStream.Pos"
|
Name 256 "outStream.Pos"
|
||||||
Name 261 "outStream.ViewportIndex"
|
Name 262 "outStream.ViewportIndex"
|
||||||
Name 266 "outStream.PrimitiveID"
|
Name 267 "outStream.PrimitiveID"
|
||||||
Name 272 "outStream.Normal"
|
Name 273 "outStream.Normal"
|
||||||
Name 277 "outStream.Color"
|
Name 278 "outStream.Color"
|
||||||
Name 282 "outStream.ViewVec"
|
Name 283 "outStream.ViewVec"
|
||||||
Name 287 "outStream.LightVec"
|
Name 288 "outStream.LightVec"
|
||||||
Name 299 "input"
|
Name 300 "input"
|
||||||
Name 302 "input.Pos"
|
Name 303 "input.Pos"
|
||||||
Name 309 "input.Normal"
|
Name 310 "input.Normal"
|
||||||
Name 314 "input.Color"
|
Name 315 "input.Color"
|
||||||
Name 336 "InvocationID"
|
Name 337 "InvocationID"
|
||||||
Name 338 "InvocationID"
|
Name 339 "InvocationID"
|
||||||
Name 340 "PrimitiveID"
|
|
||||||
Name 341 "PrimitiveID"
|
Name 341 "PrimitiveID"
|
||||||
Name 343 "outStream"
|
Name 342 "PrimitiveID"
|
||||||
Name 344 "param"
|
Name 344 "outStream"
|
||||||
Name 346 "param"
|
Name 345 "param"
|
||||||
Name 347 "param"
|
Name 347 "param"
|
||||||
Name 349 "param"
|
Name 348 "param"
|
||||||
Decorate 135 ArrayStride 64
|
Name 350 "param"
|
||||||
Decorate 137 ArrayStride 64
|
Decorate 136 ArrayStride 64
|
||||||
MemberDecorate 139(UBO) 0 RowMajor
|
Decorate 138 ArrayStride 64
|
||||||
MemberDecorate 139(UBO) 0 Offset 0
|
MemberDecorate 140(UBO) 0 RowMajor
|
||||||
MemberDecorate 139(UBO) 0 MatrixStride 16
|
MemberDecorate 140(UBO) 0 Offset 0
|
||||||
MemberDecorate 139(UBO) 1 RowMajor
|
MemberDecorate 140(UBO) 0 MatrixStride 16
|
||||||
MemberDecorate 139(UBO) 1 Offset 128
|
MemberDecorate 140(UBO) 1 RowMajor
|
||||||
MemberDecorate 139(UBO) 1 MatrixStride 16
|
MemberDecorate 140(UBO) 1 Offset 128
|
||||||
MemberDecorate 139(UBO) 2 Offset 256
|
MemberDecorate 140(UBO) 1 MatrixStride 16
|
||||||
MemberDecorate 154(ubo) 0 Offset 0
|
MemberDecorate 140(UBO) 2 Offset 256
|
||||||
Decorate 154(ubo) Block
|
MemberDecorate 155(ubo) 0 Offset 0
|
||||||
Decorate 160 DescriptorSet 0
|
Decorate 155(ubo) Block
|
||||||
Decorate 160 Binding 0
|
Decorate 161 DescriptorSet 0
|
||||||
Decorate 255(outStream.Pos) BuiltIn Position
|
Decorate 161 Binding 0
|
||||||
Decorate 261(outStream.ViewportIndex) BuiltIn ViewportIndex
|
Decorate 256(outStream.Pos) BuiltIn Position
|
||||||
Decorate 266(outStream.PrimitiveID) BuiltIn PrimitiveId
|
Decorate 262(outStream.ViewportIndex) BuiltIn ViewportIndex
|
||||||
Decorate 272(outStream.Normal) Location 0
|
Decorate 267(outStream.PrimitiveID) BuiltIn PrimitiveId
|
||||||
Decorate 277(outStream.Color) Location 1
|
Decorate 273(outStream.Normal) Location 0
|
||||||
Decorate 282(outStream.ViewVec) Location 2
|
Decorate 278(outStream.Color) Location 1
|
||||||
Decorate 287(outStream.LightVec) Location 3
|
Decorate 283(outStream.ViewVec) Location 2
|
||||||
Decorate 302(input.Pos) BuiltIn Position
|
Decorate 288(outStream.LightVec) Location 3
|
||||||
Decorate 309(input.Normal) Location 0
|
Decorate 303(input.Pos) BuiltIn Position
|
||||||
Decorate 314(input.Color) Location 1
|
Decorate 310(input.Normal) Location 0
|
||||||
Decorate 338(InvocationID) BuiltIn InvocationId
|
Decorate 315(input.Color) Location 1
|
||||||
Decorate 341(PrimitiveID) BuiltIn PrimitiveId
|
Decorate 339(InvocationID) BuiltIn InvocationId
|
||||||
|
Decorate 342(PrimitiveID) BuiltIn PrimitiveId
|
||||||
4: TypeVoid
|
4: TypeVoid
|
||||||
5: TypeFunction 4
|
5: TypeFunction 4
|
||||||
8: TypeFloat 32
|
8: TypeFloat 32
|
||||||
|
|
@ -178,170 +178,171 @@ spv.debuginfo.hlsl.geom
|
||||||
60: TypePointer Function 11(int)
|
60: TypePointer Function 11(int)
|
||||||
61: TypeFunction 4 42(ptr) 59(ptr) 60(ptr) 60(ptr)
|
61: TypeFunction 4 42(ptr) 59(ptr) 60(ptr) 60(ptr)
|
||||||
62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 41 57 13 13
|
62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 41 57 13 13
|
||||||
69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 68 62 26 16 16 38 68 17 16
|
71: 11(int) Constant 56
|
||||||
73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 74 41 26 16 16 69 19 37
|
70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 69 62 26 71 16 38 69 17 71
|
||||||
76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 75 41 26 71 16 70 19 37
|
||||||
79: 11(int) Constant 2
|
77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
||||||
77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 78 57 26 16 16 69 19 79
|
80: 11(int) Constant 2
|
||||||
81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 82 13 26 16 16 69 19 17
|
78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 79 57 26 71 16 70 19 80
|
||||||
84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 47 13 26 16 16 69 19 19
|
82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 13 26 71 16 70 19 17
|
||||||
89: 11(int) Constant 57
|
85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 47 13 26 71 16 70 19 19
|
||||||
90: TypeInt 32 1
|
90: 11(int) Constant 57
|
||||||
92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 91 14 19 16
|
91: TypeInt 32 1
|
||||||
93: TypePointer Function 90(int)
|
93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 92 14 19 16
|
||||||
95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 96 92 26 89 16 69 19
|
94: TypePointer Function 91(int)
|
||||||
98: 90(int) Constant 0
|
96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 97 93 26 90 16 70 19
|
||||||
109: 90(int) Constant 3
|
99: 91(int) Constant 0
|
||||||
110: TypeBool
|
110: 91(int) Constant 3
|
||||||
112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 111 14 79 16
|
111: TypeBool
|
||||||
116: 11(int) Constant 59
|
113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 112 14 80 16
|
||||||
118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 119 57 26 116 16 69 19
|
117: 11(int) Constant 59
|
||||||
121: 8(float) Constant 0
|
119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 120 57 26 117 16 70 19
|
||||||
122: 18(fvec4) ConstantComposite 121 121 121 121
|
122: 8(float) Constant 0
|
||||||
123: 21(fvec3) ConstantComposite 121 121 121
|
123: 18(fvec4) ConstantComposite 122 122 122 122
|
||||||
124:43(GSOutput) ConstantComposite 122 16 16 123 123 123 123
|
124: 21(fvec3) ConstantComposite 122 122 122
|
||||||
126: 11(int) Constant 60
|
125:43(GSOutput) ConstantComposite 123 16 16 124 124 124 124
|
||||||
128: 90(int) Constant 1
|
127: 11(int) Constant 60
|
||||||
129: TypePointer Function 21(fvec3)
|
129: 91(int) Constant 1
|
||||||
132: TypeMatrix 18(fvec4) 4
|
130: TypePointer Function 21(fvec3)
|
||||||
134: 110(bool) ConstantTrue
|
133: TypeMatrix 18(fvec4) 4
|
||||||
133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 134
|
135: 111(bool) ConstantTrue
|
||||||
135: TypeArray 132 79
|
134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 135
|
||||||
136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 133 79
|
136: TypeArray 133 80
|
||||||
137: TypeArray 132 79
|
137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 134 80
|
||||||
138: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 133 79
|
138: TypeArray 133 80
|
||||||
139(UBO): TypeStruct 135 137 18(fvec4)
|
139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 134 80
|
||||||
142: 11(int) Constant 28
|
140(UBO): TypeStruct 136 138 18(fvec4)
|
||||||
143: 11(int) Constant 21
|
143: 11(int) Constant 28
|
||||||
140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 141 136 26 142 143 16 16 17
|
144: 11(int) Constant 21
|
||||||
146: 11(int) Constant 29
|
141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 142 137 26 143 144 16 16 17
|
||||||
147: 11(int) Constant 20
|
147: 11(int) Constant 29
|
||||||
144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 145 138 26 146 147 16 16 17
|
148: 11(int) Constant 20
|
||||||
150: 11(int) Constant 30
|
145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 139 26 147 148 16 16 17
|
||||||
151: 11(int) Constant 17
|
151: 11(int) Constant 30
|
||||||
148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 149 20 26 150 151 16 16 17
|
152: 11(int) Constant 17
|
||||||
152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 153 37 26 126 16 38 153 16 17 140 144 148
|
149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 20 26 151 152 16 16 17
|
||||||
154(ubo): TypeStruct 139(UBO)
|
153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 154 37 26 127 16 38 154 16 17 141 145 149
|
||||||
157: 11(int) Constant 33
|
155(ubo): TypeStruct 140(UBO)
|
||||||
155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 152 26 157 28 16 16 17
|
158: 11(int) Constant 33
|
||||||
158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 156 37 26 126 16 38 156 16 17 155
|
156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 157 153 26 158 28 16 16 17
|
||||||
159: TypePointer Uniform 154(ubo)
|
159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 157 37 26 127 16 38 157 16 17 156
|
||||||
160: 159(ptr) Variable Uniform
|
160: TypePointer Uniform 155(ubo)
|
||||||
162: 11(int) Constant 8
|
161: 160(ptr) Variable Uniform
|
||||||
161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 158 26 126 16 38 1 160 162
|
163: 11(int) Constant 8
|
||||||
164: TypePointer Uniform 132
|
162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 159 26 127 16 38 1 161 163
|
||||||
167: TypeMatrix 21(fvec3) 3
|
165: TypePointer Uniform 133
|
||||||
168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 22 17 134
|
168: TypeMatrix 21(fvec3) 3
|
||||||
179: 11(int) Constant 61
|
169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 22 17 135
|
||||||
180: 90(int) Constant 4
|
180: 11(int) Constant 61
|
||||||
182: 90(int) Constant 2
|
181: 91(int) Constant 4
|
||||||
187: 11(int) Constant 63
|
183: 91(int) Constant 2
|
||||||
188: TypePointer Function 18(fvec4)
|
188: 11(int) Constant 63
|
||||||
190: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 191 20 26 187 16 69 19
|
189: TypePointer Function 18(fvec4)
|
||||||
197: 11(int) Constant 64
|
191: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 192 20 26 188 16 70 19
|
||||||
199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 200 20 26 197 16 69 19
|
198: 11(int) Constant 64
|
||||||
208: 11(int) Constant 66
|
200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 201 20 26 198 16 70 19
|
||||||
210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 211 22 26 208 16 69 19
|
209: 11(int) Constant 66
|
||||||
213: TypePointer Uniform 18(fvec4)
|
211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 212 22 26 209 16 70 19
|
||||||
222: 11(int) Constant 67
|
214: TypePointer Uniform 18(fvec4)
|
||||||
223: 90(int) Constant 6
|
223: 11(int) Constant 67
|
||||||
230: 11(int) Constant 68
|
224: 91(int) Constant 6
|
||||||
231: 90(int) Constant 5
|
231: 11(int) Constant 68
|
||||||
237: 11(int) Constant 70
|
232: 91(int) Constant 5
|
||||||
245: 11(int) Constant 73
|
238: 11(int) Constant 70
|
||||||
249: 11(int) Constant 74
|
246: 11(int) Constant 73
|
||||||
253: 11(int) Constant 75
|
250: 11(int) Constant 74
|
||||||
254: TypePointer Output 18(fvec4)
|
254: 11(int) Constant 75
|
||||||
255(outStream.Pos): 254(ptr) Variable Output
|
255: TypePointer Output 18(fvec4)
|
||||||
256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 257 20 26 253 16 38 257 255(outStream.Pos) 162
|
256(outStream.Pos): 255(ptr) Variable Output
|
||||||
260: TypePointer Output 11(int)
|
257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 258 20 26 254 16 38 258 256(outStream.Pos) 163
|
||||||
261(outStream.ViewportIndex): 260(ptr) Variable Output
|
261: TypePointer Output 11(int)
|
||||||
262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 263 13 26 253 16 38 263 261(outStream.ViewportIndex) 162
|
262(outStream.ViewportIndex): 261(ptr) Variable Output
|
||||||
266(outStream.PrimitiveID): 260(ptr) Variable Output
|
263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 264 13 26 254 16 38 264 262(outStream.ViewportIndex) 163
|
||||||
267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 268 13 26 253 16 38 268 266(outStream.PrimitiveID) 162
|
267(outStream.PrimitiveID): 261(ptr) Variable Output
|
||||||
271: TypePointer Output 21(fvec3)
|
268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 269 13 26 254 16 38 269 267(outStream.PrimitiveID) 163
|
||||||
272(outStream.Normal): 271(ptr) Variable Output
|
272: TypePointer Output 21(fvec3)
|
||||||
273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 274 22 26 253 16 38 274 272(outStream.Normal) 162
|
273(outStream.Normal): 272(ptr) Variable Output
|
||||||
277(outStream.Color): 271(ptr) Variable Output
|
274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 275 22 26 254 16 38 275 273(outStream.Normal) 163
|
||||||
278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 279 22 26 253 16 38 279 277(outStream.Color) 162
|
278(outStream.Color): 272(ptr) Variable Output
|
||||||
282(outStream.ViewVec): 271(ptr) Variable Output
|
279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 280 22 26 254 16 38 280 278(outStream.Color) 163
|
||||||
283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 284 22 26 253 16 38 284 282(outStream.ViewVec) 162
|
283(outStream.ViewVec): 272(ptr) Variable Output
|
||||||
287(outStream.LightVec): 271(ptr) Variable Output
|
284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 285 22 26 254 16 38 285 283(outStream.ViewVec) 163
|
||||||
288: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 289 22 26 253 16 38 289 287(outStream.LightVec) 162
|
288(outStream.LightVec): 272(ptr) Variable Output
|
||||||
298: 11(int) Constant 78
|
289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 290 22 26 254 16 38 290 288(outStream.LightVec) 163
|
||||||
300: TypeArray 18(fvec4) 17
|
299: 11(int) Constant 78
|
||||||
301: TypePointer Input 300
|
301: TypeArray 18(fvec4) 17
|
||||||
302(input.Pos): 301(ptr) Variable Input
|
302: TypePointer Input 301
|
||||||
303: TypePointer Input 18(fvec4)
|
303(input.Pos): 302(ptr) Variable Input
|
||||||
307: TypeArray 21(fvec3) 17
|
304: TypePointer Input 18(fvec4)
|
||||||
308: TypePointer Input 307
|
308: TypeArray 21(fvec3) 17
|
||||||
309(input.Normal): 308(ptr) Variable Input
|
309: TypePointer Input 308
|
||||||
310: TypePointer Input 21(fvec3)
|
310(input.Normal): 309(ptr) Variable Input
|
||||||
314(input.Color): 308(ptr) Variable Input
|
311: TypePointer Input 21(fvec3)
|
||||||
337: TypePointer Input 11(int)
|
315(input.Color): 309(ptr) Variable Input
|
||||||
338(InvocationID): 337(ptr) Variable Input
|
338: TypePointer Input 11(int)
|
||||||
341(PrimitiveID): 337(ptr) Variable Input
|
339(InvocationID): 338(ptr) Variable Input
|
||||||
|
342(PrimitiveID): 338(ptr) Variable Input
|
||||||
Line 1 56 1
|
Line 1 56 1
|
||||||
6(main): 4 Function None 5
|
6(main): 4 Function None 5
|
||||||
7: Label
|
7: Label
|
||||||
299(input): 42(ptr) Variable Function
|
300(input): 42(ptr) Variable Function
|
||||||
336(InvocationID): 60(ptr) Variable Function
|
337(InvocationID): 60(ptr) Variable Function
|
||||||
340(PrimitiveID): 60(ptr) Variable Function
|
341(PrimitiveID): 60(ptr) Variable Function
|
||||||
343(outStream): 59(ptr) Variable Function
|
344(outStream): 59(ptr) Variable Function
|
||||||
344(param): 42(ptr) Variable Function
|
345(param): 42(ptr) Variable Function
|
||||||
346(param): 59(ptr) Variable Function
|
347(param): 59(ptr) Variable Function
|
||||||
347(param): 60(ptr) Variable Function
|
348(param): 60(ptr) Variable Function
|
||||||
349(param): 60(ptr) Variable Function
|
350(param): 60(ptr) Variable Function
|
||||||
Line 1 56 0
|
Line 1 56 0
|
||||||
304: 303(ptr) AccessChain 302(input.Pos) 98
|
305: 304(ptr) AccessChain 303(input.Pos) 99
|
||||||
305: 18(fvec4) Load 304
|
306: 18(fvec4) Load 305
|
||||||
306: 188(ptr) AccessChain 299(input) 98 98
|
307: 189(ptr) AccessChain 300(input) 99 99
|
||||||
Store 306 305
|
Store 307 306
|
||||||
311: 310(ptr) AccessChain 309(input.Normal) 98
|
312: 311(ptr) AccessChain 310(input.Normal) 99
|
||||||
312: 21(fvec3) Load 311
|
313: 21(fvec3) Load 312
|
||||||
313: 129(ptr) AccessChain 299(input) 98 128
|
314: 130(ptr) AccessChain 300(input) 99 129
|
||||||
Store 313 312
|
Store 314 313
|
||||||
315: 310(ptr) AccessChain 314(input.Color) 98
|
316: 311(ptr) AccessChain 315(input.Color) 99
|
||||||
316: 21(fvec3) Load 315
|
317: 21(fvec3) Load 316
|
||||||
317: 129(ptr) AccessChain 299(input) 98 182
|
318: 130(ptr) AccessChain 300(input) 99 183
|
||||||
Store 317 316
|
Store 318 317
|
||||||
318: 303(ptr) AccessChain 302(input.Pos) 128
|
319: 304(ptr) AccessChain 303(input.Pos) 129
|
||||||
319: 18(fvec4) Load 318
|
320: 18(fvec4) Load 319
|
||||||
320: 188(ptr) AccessChain 299(input) 128 98
|
321: 189(ptr) AccessChain 300(input) 129 99
|
||||||
Store 320 319
|
Store 321 320
|
||||||
321: 310(ptr) AccessChain 309(input.Normal) 128
|
322: 311(ptr) AccessChain 310(input.Normal) 129
|
||||||
322: 21(fvec3) Load 321
|
323: 21(fvec3) Load 322
|
||||||
323: 129(ptr) AccessChain 299(input) 128 128
|
324: 130(ptr) AccessChain 300(input) 129 129
|
||||||
Store 323 322
|
Store 324 323
|
||||||
324: 310(ptr) AccessChain 314(input.Color) 128
|
325: 311(ptr) AccessChain 315(input.Color) 129
|
||||||
325: 21(fvec3) Load 324
|
326: 21(fvec3) Load 325
|
||||||
326: 129(ptr) AccessChain 299(input) 128 182
|
327: 130(ptr) AccessChain 300(input) 129 183
|
||||||
Store 326 325
|
Store 327 326
|
||||||
327: 303(ptr) AccessChain 302(input.Pos) 182
|
328: 304(ptr) AccessChain 303(input.Pos) 183
|
||||||
328: 18(fvec4) Load 327
|
329: 18(fvec4) Load 328
|
||||||
329: 188(ptr) AccessChain 299(input) 182 98
|
330: 189(ptr) AccessChain 300(input) 183 99
|
||||||
Store 329 328
|
Store 330 329
|
||||||
330: 310(ptr) AccessChain 309(input.Normal) 182
|
331: 311(ptr) AccessChain 310(input.Normal) 183
|
||||||
331: 21(fvec3) Load 330
|
332: 21(fvec3) Load 331
|
||||||
332: 129(ptr) AccessChain 299(input) 182 128
|
333: 130(ptr) AccessChain 300(input) 183 129
|
||||||
Store 332 331
|
Store 333 332
|
||||||
333: 310(ptr) AccessChain 314(input.Color) 182
|
334: 311(ptr) AccessChain 315(input.Color) 183
|
||||||
334: 21(fvec3) Load 333
|
335: 21(fvec3) Load 334
|
||||||
335: 129(ptr) AccessChain 299(input) 182 182
|
336: 130(ptr) AccessChain 300(input) 183 183
|
||||||
Store 335 334
|
Store 336 335
|
||||||
339: 11(int) Load 338(InvocationID)
|
340: 11(int) Load 339(InvocationID)
|
||||||
Store 336(InvocationID) 339
|
Store 337(InvocationID) 340
|
||||||
342: 11(int) Load 341(PrimitiveID)
|
343: 11(int) Load 342(PrimitiveID)
|
||||||
Store 340(PrimitiveID) 342
|
Store 341(PrimitiveID) 343
|
||||||
345: 40 Load 299(input)
|
346: 40 Load 300(input)
|
||||||
Store 344(param) 345
|
Store 345(param) 346
|
||||||
348: 11(int) Load 336(InvocationID)
|
349: 11(int) Load 337(InvocationID)
|
||||||
Store 347(param) 348
|
Store 348(param) 349
|
||||||
350: 11(int) Load 340(PrimitiveID)
|
351: 11(int) Load 341(PrimitiveID)
|
||||||
Store 349(param) 350
|
Store 350(param) 351
|
||||||
351: 4 FunctionCall 67(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) 344(param) 346(param) 347(param) 349(param)
|
352: 4 FunctionCall 67(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) 345(param) 347(param) 348(param) 350(param)
|
||||||
352:43(GSOutput) Load 346(param)
|
353:43(GSOutput) Load 347(param)
|
||||||
Store 343(outStream) 352
|
Store 344(outStream) 353
|
||||||
Return
|
Return
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
Line 1 56 1
|
Line 1 56 1
|
||||||
|
|
@ -350,150 +351,150 @@ spv.debuginfo.hlsl.geom
|
||||||
64(outStream): 59(ptr) FunctionParameter
|
64(outStream): 59(ptr) FunctionParameter
|
||||||
65(InvocationID): 60(ptr) FunctionParameter
|
65(InvocationID): 60(ptr) FunctionParameter
|
||||||
66(PrimitiveID): 60(ptr) FunctionParameter
|
66(PrimitiveID): 60(ptr) FunctionParameter
|
||||||
70: Label
|
68: Label
|
||||||
94(i): 93(ptr) Variable Function
|
95(i): 94(ptr) Variable Function
|
||||||
117(output): 59(ptr) Variable Function
|
118(output): 59(ptr) Variable Function
|
||||||
189(pos): 188(ptr) Variable Function
|
190(pos): 189(ptr) Variable Function
|
||||||
198(worldPos): 188(ptr) Variable Function
|
199(worldPos): 189(ptr) Variable Function
|
||||||
209(lPos): 129(ptr) Variable Function
|
210(lPos): 130(ptr) Variable Function
|
||||||
71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69
|
72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70
|
||||||
72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 16 16 16 16
|
73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 71 71 16 16
|
||||||
75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 73 63(input) 76
|
76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 74 63(input) 77
|
||||||
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 77 64(outStream) 76
|
81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 78 64(outStream) 77
|
||||||
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 81 65(InvocationID) 76
|
84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 65(InvocationID) 77
|
||||||
85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 84 66(PrimitiveID) 76
|
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 85 66(PrimitiveID) 77
|
||||||
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 69 67(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;)
|
87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 70 67(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;)
|
||||||
87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69
|
88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70
|
||||||
88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 89 89 16 16
|
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 90 90 16 16
|
||||||
97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 95 94(i) 76
|
98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 96 95(i) 77
|
||||||
Store 94(i) 98
|
Store 95(i) 99
|
||||||
Branch 99
|
Branch 100
|
||||||
99: Label
|
|
||||||
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69
|
|
||||||
104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 89 89 16 16
|
|
||||||
LoopMerge 101 102 None
|
|
||||||
Branch 105
|
|
||||||
105: Label
|
|
||||||
106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69
|
|
||||||
107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 89 89 16 16
|
|
||||||
108: 90(int) Load 94(i)
|
|
||||||
113: 110(bool) SLessThan 108 109
|
|
||||||
BranchConditional 113 100 101
|
|
||||||
100: Label
|
100: Label
|
||||||
114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69
|
104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70
|
||||||
115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 116 116 16 16
|
105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 90 90 16 16
|
||||||
120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 118 117(output) 76
|
LoopMerge 102 103 None
|
||||||
Store 117(output) 124
|
Branch 106
|
||||||
125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 126 126 16 16
|
106: Label
|
||||||
127: 90(int) Load 94(i)
|
107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70
|
||||||
130: 129(ptr) AccessChain 63(input) 127 128
|
108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 90 90 16 16
|
||||||
131: 21(fvec3) Load 130
|
109: 91(int) Load 95(i)
|
||||||
163: 11(int) Load 65(InvocationID)
|
114: 111(bool) SLessThan 109 110
|
||||||
165: 164(ptr) AccessChain 160 98 128 163
|
BranchConditional 114 101 102
|
||||||
166: 132 Load 165
|
|
||||||
169: 18(fvec4) CompositeExtract 166 0
|
|
||||||
170: 21(fvec3) VectorShuffle 169 169 0 1 2
|
|
||||||
171: 18(fvec4) CompositeExtract 166 1
|
|
||||||
172: 21(fvec3) VectorShuffle 171 171 0 1 2
|
|
||||||
173: 18(fvec4) CompositeExtract 166 2
|
|
||||||
174: 21(fvec3) VectorShuffle 173 173 0 1 2
|
|
||||||
175: 167 CompositeConstruct 170 172 174
|
|
||||||
176: 21(fvec3) VectorTimesMatrix 131 175
|
|
||||||
177: 129(ptr) AccessChain 117(output) 109
|
|
||||||
Store 177 176
|
|
||||||
178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 179 179 16 16
|
|
||||||
181: 90(int) Load 94(i)
|
|
||||||
183: 129(ptr) AccessChain 63(input) 181 182
|
|
||||||
184: 21(fvec3) Load 183
|
|
||||||
185: 129(ptr) AccessChain 117(output) 180
|
|
||||||
Store 185 184
|
|
||||||
186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 187 187 16 16
|
|
||||||
192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 190 189(pos) 76
|
|
||||||
193: 90(int) Load 94(i)
|
|
||||||
194: 188(ptr) AccessChain 63(input) 193 98
|
|
||||||
195: 18(fvec4) Load 194
|
|
||||||
Store 189(pos) 195
|
|
||||||
196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 197 197 16 16
|
|
||||||
201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 199 198(worldPos) 76
|
|
||||||
202: 18(fvec4) Load 189(pos)
|
|
||||||
203: 11(int) Load 65(InvocationID)
|
|
||||||
204: 164(ptr) AccessChain 160 98 128 203
|
|
||||||
205: 132 Load 204
|
|
||||||
206: 18(fvec4) VectorTimesMatrix 202 205
|
|
||||||
Store 198(worldPos) 206
|
|
||||||
207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 208 208 16 16
|
|
||||||
212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 210 209(lPos) 76
|
|
||||||
214: 213(ptr) AccessChain 160 98 182
|
|
||||||
215: 18(fvec4) Load 214
|
|
||||||
216: 11(int) Load 65(InvocationID)
|
|
||||||
217: 164(ptr) AccessChain 160 98 128 216
|
|
||||||
218: 132 Load 217
|
|
||||||
219: 18(fvec4) VectorTimesMatrix 215 218
|
|
||||||
220: 21(fvec3) VectorShuffle 219 219 0 1 2
|
|
||||||
Store 209(lPos) 220
|
|
||||||
221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 222 222 16 16
|
|
||||||
224: 21(fvec3) Load 209(lPos)
|
|
||||||
225: 18(fvec4) Load 198(worldPos)
|
|
||||||
226: 21(fvec3) VectorShuffle 225 225 0 1 2
|
|
||||||
227: 21(fvec3) FSub 224 226
|
|
||||||
228: 129(ptr) AccessChain 117(output) 223
|
|
||||||
Store 228 227
|
|
||||||
229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 230 230 16 16
|
|
||||||
232: 18(fvec4) Load 198(worldPos)
|
|
||||||
233: 21(fvec3) VectorShuffle 232 232 0 1 2
|
|
||||||
234: 21(fvec3) FNegate 233
|
|
||||||
235: 129(ptr) AccessChain 117(output) 231
|
|
||||||
Store 235 234
|
|
||||||
236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 237 237 16 16
|
|
||||||
238: 18(fvec4) Load 198(worldPos)
|
|
||||||
239: 11(int) Load 65(InvocationID)
|
|
||||||
240: 164(ptr) AccessChain 160 98 98 239
|
|
||||||
241: 132 Load 240
|
|
||||||
242: 18(fvec4) VectorTimesMatrix 238 241
|
|
||||||
243: 188(ptr) AccessChain 117(output) 98
|
|
||||||
Store 243 242
|
|
||||||
244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 245 245 16 16
|
|
||||||
246: 11(int) Load 65(InvocationID)
|
|
||||||
247: 60(ptr) AccessChain 117(output) 128
|
|
||||||
Store 247 246
|
|
||||||
248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 249 249 16 16
|
|
||||||
250: 11(int) Load 66(PrimitiveID)
|
|
||||||
251: 60(ptr) AccessChain 117(output) 182
|
|
||||||
Store 251 250
|
|
||||||
252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 253 253 16 16
|
|
||||||
258: 188(ptr) AccessChain 117(output) 98
|
|
||||||
259: 18(fvec4) Load 258
|
|
||||||
Store 255(outStream.Pos) 259
|
|
||||||
264: 60(ptr) AccessChain 117(output) 128
|
|
||||||
265: 11(int) Load 264
|
|
||||||
Store 261(outStream.ViewportIndex) 265
|
|
||||||
269: 60(ptr) AccessChain 117(output) 182
|
|
||||||
270: 11(int) Load 269
|
|
||||||
Store 266(outStream.PrimitiveID) 270
|
|
||||||
275: 129(ptr) AccessChain 117(output) 109
|
|
||||||
276: 21(fvec3) Load 275
|
|
||||||
Store 272(outStream.Normal) 276
|
|
||||||
280: 129(ptr) AccessChain 117(output) 180
|
|
||||||
281: 21(fvec3) Load 280
|
|
||||||
Store 277(outStream.Color) 281
|
|
||||||
285: 129(ptr) AccessChain 117(output) 231
|
|
||||||
286: 21(fvec3) Load 285
|
|
||||||
Store 282(outStream.ViewVec) 286
|
|
||||||
290: 129(ptr) AccessChain 117(output) 223
|
|
||||||
291: 21(fvec3) Load 290
|
|
||||||
Store 287(outStream.LightVec) 291
|
|
||||||
EmitVertex
|
|
||||||
Branch 102
|
|
||||||
102: Label
|
|
||||||
292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69
|
|
||||||
293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 89 89 16 16
|
|
||||||
294: 90(int) Load 94(i)
|
|
||||||
295: 90(int) IAdd 294 128
|
|
||||||
Store 94(i) 295
|
|
||||||
Branch 99
|
|
||||||
101: Label
|
101: Label
|
||||||
296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69
|
115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70
|
||||||
297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 298 298 16 16
|
116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 117 117 16 16
|
||||||
|
121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 119 118(output) 77
|
||||||
|
Store 118(output) 125
|
||||||
|
126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 127 127 16 16
|
||||||
|
128: 91(int) Load 95(i)
|
||||||
|
131: 130(ptr) AccessChain 63(input) 128 129
|
||||||
|
132: 21(fvec3) Load 131
|
||||||
|
164: 11(int) Load 65(InvocationID)
|
||||||
|
166: 165(ptr) AccessChain 161 99 129 164
|
||||||
|
167: 133 Load 166
|
||||||
|
170: 18(fvec4) CompositeExtract 167 0
|
||||||
|
171: 21(fvec3) VectorShuffle 170 170 0 1 2
|
||||||
|
172: 18(fvec4) CompositeExtract 167 1
|
||||||
|
173: 21(fvec3) VectorShuffle 172 172 0 1 2
|
||||||
|
174: 18(fvec4) CompositeExtract 167 2
|
||||||
|
175: 21(fvec3) VectorShuffle 174 174 0 1 2
|
||||||
|
176: 168 CompositeConstruct 171 173 175
|
||||||
|
177: 21(fvec3) VectorTimesMatrix 132 176
|
||||||
|
178: 130(ptr) AccessChain 118(output) 110
|
||||||
|
Store 178 177
|
||||||
|
179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 180 180 16 16
|
||||||
|
182: 91(int) Load 95(i)
|
||||||
|
184: 130(ptr) AccessChain 63(input) 182 183
|
||||||
|
185: 21(fvec3) Load 184
|
||||||
|
186: 130(ptr) AccessChain 118(output) 181
|
||||||
|
Store 186 185
|
||||||
|
187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 188 188 16 16
|
||||||
|
193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 191 190(pos) 77
|
||||||
|
194: 91(int) Load 95(i)
|
||||||
|
195: 189(ptr) AccessChain 63(input) 194 99
|
||||||
|
196: 18(fvec4) Load 195
|
||||||
|
Store 190(pos) 196
|
||||||
|
197: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 198 198 16 16
|
||||||
|
202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 200 199(worldPos) 77
|
||||||
|
203: 18(fvec4) Load 190(pos)
|
||||||
|
204: 11(int) Load 65(InvocationID)
|
||||||
|
205: 165(ptr) AccessChain 161 99 129 204
|
||||||
|
206: 133 Load 205
|
||||||
|
207: 18(fvec4) VectorTimesMatrix 203 206
|
||||||
|
Store 199(worldPos) 207
|
||||||
|
208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 209 209 16 16
|
||||||
|
213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 211 210(lPos) 77
|
||||||
|
215: 214(ptr) AccessChain 161 99 183
|
||||||
|
216: 18(fvec4) Load 215
|
||||||
|
217: 11(int) Load 65(InvocationID)
|
||||||
|
218: 165(ptr) AccessChain 161 99 129 217
|
||||||
|
219: 133 Load 218
|
||||||
|
220: 18(fvec4) VectorTimesMatrix 216 219
|
||||||
|
221: 21(fvec3) VectorShuffle 220 220 0 1 2
|
||||||
|
Store 210(lPos) 221
|
||||||
|
222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 223 223 16 16
|
||||||
|
225: 21(fvec3) Load 210(lPos)
|
||||||
|
226: 18(fvec4) Load 199(worldPos)
|
||||||
|
227: 21(fvec3) VectorShuffle 226 226 0 1 2
|
||||||
|
228: 21(fvec3) FSub 225 227
|
||||||
|
229: 130(ptr) AccessChain 118(output) 224
|
||||||
|
Store 229 228
|
||||||
|
230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 231 231 16 16
|
||||||
|
233: 18(fvec4) Load 199(worldPos)
|
||||||
|
234: 21(fvec3) VectorShuffle 233 233 0 1 2
|
||||||
|
235: 21(fvec3) FNegate 234
|
||||||
|
236: 130(ptr) AccessChain 118(output) 232
|
||||||
|
Store 236 235
|
||||||
|
237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 238 238 16 16
|
||||||
|
239: 18(fvec4) Load 199(worldPos)
|
||||||
|
240: 11(int) Load 65(InvocationID)
|
||||||
|
241: 165(ptr) AccessChain 161 99 99 240
|
||||||
|
242: 133 Load 241
|
||||||
|
243: 18(fvec4) VectorTimesMatrix 239 242
|
||||||
|
244: 189(ptr) AccessChain 118(output) 99
|
||||||
|
Store 244 243
|
||||||
|
245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 246 246 16 16
|
||||||
|
247: 11(int) Load 65(InvocationID)
|
||||||
|
248: 60(ptr) AccessChain 118(output) 129
|
||||||
|
Store 248 247
|
||||||
|
249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 250 250 16 16
|
||||||
|
251: 11(int) Load 66(PrimitiveID)
|
||||||
|
252: 60(ptr) AccessChain 118(output) 183
|
||||||
|
Store 252 251
|
||||||
|
253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 254 254 16 16
|
||||||
|
259: 189(ptr) AccessChain 118(output) 99
|
||||||
|
260: 18(fvec4) Load 259
|
||||||
|
Store 256(outStream.Pos) 260
|
||||||
|
265: 60(ptr) AccessChain 118(output) 129
|
||||||
|
266: 11(int) Load 265
|
||||||
|
Store 262(outStream.ViewportIndex) 266
|
||||||
|
270: 60(ptr) AccessChain 118(output) 183
|
||||||
|
271: 11(int) Load 270
|
||||||
|
Store 267(outStream.PrimitiveID) 271
|
||||||
|
276: 130(ptr) AccessChain 118(output) 110
|
||||||
|
277: 21(fvec3) Load 276
|
||||||
|
Store 273(outStream.Normal) 277
|
||||||
|
281: 130(ptr) AccessChain 118(output) 181
|
||||||
|
282: 21(fvec3) Load 281
|
||||||
|
Store 278(outStream.Color) 282
|
||||||
|
286: 130(ptr) AccessChain 118(output) 232
|
||||||
|
287: 21(fvec3) Load 286
|
||||||
|
Store 283(outStream.ViewVec) 287
|
||||||
|
291: 130(ptr) AccessChain 118(output) 224
|
||||||
|
292: 21(fvec3) Load 291
|
||||||
|
Store 288(outStream.LightVec) 292
|
||||||
|
EmitVertex
|
||||||
|
Branch 103
|
||||||
|
103: Label
|
||||||
|
293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70
|
||||||
|
294: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 90 90 16 16
|
||||||
|
295: 91(int) Load 95(i)
|
||||||
|
296: 91(int) IAdd 295 129
|
||||||
|
Store 95(i) 296
|
||||||
|
Branch 100
|
||||||
|
102: Label
|
||||||
|
297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70
|
||||||
|
298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 299 299 16 16
|
||||||
EndPrimitive
|
EndPrimitive
|
||||||
Return
|
Return
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,7 +1,7 @@
|
||||||
spv.debuginfo.scalar_types.glsl.frag
|
spv.debuginfo.scalar_types.glsl.frag
|
||||||
// Module Version 10000
|
// Module Version 10000
|
||||||
// Generated by (magic number): 8000b
|
// Generated by (magic number): 8000b
|
||||||
// Id's are bound by 146
|
// Id's are bound by 147
|
||||||
|
|
||||||
Capability Shader
|
Capability Shader
|
||||||
Capability Float16
|
Capability Float16
|
||||||
|
|
@ -17,8 +17,8 @@ spv.debuginfo.scalar_types.glsl.frag
|
||||||
ExecutionMode 14 OriginUpperLeft
|
ExecutionMode 14 OriginUpperLeft
|
||||||
1: String ""
|
1: String ""
|
||||||
8: String "uint"
|
8: String "uint"
|
||||||
15: String "main"
|
16: String "main"
|
||||||
18: String "// OpModuleProcessed auto-map-locations
|
19: String "// OpModuleProcessed auto-map-locations
|
||||||
// OpModuleProcessed auto-map-bindings
|
// OpModuleProcessed auto-map-bindings
|
||||||
// OpModuleProcessed client vulkan100
|
// OpModuleProcessed client vulkan100
|
||||||
// OpModuleProcessed target-env vulkan1.0
|
// OpModuleProcessed target-env vulkan1.0
|
||||||
|
|
@ -26,43 +26,43 @@ spv.debuginfo.scalar_types.glsl.frag
|
||||||
// OpModuleProcessed entry-point main
|
// OpModuleProcessed entry-point main
|
||||||
#line 1
|
#line 1
|
||||||
"
|
"
|
||||||
29: String "bool"
|
30: String "bool"
|
||||||
34: String "VAR_bool"
|
35: String "VAR_bool"
|
||||||
41: String "int"
|
42: String "int"
|
||||||
46: String "VAR_int"
|
47: String "VAR_int"
|
||||||
53: String "VAR_uint"
|
54: String "VAR_uint"
|
||||||
57: String "float"
|
58: String "float"
|
||||||
62: String "VAR_float"
|
63: String "VAR_float"
|
||||||
67: String "double"
|
68: String "double"
|
||||||
73: String "VAR_double"
|
74: String "VAR_double"
|
||||||
78: String "int8_t"
|
79: String "int8_t"
|
||||||
83: String "VAR_int8_t"
|
84: String "VAR_int8_t"
|
||||||
88: String "uint8_t"
|
89: String "uint8_t"
|
||||||
93: String "VAR_uint8_t"
|
94: String "VAR_uint8_t"
|
||||||
98: String "int16_t"
|
99: String "int16_t"
|
||||||
104: String "VAR_int16_t"
|
105: String "VAR_int16_t"
|
||||||
109: String "uint16_t"
|
110: String "uint16_t"
|
||||||
114: String "VAR_uint16_t"
|
115: String "VAR_uint16_t"
|
||||||
119: String "int64_t"
|
120: String "int64_t"
|
||||||
124: String "VAR_int64_t"
|
125: String "VAR_int64_t"
|
||||||
129: String "uint64_t"
|
130: String "uint64_t"
|
||||||
134: String "VAR_uint64_t"
|
135: String "VAR_uint64_t"
|
||||||
139: String "float16_t"
|
140: String "float16_t"
|
||||||
144: String "VAR_float16_t"
|
145: String "VAR_float16_t"
|
||||||
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
|
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
|
||||||
Name 14 "main"
|
Name 14 "main"
|
||||||
Name 32 "VAR_bool"
|
Name 33 "VAR_bool"
|
||||||
Name 44 "VAR_int"
|
Name 45 "VAR_int"
|
||||||
Name 51 "VAR_uint"
|
Name 52 "VAR_uint"
|
||||||
Name 60 "VAR_float"
|
Name 61 "VAR_float"
|
||||||
Name 71 "VAR_double"
|
Name 72 "VAR_double"
|
||||||
Name 81 "VAR_int8_t"
|
Name 82 "VAR_int8_t"
|
||||||
Name 91 "VAR_uint8_t"
|
Name 92 "VAR_uint8_t"
|
||||||
Name 102 "VAR_int16_t"
|
Name 103 "VAR_int16_t"
|
||||||
Name 112 "VAR_uint16_t"
|
Name 113 "VAR_uint16_t"
|
||||||
Name 122 "VAR_int64_t"
|
Name 123 "VAR_int64_t"
|
||||||
Name 132 "VAR_uint64_t"
|
Name 133 "VAR_uint64_t"
|
||||||
Name 142 "VAR_float16_t"
|
Name 143 "VAR_float16_t"
|
||||||
4: TypeVoid
|
4: TypeVoid
|
||||||
5: TypeFunction 4
|
5: TypeFunction 4
|
||||||
7: TypeInt 32 0
|
7: TypeInt 32 0
|
||||||
|
|
@ -72,125 +72,126 @@ spv.debuginfo.scalar_types.glsl.frag
|
||||||
9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
|
9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
|
||||||
13: 7(int) Constant 3
|
13: 7(int) Constant 3
|
||||||
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
|
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
|
||||||
17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 18
|
18: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 19
|
||||||
20: 7(int) Constant 1
|
20: 7(int) Constant 42
|
||||||
21: 7(int) Constant 4
|
22: 7(int) Constant 1
|
||||||
22: 7(int) Constant 2
|
23: 7(int) Constant 4
|
||||||
19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 20 21 17 22
|
24: 7(int) Constant 2
|
||||||
16: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 15 6 17 12 12 19 15 13 12
|
21: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24
|
||||||
27: 7(int) Constant 43
|
17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20
|
||||||
28: TypeBool
|
28: 7(int) Constant 43
|
||||||
30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 29 10 22 12
|
29: TypeBool
|
||||||
31: TypePointer Private 28(bool)
|
31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 24 12
|
||||||
32(VAR_bool): 31(ptr) Variable Private
|
32: TypePointer Private 29(bool)
|
||||||
35: 7(int) Constant 8
|
33(VAR_bool): 32(ptr) Variable Private
|
||||||
33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 34 30 17 27 12 19 34 32(VAR_bool) 35
|
36: 7(int) Constant 8
|
||||||
36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 29 10 22 12
|
34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 35 31 18 28 12 21 35 33(VAR_bool) 36
|
||||||
37: 28(bool) ConstantFalse
|
37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 24 12
|
||||||
39: 7(int) Constant 44
|
38: 29(bool) ConstantFalse
|
||||||
40: TypeInt 32 1
|
40: 7(int) Constant 44
|
||||||
42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 41 10 21 12
|
41: TypeInt 32 1
|
||||||
43: TypePointer Private 40(int)
|
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 42 10 23 12
|
||||||
44(VAR_int): 43(ptr) Variable Private
|
44: TypePointer Private 41(int)
|
||||||
45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 46 42 17 39 12 19 46 44(VAR_int) 35
|
45(VAR_int): 44(ptr) Variable Private
|
||||||
47: 40(int) Constant 0
|
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 47 43 18 40 12 21 47 45(VAR_int) 36
|
||||||
49: 7(int) Constant 45
|
48: 41(int) Constant 0
|
||||||
50: TypePointer Private 7(int)
|
50: 7(int) Constant 45
|
||||||
51(VAR_uint): 50(ptr) Variable Private
|
51: TypePointer Private 7(int)
|
||||||
52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 53 9 17 49 12 19 53 51(VAR_uint) 35
|
52(VAR_uint): 51(ptr) Variable Private
|
||||||
55: 7(int) Constant 46
|
53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 54 9 18 50 12 21 54 52(VAR_uint) 36
|
||||||
56: TypeFloat 32
|
56: 7(int) Constant 46
|
||||||
58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 57 10 13 12
|
57: TypeFloat 32
|
||||||
59: TypePointer Private 56(float)
|
59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 58 10 13 12
|
||||||
60(VAR_float): 59(ptr) Variable Private
|
60: TypePointer Private 57(float)
|
||||||
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 62 58 17 55 12 19 62 60(VAR_float) 35
|
61(VAR_float): 60(ptr) Variable Private
|
||||||
63: 56(float) Constant 0
|
62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 63 59 18 56 12 21 63 61(VAR_float) 36
|
||||||
65: 7(int) Constant 47
|
64: 57(float) Constant 0
|
||||||
66: TypeFloat 64
|
66: 7(int) Constant 47
|
||||||
69: 7(int) Constant 64
|
67: TypeFloat 64
|
||||||
68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 67 69 13 12
|
70: 7(int) Constant 64
|
||||||
70: TypePointer Private 66(float64_t)
|
69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 68 70 13 12
|
||||||
71(VAR_double): 70(ptr) Variable Private
|
71: TypePointer Private 67(float64_t)
|
||||||
72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 73 68 17 65 12 19 73 71(VAR_double) 35
|
72(VAR_double): 71(ptr) Variable Private
|
||||||
74:66(float64_t) Constant 0 0
|
73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 74 69 18 66 12 21 74 72(VAR_double) 36
|
||||||
76: 7(int) Constant 48
|
75:67(float64_t) Constant 0 0
|
||||||
77: TypeInt 8 1
|
77: 7(int) Constant 48
|
||||||
79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 78 35 21 12
|
78: TypeInt 8 1
|
||||||
80: TypePointer Private 77(int8_t)
|
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 79 36 23 12
|
||||||
81(VAR_int8_t): 80(ptr) Variable Private
|
81: TypePointer Private 78(int8_t)
|
||||||
82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 83 79 17 76 12 19 83 81(VAR_int8_t) 35
|
82(VAR_int8_t): 81(ptr) Variable Private
|
||||||
84: 77(int8_t) Constant 0
|
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 84 80 18 77 12 21 84 82(VAR_int8_t) 36
|
||||||
86: 7(int) Constant 49
|
85: 78(int8_t) Constant 0
|
||||||
87: TypeInt 8 0
|
87: 7(int) Constant 49
|
||||||
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 88 35 11 12
|
88: TypeInt 8 0
|
||||||
90: TypePointer Private 87(int8_t)
|
90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 89 36 11 12
|
||||||
91(VAR_uint8_t): 90(ptr) Variable Private
|
91: TypePointer Private 88(int8_t)
|
||||||
92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 93 89 17 86 12 19 93 91(VAR_uint8_t) 35
|
92(VAR_uint8_t): 91(ptr) Variable Private
|
||||||
94: 87(int8_t) Constant 0
|
93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 94 90 18 87 12 21 94 92(VAR_uint8_t) 36
|
||||||
96: 7(int) Constant 50
|
95: 88(int8_t) Constant 0
|
||||||
97: TypeInt 16 1
|
97: 7(int) Constant 50
|
||||||
100: 7(int) Constant 16
|
98: TypeInt 16 1
|
||||||
99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 98 100 21 12
|
101: 7(int) Constant 16
|
||||||
101: TypePointer Private 97(int16_t)
|
100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 99 101 23 12
|
||||||
102(VAR_int16_t): 101(ptr) Variable Private
|
102: TypePointer Private 98(int16_t)
|
||||||
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 104 99 17 96 12 19 104 102(VAR_int16_t) 35
|
103(VAR_int16_t): 102(ptr) Variable Private
|
||||||
105: 97(int16_t) Constant 0
|
104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 105 100 18 97 12 21 105 103(VAR_int16_t) 36
|
||||||
107: 7(int) Constant 51
|
106: 98(int16_t) Constant 0
|
||||||
108: TypeInt 16 0
|
108: 7(int) Constant 51
|
||||||
110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 109 100 11 12
|
109: TypeInt 16 0
|
||||||
111: TypePointer Private 108(int16_t)
|
111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 110 101 11 12
|
||||||
112(VAR_uint16_t): 111(ptr) Variable Private
|
112: TypePointer Private 109(int16_t)
|
||||||
113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 114 110 17 107 12 19 114 112(VAR_uint16_t) 35
|
113(VAR_uint16_t): 112(ptr) Variable Private
|
||||||
115:108(int16_t) Constant 0
|
114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 115 111 18 108 12 21 115 113(VAR_uint16_t) 36
|
||||||
117: 7(int) Constant 52
|
116:109(int16_t) Constant 0
|
||||||
118: TypeInt 64 1
|
118: 7(int) Constant 52
|
||||||
120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 119 69 21 12
|
119: TypeInt 64 1
|
||||||
121: TypePointer Private 118(int64_t)
|
121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 120 70 23 12
|
||||||
122(VAR_int64_t): 121(ptr) Variable Private
|
122: TypePointer Private 119(int64_t)
|
||||||
123: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 124 120 17 117 12 19 124 122(VAR_int64_t) 35
|
123(VAR_int64_t): 122(ptr) Variable Private
|
||||||
125:118(int64_t) Constant 0 0
|
124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 125 121 18 118 12 21 125 123(VAR_int64_t) 36
|
||||||
127: 7(int) Constant 53
|
126:119(int64_t) Constant 0 0
|
||||||
128: TypeInt 64 0
|
128: 7(int) Constant 53
|
||||||
130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 129 69 11 12
|
129: TypeInt 64 0
|
||||||
131: TypePointer Private 128(int64_t)
|
131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 130 70 11 12
|
||||||
132(VAR_uint64_t): 131(ptr) Variable Private
|
132: TypePointer Private 129(int64_t)
|
||||||
133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 134 130 17 127 12 19 134 132(VAR_uint64_t) 35
|
133(VAR_uint64_t): 132(ptr) Variable Private
|
||||||
135:128(int64_t) Constant 0 0
|
134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 135 131 18 128 12 21 135 133(VAR_uint64_t) 36
|
||||||
137: 7(int) Constant 54
|
136:129(int64_t) Constant 0 0
|
||||||
138: TypeFloat 16
|
138: 7(int) Constant 54
|
||||||
140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 139 100 13 12
|
139: TypeFloat 16
|
||||||
141: TypePointer Private 138(float16_t)
|
141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 140 101 13 12
|
||||||
142(VAR_float16_t): 141(ptr) Variable Private
|
142: TypePointer Private 139(float16_t)
|
||||||
143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 144 140 17 137 12 19 144 142(VAR_float16_t) 35
|
143(VAR_float16_t): 142(ptr) Variable Private
|
||||||
145:138(float16_t) Constant 0
|
144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 145 141 18 138 12 21 145 143(VAR_float16_t) 36
|
||||||
|
146:139(float16_t) Constant 0
|
||||||
Line 1 42 11
|
Line 1 42 11
|
||||||
14(main): 4 Function None 5
|
14(main): 4 Function None 5
|
||||||
23: Label
|
15: Label
|
||||||
24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 16 14(main)
|
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main)
|
||||||
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
|
||||||
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12
|
27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
|
||||||
Store 32(VAR_bool) 37
|
Store 33(VAR_bool) 38
|
||||||
38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 39 39 12 12
|
39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 40 40 12 12
|
||||||
Store 44(VAR_int) 47
|
Store 45(VAR_int) 48
|
||||||
48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 49 49 12 12
|
49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 50 50 12 12
|
||||||
Store 51(VAR_uint) 12
|
Store 52(VAR_uint) 12
|
||||||
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 55 55 12 12
|
55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 56 56 12 12
|
||||||
Store 60(VAR_float) 63
|
Store 61(VAR_float) 64
|
||||||
64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 65 65 12 12
|
65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 66 66 12 12
|
||||||
Store 71(VAR_double) 74
|
Store 72(VAR_double) 75
|
||||||
75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 76 76 12 12
|
76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 77 77 12 12
|
||||||
Store 81(VAR_int8_t) 84
|
Store 82(VAR_int8_t) 85
|
||||||
85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 86 86 12 12
|
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 87 87 12 12
|
||||||
Store 91(VAR_uint8_t) 94
|
Store 92(VAR_uint8_t) 95
|
||||||
95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 96 96 12 12
|
96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 97 97 12 12
|
||||||
Store 102(VAR_int16_t) 105
|
Store 103(VAR_int16_t) 106
|
||||||
106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 107 107 12 12
|
107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 108 108 12 12
|
||||||
Store 112(VAR_uint16_t) 115
|
Store 113(VAR_uint16_t) 116
|
||||||
116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 117 117 12 12
|
117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 118 118 12 12
|
||||||
Store 122(VAR_int64_t) 125
|
Store 123(VAR_int64_t) 126
|
||||||
126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 127 127 12 12
|
127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 128 128 12 12
|
||||||
Store 132(VAR_uint64_t) 135
|
Store 133(VAR_uint64_t) 136
|
||||||
136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 137 137 12 12
|
137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 138 138 12 12
|
||||||
Store 142(VAR_float16_t) 145
|
Store 143(VAR_float16_t) 146
|
||||||
Return
|
Return
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue