Emit DebugTypePointer when non-semantic debug info is enabled

This commit is contained in:
Sajjad Mirza 2023-12-28 08:00:37 -08:00 committed by GitHub
parent 89824a83b7
commit e17ecb0e80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 9174 additions and 8925 deletions

View file

@ -242,6 +242,11 @@ Id Builder::makePointer(StorageClass storageClass, Id pointee)
constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(type)); constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(type));
module.mapInstruction(type); module.mapInstruction(type);
if (emitNonSemanticShaderDebugInfo) {
const Id debugResultId = makePointerDebugType(storageClass, pointee);
debugId[type->getResultId()] = debugResultId;
}
return type->getResultId(); return type->getResultId();
} }
@ -1070,6 +1075,34 @@ Id Builder::makeCompositeDebugType(std::vector<Id> const& memberTypes, char cons
return type->getResultId(); return type->getResultId();
} }
Id Builder::makePointerDebugType(StorageClass storageClass, Id const baseType)
{
const Id debugBaseType = debugId[baseType];
if (!debugBaseType) {
return makeDebugInfoNone();
}
const Id scID = makeUintConstant(storageClass);
for (Instruction* otherType : groupedDebugTypes[NonSemanticShaderDebugInfo100DebugTypePointer]) {
if (otherType->getIdOperand(2) == debugBaseType &&
otherType->getIdOperand(3) == scID) {
return otherType->getResultId();
}
}
Instruction* type = new Instruction(getUniqueId(), makeVoidType(), OpExtInst);
type->addIdOperand(nonSemanticShaderDebugInfo);
type->addImmediateOperand(NonSemanticShaderDebugInfo100DebugTypePointer);
type->addIdOperand(debugBaseType);
type->addIdOperand(scID);
type->addIdOperand(makeUintConstant(0));
groupedDebugTypes[NonSemanticShaderDebugInfo100DebugTypePointer].push_back(type);
constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(type));
module.mapInstruction(type);
return type->getResultId();
}
Id Builder::makeDebugSource(const Id fileName) { Id Builder::makeDebugSource(const Id fileName) {
if (debugSourceId.find(fileName) != debugSourceId.end()) if (debugSourceId.find(fileName) != debugSourceId.end())
return debugSourceId[fileName]; return debugSourceId[fileName];

View file

@ -226,6 +226,7 @@ public:
Id makeMemberDebugType(Id const memberType, DebugTypeLoc const& debugTypeLoc); Id makeMemberDebugType(Id const memberType, DebugTypeLoc const& debugTypeLoc);
Id makeCompositeDebugType(std::vector<Id> const& memberTypes, char const*const name, Id makeCompositeDebugType(std::vector<Id> const& memberTypes, char const*const name,
NonSemanticShaderDebugInfo100DebugCompositeType const tag, bool const isOpaqueType = false); NonSemanticShaderDebugInfo100DebugCompositeType const tag, bool const isOpaqueType = false);
Id makePointerDebugType(StorageClass storageClass, Id const baseType);
Id makeDebugSource(const Id fileName); Id makeDebugSource(const Id fileName);
Id makeDebugCompilationUnit(); Id makeDebugCompilationUnit();
Id createDebugGlobalVariable(Id const type, char const*const name, Id const variable); Id createDebugGlobalVariable(Id const type, char const*const name, Id const variable);

View file

@ -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 132 // Id's are bound by 143
Capability Shader Capability Shader
Capability PhysicalStorageBufferAddressesEXT Capability PhysicalStorageBufferAddressesEXT
@ -11,7 +11,7 @@ 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" 70 123 EntryPoint Fragment 14 "main" 75 134
ExecutionMode 14 OriginUpperLeft ExecutionMode 14 OriginUpperLeft
1: String "" 1: String ""
8: String "uint" 8: String "uint"
@ -28,42 +28,42 @@ spv.debuginfo.bufferref.glsl.frag
34: String "float" 34: String "float"
40: String "data" 40: String "data"
44: String "MeshVertexPositions" 44: String "MeshVertexPositions"
48: String "meshData" 50: String "meshData"
60: String "PerPass_meshes" 62: String "PerPass_meshes"
64: String "perPass_meshes" 68: String "perPass_meshes"
66: String "int" 70: String "int"
72: String "tri_idx0" 77: String "tri_idx0"
87: String "vertex_pos0" 95: String "vertex_pos0"
125: String "out_fragColor" 136: String "out_fragColor"
SourceExtension "GL_EXT_buffer_reference" SourceExtension "GL_EXT_buffer_reference"
Name 14 "main" Name 14 "main"
Name 30 "Mesh" Name 30 "Mesh"
MemberName 30(Mesh) 0 "positions" MemberName 30(Mesh) 0 "positions"
Name 38 "MeshVertexPositions" Name 38 "MeshVertexPositions"
MemberName 38(MeshVertexPositions) 0 "data" MemberName 38(MeshVertexPositions) 0 "data"
Name 46 "meshData" Name 48 "meshData"
Name 51 "Mesh" Name 53 "Mesh"
MemberName 51(Mesh) 0 "positions" MemberName 53(Mesh) 0 "positions"
Name 55 "PerPass_meshes" Name 57 "PerPass_meshes"
MemberName 55(PerPass_meshes) 0 "data" MemberName 57(PerPass_meshes) 0 "data"
Name 62 "perPass_meshes" Name 66 "perPass_meshes"
Name 70 "tri_idx0" Name 75 "tri_idx0"
Name 85 "vertex_pos0" Name 93 "vertex_pos0"
Name 123 "out_fragColor" Name 134 "out_fragColor"
Decorate 36 ArrayStride 4 Decorate 36 ArrayStride 4
MemberDecorate 38(MeshVertexPositions) 0 Offset 0 MemberDecorate 38(MeshVertexPositions) 0 Offset 0
Decorate 38(MeshVertexPositions) Block Decorate 38(MeshVertexPositions) Block
MemberDecorate 51(Mesh) 0 Offset 0 MemberDecorate 53(Mesh) 0 Offset 0
Decorate 53 ArrayStride 8 Decorate 55 ArrayStride 8
MemberDecorate 55(PerPass_meshes) 0 NonWritable MemberDecorate 57(PerPass_meshes) 0 NonWritable
MemberDecorate 55(PerPass_meshes) 0 Offset 0 MemberDecorate 57(PerPass_meshes) 0 Offset 0
Decorate 55(PerPass_meshes) Block Decorate 57(PerPass_meshes) Block
Decorate 62(perPass_meshes) DescriptorSet 0 Decorate 66(perPass_meshes) DescriptorSet 0
Decorate 62(perPass_meshes) Binding 0 Decorate 66(perPass_meshes) Binding 0
Decorate 70(tri_idx0) Flat Decorate 75(tri_idx0) Flat
Decorate 70(tri_idx0) Location 0 Decorate 75(tri_idx0) Location 0
Decorate 123(out_fragColor) Location 0 Decorate 134(out_fragColor) Location 0
Decorate 46(meshData) DecorationAliasedPointerEXT Decorate 48(meshData) DecorationAliasedPointerEXT
4: TypeVoid 4: TypeVoid
5: TypeFunction 4 5: TypeFunction 4
7: TypeInt 32 0 7: TypeInt 32 0
@ -95,93 +95,104 @@ spv.debuginfo.bufferref.glsl.frag
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 44 22 18 28 12 21 44 12 13 39 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 44 22 18 28 12 21 44 12 13 39
29: TypePointer PhysicalStorageBufferEXT 38(MeshVertexPositions) 29: TypePointer PhysicalStorageBufferEXT 38(MeshVertexPositions)
45: TypePointer Function 30(Mesh) 45: TypePointer Function 30(Mesh)
47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 48 31 18 28 12 17 23 46: 7(int) Constant 7
50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 46 12
51(Mesh): TypeStruct 29(ptr) 49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 50 31 18 28 12 17 23
52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 32 22 18 28 12 21 32 12 13 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
53: TypeRuntimeArray 51(Mesh) 53(Mesh): TypeStruct 29(ptr)
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 52 12 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 32 22 18 28 12 21 32 12 13
55(PerPass_meshes): TypeStruct 53 55: TypeRuntimeArray 53(Mesh)
57: 7(int) Constant 13 56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 54 12
58: 7(int) Constant 8 57(PerPass_meshes): TypeStruct 55
56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 40 54 18 57 58 12 12 13 59: 7(int) Constant 13
59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 60 22 18 28 12 21 60 12 13 56 60: 7(int) Constant 8
61: TypePointer StorageBuffer 55(PerPass_meshes) 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 40 56 18 59 60 12 12 13
62(perPass_meshes): 61(ptr) Variable StorageBuffer 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 62 22 18 28 12 21 62 12 13 58
63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 64 59 18 28 12 21 64 62(perPass_meshes) 58 63: TypePointer StorageBuffer 57(PerPass_meshes)
65: TypeInt 32 1 64: 7(int) Constant 12
67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 66 10 23 12 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 61 64 12
68: 65(int) Constant 0 66(perPass_meshes): 63(ptr) Variable StorageBuffer
69: TypePointer Input 7(int) 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 68 61 18 28 12 21 68 66(perPass_meshes) 60
70(tri_idx0): 69(ptr) Variable Input 69: TypeInt 32 1
71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 72 9 18 28 12 21 72 70(tri_idx0) 58 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 70 10 23 12
74: TypePointer StorageBuffer 51(Mesh) 72: 69(int) Constant 0
78: TypePointer Function 29(ptr) 73: TypePointer Input 7(int)
81: 7(int) Constant 23 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 9 22 12
82: TypeVector 33(float) 3 75(tri_idx0): 73(ptr) Variable Input
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 35 13 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 77 9 18 28 12 21 77 75(tri_idx0) 60
84: TypePointer Function 82(fvec3) 79: TypePointer StorageBuffer 53(Mesh)
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 87 83 18 81 12 17 23 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 54 64 12
90: 7(int) Constant 25 84: TypePointer Function 29(ptr)
96: TypePointer PhysicalStorageBufferEXT 33(float) 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
100: 7(int) Constant 24 88: 7(int) Constant 23
119: 7(int) Constant 27 89: TypeVector 33(float) 3
120: TypeVector 33(float) 4 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 35 13
121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 35 23 91: TypePointer Function 89(fvec3)
122: TypePointer Output 120(fvec4) 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 90 46 12
123(out_fragColor): 122(ptr) Variable Output 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 95 90 18 88 12 17 23
124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 125 121 18 119 12 21 125 123(out_fragColor) 58 98: 7(int) Constant 25
127: 33(float) Constant 1065353216 104: TypePointer PhysicalStorageBufferEXT 33(float)
105: 7(int) Constant 5349
106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 35 105 12
110: 7(int) Constant 24
129: 7(int) Constant 27
130: TypeVector 33(float) 4
131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 35 23
132: TypePointer Output 130(fvec4)
133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 131 13 12
134(out_fragColor): 132(ptr) Variable Output
135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 136 131 18 129 12 21 136 134(out_fragColor) 60
138: 33(float) Constant 1065353216
Line 1 20 11 Line 1 20 11
14(main): 4 Function None 5 14(main): 4 Function None 5
15: Label 15: Label
46(meshData): 45(ptr) Variable Function 48(meshData): 45(ptr) Variable Function
85(vertex_pos0): 84(ptr) Variable Function 93(vertex_pos0): 91(ptr) Variable Function
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main) 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main)
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12 27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 47 46(meshData) 50 51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 49 48(meshData) 52
73: 7(int) Load 70(tri_idx0) 78: 7(int) Load 75(tri_idx0)
75: 74(ptr) AccessChain 62(perPass_meshes) 68 73 81: 79(ptr) AccessChain 66(perPass_meshes) 72 78
76: 51(Mesh) Load 75 82: 53(Mesh) Load 81
77: 29(ptr) CompositeExtract 76 0 83: 29(ptr) CompositeExtract 82 0
79: 78(ptr) AccessChain 46(meshData) 68 86: 84(ptr) AccessChain 48(meshData) 72
Store 79 77 Store 86 83
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 81 81 12 12 87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 88 88 12 12
88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 86 85(vertex_pos0) 50 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 94 93(vertex_pos0) 52
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 90 90 12 12 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 98 98 12 12
91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 81 81 12 12 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 88 88 12 12
92: 78(ptr) AccessChain 46(meshData) 68 100: 84(ptr) AccessChain 48(meshData) 72
93: 29(ptr) Load 92 101: 29(ptr) Load 100
94: 7(int) Load 70(tri_idx0) 102: 7(int) Load 75(tri_idx0)
95: 7(int) IMul 13 94 103: 7(int) IMul 13 102
97: 96(ptr) AccessChain 93 68 95 107: 104(ptr) AccessChain 101 72 103
98: 33(float) Load 97 Aligned 4 108: 33(float) Load 107 Aligned 4
99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 100 100 12 12 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 110 110 12 12
101: 78(ptr) AccessChain 46(meshData) 68 111: 84(ptr) AccessChain 48(meshData) 72
102: 29(ptr) Load 101 112: 29(ptr) Load 111
103: 7(int) Load 70(tri_idx0) 113: 7(int) Load 75(tri_idx0)
104: 7(int) IMul 13 103 114: 7(int) IMul 13 113
105: 7(int) IAdd 104 22 115: 7(int) IAdd 114 22
106: 96(ptr) AccessChain 102 68 105 116: 104(ptr) AccessChain 112 72 115
107: 33(float) Load 106 Aligned 4 117: 33(float) Load 116 Aligned 4
108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 90 90 12 12 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 98 98 12 12
109: 78(ptr) AccessChain 46(meshData) 68 119: 84(ptr) AccessChain 48(meshData) 72
110: 29(ptr) Load 109 120: 29(ptr) Load 119
111: 7(int) Load 70(tri_idx0) 121: 7(int) Load 75(tri_idx0)
112: 7(int) IMul 13 111 122: 7(int) IMul 13 121
113: 7(int) IAdd 112 24 123: 7(int) IAdd 122 24
114: 96(ptr) AccessChain 110 68 113 124: 104(ptr) AccessChain 120 72 123
115: 33(float) Load 114 Aligned 4 125: 33(float) Load 124 Aligned 4
116: 82(fvec3) CompositeConstruct 98 107 115 126: 89(fvec3) CompositeConstruct 108 117 125
117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 81 81 12 12 127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 88 88 12 12
Store 85(vertex_pos0) 116 Store 93(vertex_pos0) 126
118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 119 119 12 12 128: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 129 129 12 12
126: 82(fvec3) Load 85(vertex_pos0) 137: 89(fvec3) Load 93(vertex_pos0)
128: 33(float) CompositeExtract 126 0 139: 33(float) CompositeExtract 137 0
129: 33(float) CompositeExtract 126 1 140: 33(float) CompositeExtract 137 1
130: 33(float) CompositeExtract 126 2 141: 33(float) CompositeExtract 137 2
131: 120(fvec4) CompositeConstruct 128 129 130 127 142: 130(fvec4) CompositeConstruct 139 140 141 138
Store 123(out_fragColor) 131 Store 134(out_fragColor) 142
Return Return
FunctionEnd FunctionEnd

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -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 257 // Id's are bound by 272
Capability Geometry Capability Geometry
Capability MultiViewport Capability MultiViewport
@ -9,7 +9,7 @@ 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" 63 95 114 124 127 158 197 206 223 235 241 244 EntryPoint Geometry 14 "main" 66 99 120 131 134 167 209 218 236 250 256 259
ExecutionMode 14 Triangles ExecutionMode 14 Triangles
ExecutionMode 14 Invocations 2 ExecutionMode 14 Invocations 2
ExecutionMode 14 OutputTriangleStrip ExecutionMode 14 OutputTriangleStrip
@ -26,97 +26,97 @@ spv.debuginfo.glsl.geom
#line 1 #line 1
" "
30: String "int" 30: String "int"
35: String "i" 37: String "i"
51: String "bool" 53: String "bool"
58: String "float" 60: String "float"
65: String "outNormal" 68: String "outNormal"
78: String "projection" 81: String "projection"
82: String "modelview" 84: String "modelview"
85: String "lightPos" 87: String "lightPos"
88: String "UBO" 90: String "UBO"
92: String "ubo" 95: String "ubo"
97: String "gl_InvocationID" 101: String "gl_InvocationID"
116: String "inNormal" 122: String "inNormal"
126: String "outColor" 133: String "outColor"
129: String "inColor" 136: String "inColor"
138: String "pos" 146: String "pos"
144: String "gl_Position" 152: String "gl_Position"
147: String "gl_PointSize" 155: String "gl_PointSize"
150: String "gl_CullDistance" 158: String "gl_CullDistance"
154: String "gl_PerVertex" 162: String "gl_PerVertex"
160: String "gl_in" 169: String "gl_in"
169: String "worldPos" 179: String "worldPos"
181: String "lPos" 192: String "lPos"
199: String "outLightVec" 211: String "outLightVec"
208: String "outViewVec" 220: String "outViewVec"
237: String "gl_ViewportIndex" 252: String "gl_ViewportIndex"
243: String "gl_PrimitiveID" 258: String "gl_PrimitiveID"
246: String "gl_PrimitiveIDIn" 261: String "gl_PrimitiveIDIn"
SourceExtension "GL_ARB_viewport_array" SourceExtension "GL_ARB_viewport_array"
Name 14 "main" Name 14 "main"
Name 33 "i" Name 35 "i"
Name 63 "outNormal" Name 66 "outNormal"
Name 76 "UBO" Name 79 "UBO"
MemberName 76(UBO) 0 "projection" MemberName 79(UBO) 0 "projection"
MemberName 76(UBO) 1 "modelview" MemberName 79(UBO) 1 "modelview"
MemberName 76(UBO) 2 "lightPos" MemberName 79(UBO) 2 "lightPos"
Name 90 "ubo" Name 93 "ubo"
Name 95 "gl_InvocationID" Name 99 "gl_InvocationID"
Name 114 "inNormal" Name 120 "inNormal"
Name 124 "outColor" Name 131 "outColor"
Name 127 "inColor" Name 134 "inColor"
Name 136 "pos" Name 144 "pos"
Name 142 "gl_PerVertex" Name 150 "gl_PerVertex"
MemberName 142(gl_PerVertex) 0 "gl_Position" MemberName 150(gl_PerVertex) 0 "gl_Position"
MemberName 142(gl_PerVertex) 1 "gl_PointSize" MemberName 150(gl_PerVertex) 1 "gl_PointSize"
MemberName 142(gl_PerVertex) 2 "gl_ClipDistance" MemberName 150(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 142(gl_PerVertex) 3 "gl_CullDistance" MemberName 150(gl_PerVertex) 3 "gl_CullDistance"
Name 158 "gl_in" Name 167 "gl_in"
Name 167 "worldPos" Name 177 "worldPos"
Name 179 "lPos" Name 190 "lPos"
Name 197 "outLightVec" Name 209 "outLightVec"
Name 206 "outViewVec" Name 218 "outViewVec"
Name 214 "gl_PerVertex" Name 226 "gl_PerVertex"
MemberName 214(gl_PerVertex) 0 "gl_Position" MemberName 226(gl_PerVertex) 0 "gl_Position"
MemberName 214(gl_PerVertex) 1 "gl_PointSize" MemberName 226(gl_PerVertex) 1 "gl_PointSize"
MemberName 214(gl_PerVertex) 2 "gl_ClipDistance" MemberName 226(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 214(gl_PerVertex) 3 "gl_CullDistance" MemberName 226(gl_PerVertex) 3 "gl_CullDistance"
Name 223 "" Name 236 ""
Name 235 "gl_ViewportIndex" Name 250 "gl_ViewportIndex"
Name 241 "gl_PrimitiveID" Name 256 "gl_PrimitiveID"
Name 244 "gl_PrimitiveIDIn" Name 259 "gl_PrimitiveIDIn"
Decorate 63(outNormal) Location 0 Decorate 66(outNormal) Location 0
Decorate 72 ArrayStride 64 Decorate 75 ArrayStride 64
Decorate 74 ArrayStride 64 Decorate 77 ArrayStride 64
MemberDecorate 76(UBO) 0 ColMajor MemberDecorate 79(UBO) 0 ColMajor
MemberDecorate 76(UBO) 0 Offset 0 MemberDecorate 79(UBO) 0 Offset 0
MemberDecorate 76(UBO) 0 MatrixStride 16 MemberDecorate 79(UBO) 0 MatrixStride 16
MemberDecorate 76(UBO) 1 ColMajor MemberDecorate 79(UBO) 1 ColMajor
MemberDecorate 76(UBO) 1 Offset 128 MemberDecorate 79(UBO) 1 Offset 128
MemberDecorate 76(UBO) 1 MatrixStride 16 MemberDecorate 79(UBO) 1 MatrixStride 16
MemberDecorate 76(UBO) 2 Offset 256 MemberDecorate 79(UBO) 2 Offset 256
Decorate 76(UBO) Block Decorate 79(UBO) Block
Decorate 90(ubo) DescriptorSet 0 Decorate 93(ubo) DescriptorSet 0
Decorate 90(ubo) Binding 0 Decorate 93(ubo) Binding 0
Decorate 95(gl_InvocationID) BuiltIn InvocationId Decorate 99(gl_InvocationID) BuiltIn InvocationId
Decorate 114(inNormal) Location 0 Decorate 120(inNormal) Location 0
Decorate 124(outColor) Location 1 Decorate 131(outColor) Location 1
Decorate 127(inColor) Location 1 Decorate 134(inColor) Location 1
MemberDecorate 142(gl_PerVertex) 0 BuiltIn Position MemberDecorate 150(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 142(gl_PerVertex) 1 BuiltIn PointSize MemberDecorate 150(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 142(gl_PerVertex) 2 BuiltIn ClipDistance MemberDecorate 150(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 142(gl_PerVertex) 3 BuiltIn CullDistance MemberDecorate 150(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 142(gl_PerVertex) Block Decorate 150(gl_PerVertex) Block
Decorate 197(outLightVec) Location 3 Decorate 209(outLightVec) Location 3
Decorate 206(outViewVec) Location 2 Decorate 218(outViewVec) Location 2
MemberDecorate 214(gl_PerVertex) 0 BuiltIn Position MemberDecorate 226(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 214(gl_PerVertex) 1 BuiltIn PointSize MemberDecorate 226(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 214(gl_PerVertex) 2 BuiltIn ClipDistance MemberDecorate 226(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 214(gl_PerVertex) 3 BuiltIn CullDistance MemberDecorate 226(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 214(gl_PerVertex) Block Decorate 226(gl_PerVertex) Block
Decorate 235(gl_ViewportIndex) BuiltIn ViewportIndex Decorate 250(gl_ViewportIndex) BuiltIn ViewportIndex
Decorate 241(gl_PrimitiveID) BuiltIn PrimitiveId Decorate 256(gl_PrimitiveID) BuiltIn PrimitiveId
Decorate 244(gl_PrimitiveIDIn) BuiltIn PrimitiveId Decorate 259(gl_PrimitiveIDIn) BuiltIn PrimitiveId
4: TypeVoid 4: TypeVoid
5: TypeFunction 4 5: TypeFunction 4
7: TypeInt 32 0 7: TypeInt 32 0
@ -137,229 +137,244 @@ spv.debuginfo.glsl.geom
29: TypeInt 32 1 29: TypeInt 32 1
31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 23 12 31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 30 10 23 12
32: TypePointer Function 29(int) 32: TypePointer Function 29(int)
34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 35 31 18 28 12 17 23 33: 7(int) Constant 7
37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) 34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 33 12
38: 29(int) Constant 0 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 37 31 18 28 12 17 23
49: 29(int) Constant 3 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
50: TypeBool 40: 29(int) Constant 0
52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 51 10 24 12 51: 29(int) Constant 3
56: 7(int) Constant 51 52: TypeBool
57: TypeFloat 32 54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 53 10 24 12
59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 58 10 13 12 58: 7(int) Constant 51
60: TypeVector 57(float) 3 59: TypeFloat 32
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 59 13 61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 60 10 13 12
62: TypePointer Output 60(fvec3) 62: TypeVector 59(float) 3
63(outNormal): 62(ptr) Variable Output 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 61 13
66: 7(int) Constant 8 64: TypePointer Output 62(fvec3)
64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 65 61 18 56 12 21 65 63(outNormal) 66 65: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 63 13 12
67: TypeVector 57(float) 4 66(outNormal): 64(ptr) Variable Output
68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 59 23 69: 7(int) Constant 8
69: TypeMatrix 67(fvec4) 4 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 68 63 18 58 12 21 68 66(outNormal) 69
71: 50(bool) ConstantTrue 70: TypeVector 59(float) 4
70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 68 23 71 71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 61 23
72: TypeArray 69 24 72: TypeMatrix 70(fvec4) 4
73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 70 24 74: 52(bool) ConstantTrue
74: TypeArray 69 24 73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 71 23 74
75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 70 24 75: TypeArray 72 24
76(UBO): TypeStruct 72 74 67(fvec4) 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 73 24
79: 7(int) Constant 34 77: TypeArray 72 24
80: 7(int) Constant 7 78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 73 24
77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 78 73 18 79 80 12 12 13 79(UBO): TypeStruct 75 77 70(fvec4)
83: 7(int) Constant 35 82: 7(int) Constant 34
81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 82 75 18 83 80 12 12 13 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 81 76 18 82 33 12 12 13
86: 7(int) Constant 36 85: 7(int) Constant 35
84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 85 68 18 86 80 12 12 13 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 84 78 18 85 33 12 12 13
87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 88 22 18 56 12 21 88 12 13 77 81 84 88: 7(int) Constant 36
89: TypePointer Uniform 76(UBO) 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 87 71 18 88 33 12 12 13
90(ubo): 89(ptr) Variable Uniform 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 90 22 18 58 12 21 90 12 13 80 83 86
91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 92 87 18 56 12 21 92 90(ubo) 66 91: TypePointer Uniform 79(UBO)
93: 29(int) Constant 1 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 89 24 12
94: TypePointer Input 29(int) 93(ubo): 91(ptr) Variable Uniform
95(gl_InvocationID): 94(ptr) Variable Input 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 95 89 18 58 12 21 95 93(ubo) 69
96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 97 31 18 56 12 21 97 95(gl_InvocationID) 66 96: 29(int) Constant 1
99: TypePointer Uniform 69 97: TypePointer Input 29(int)
102: TypeMatrix 60(fvec3) 3 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 22 12
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 61 13 71 99(gl_InvocationID): 97(ptr) Variable Input
111: TypeArray 60(fvec3) 13 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 101 31 18 58 12 21 101 99(gl_InvocationID) 69
112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 61 13 103: TypePointer Uniform 72
113: TypePointer Input 111 104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 73 24 12
114(inNormal): 113(ptr) Variable Input 107: TypeMatrix 62(fvec3) 3
115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 116 112 18 56 12 21 116 114(inNormal) 66 108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 63 13 74
118: TypePointer Input 60(fvec3) 116: TypeArray 62(fvec3) 13
123: 7(int) Constant 52 117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 63 13
124(outColor): 62(ptr) Variable Output 118: TypePointer Input 116
125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 126 61 18 123 12 21 126 124(outColor) 66 119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 117 22 12
127(inColor): 113(ptr) Variable Input 120(inNormal): 118(ptr) Variable Input
128: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 129 112 18 123 12 21 129 127(inColor) 66 121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 122 117 18 58 12 21 122 120(inNormal) 69
134: 7(int) Constant 54 124: TypePointer Input 62(fvec3)
135: TypePointer Function 67(fvec4) 125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 63 22 12
137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 138 68 18 134 12 17 23 130: 7(int) Constant 52
140: TypeArray 57(float) 22 131(outColor): 64(ptr) Variable Output
141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 59 22 132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 133 63 18 130 12 21 133 131(outColor) 69
142(gl_PerVertex): TypeStruct 67(fvec4) 57(float) 140 140 134(inColor): 118(ptr) Variable Input
145: 7(int) Constant 23 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 136 117 18 130 12 21 136 134(inColor) 69
143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 144 68 18 24 145 12 12 13 141: 7(int) Constant 54
148: 7(int) Constant 41 142: TypePointer Function 70(fvec4)
146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 147 59 18 24 148 12 12 13 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 71 33 12
151: 7(int) Constant 84 145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 146 71 18 141 12 17 23
149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 141 18 24 151 12 12 13 148: TypeArray 59(float) 22
152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 141 18 24 151 12 12 13 149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 61 22
153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 154 22 18 134 12 21 154 12 13 143 146 149 152 150(gl_PerVertex): TypeStruct 70(fvec4) 59(float) 148 148
155: TypeArray 142(gl_PerVertex) 13 153: 7(int) Constant 23
156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 153 13 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 152 71 18 24 153 12 12 13
157: TypePointer Input 155 156: 7(int) Constant 41
158(gl_in): 157(ptr) Variable Input 154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 61 18 24 156 12 12 13
159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 160 156 18 134 12 21 160 158(gl_in) 66 159: 7(int) Constant 84
162: TypePointer Input 67(fvec4) 157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 149 18 24 159 12 12 13
166: 7(int) Constant 55 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 149 18 24 159 12 12 13
168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 169 68 18 166 12 17 23 161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 162 22 18 141 12 21 162 12 13 151 154 157 160
177: 7(int) Constant 57 163: TypeArray 150(gl_PerVertex) 13
178: TypePointer Function 60(fvec3) 164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 161 13
180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 181 61 18 177 12 17 23 165: TypePointer Input 163
186: 29(int) Constant 2 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 164 22 12
187: TypePointer Uniform 67(fvec4) 167(gl_in): 165(ptr) Variable Input
196: 7(int) Constant 58 168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 169 164 18 141 12 21 169 167(gl_in) 69
197(outLightVec): 62(ptr) Variable Output 171: TypePointer Input 70(fvec4)
198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 199 61 18 196 12 21 199 197(outLightVec) 66 172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 71 22 12
205: 7(int) Constant 59 176: 7(int) Constant 55
206(outViewVec): 62(ptr) Variable Output 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 179 71 18 176 12 17 23
207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 208 61 18 205 12 21 208 206(outViewVec) 66 187: 7(int) Constant 57
213: 7(int) Constant 61 188: TypePointer Function 62(fvec3)
214(gl_PerVertex): TypeStruct 67(fvec4) 57(float) 140 140 189: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 63 33 12
216: 7(int) Constant 215 191: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 192 63 18 187 12 17 23
215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 144 68 18 24 216 12 12 13 197: 29(int) Constant 2
218: 7(int) Constant 233 198: TypePointer Uniform 70(fvec4)
217: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 147 59 18 24 218 12 12 13 199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 71 24 12
219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 141 18 13 80 12 12 13 208: 7(int) Constant 58
220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 141 18 13 80 12 12 13 209(outLightVec): 64(ptr) Variable Output
221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 154 22 18 213 12 21 154 12 13 215 217 219 220 210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 211 63 18 208 12 21 211 209(outLightVec) 69
222: TypePointer Output 214(gl_PerVertex) 217: 7(int) Constant 59
223: 222(ptr) Variable Output 218(outViewVec): 64(ptr) Variable Output
224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 221 18 213 12 21 1 223 66 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 220 63 18 217 12 21 220 218(outViewVec) 69
230: TypePointer Output 67(fvec4) 225: 7(int) Constant 61
233: 7(int) Constant 64 226(gl_PerVertex): TypeStruct 70(fvec4) 59(float) 148 148
234: TypePointer Output 29(int) 228: 7(int) Constant 215
235(gl_ViewportIndex): 234(ptr) Variable Output 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 152 71 18 24 228 12 12 13
236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 237 31 18 233 12 21 237 235(gl_ViewportIndex) 66 230: 7(int) Constant 233
240: 7(int) Constant 65 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 61 18 24 230 12 12 13
241(gl_PrimitiveID): 234(ptr) Variable Output 231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 149 18 13 33 12 12 13
242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 243 31 18 240 12 21 243 241(gl_PrimitiveID) 66 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 149 18 13 33 12 12 13
244(gl_PrimitiveIDIn): 94(ptr) Variable Input 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 162 22 18 225 12 21 162 12 13 227 229 231 232
245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 246 31 18 240 12 21 246 244(gl_PrimitiveIDIn) 66 234: TypePointer Output 226(gl_PerVertex)
249: 7(int) Constant 66 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 233 13 12
256: 7(int) Constant 68 236: 234(ptr) Variable Output
237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 233 18 225 12 21 1 236 69
243: TypePointer Output 70(fvec4)
244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 71 13 12
247: 7(int) Constant 64
248: TypePointer Output 29(int)
249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 13 12
250(gl_ViewportIndex): 248(ptr) Variable Output
251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 252 31 18 247 12 21 252 250(gl_ViewportIndex) 69
255: 7(int) Constant 65
256(gl_PrimitiveID): 248(ptr) Variable Output
257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 258 31 18 255 12 21 258 256(gl_PrimitiveID) 69
259(gl_PrimitiveIDIn): 97(ptr) Variable Input
260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 261 31 18 255 12 21 261 259(gl_PrimitiveIDIn) 69
264: 7(int) Constant 66
271: 7(int) Constant 68
Line 1 47 15 Line 1 47 15
14(main): 4 Function None 5 14(main): 4 Function None 5
15: Label 15: Label
33(i): 32(ptr) Variable Function 35(i): 32(ptr) Variable Function
136(pos): 135(ptr) Variable Function 144(pos): 142(ptr) Variable Function
167(worldPos): 135(ptr) Variable Function 177(worldPos): 142(ptr) Variable Function
179(lPos): 178(ptr) Variable Function 190(lPos): 188(ptr) Variable Function
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main) 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main)
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12 27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 34 33(i) 37 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 36 35(i) 39
Store 33(i) 38 Store 35(i) 40
Branch 39 Branch 41
39: Label
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
LoopMerge 41 42 None
Branch 45
45: Label
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
48: 29(int) Load 33(i)
53: 50(bool) SLessThan 48 49
BranchConditional 53 40 41
40: Label
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
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 41: Label
254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 45: 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 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
LoopMerge 43 44 None
Branch 47
47: Label
48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
50: 29(int) Load 35(i)
55: 52(bool) SLessThan 50 51
BranchConditional 55 42 43
42: Label
56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 58 58 12 12
102: 29(int) Load 99(gl_InvocationID)
105: 103(ptr) AccessChain 93(ubo) 96 102
106: 72 Load 105
109: 70(fvec4) CompositeExtract 106 0
110: 62(fvec3) VectorShuffle 109 109 0 1 2
111: 70(fvec4) CompositeExtract 106 1
112: 62(fvec3) VectorShuffle 111 111 0 1 2
113: 70(fvec4) CompositeExtract 106 2
114: 62(fvec3) VectorShuffle 113 113 0 1 2
115: 107 CompositeConstruct 110 112 114
123: 29(int) Load 35(i)
126: 124(ptr) AccessChain 120(inNormal) 123
127: 62(fvec3) Load 126
128: 62(fvec3) MatrixTimesVector 115 127
Store 66(outNormal) 128
129: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 130 130 12 12
137: 29(int) Load 35(i)
138: 124(ptr) AccessChain 134(inColor) 137
139: 62(fvec3) Load 138
Store 131(outColor) 139
140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 141 141 12 12
147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 145 144(pos) 39
170: 29(int) Load 35(i)
173: 171(ptr) AccessChain 167(gl_in) 170 40
174: 70(fvec4) Load 173
Store 144(pos) 174
175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 176 176 12 12
180: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 178 177(worldPos) 39
181: 29(int) Load 99(gl_InvocationID)
182: 103(ptr) AccessChain 93(ubo) 96 181
183: 72 Load 182
184: 70(fvec4) Load 144(pos)
185: 70(fvec4) MatrixTimesVector 183 184
Store 177(worldPos) 185
186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 187 187 12 12
193: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 191 190(lPos) 39
194: 29(int) Load 99(gl_InvocationID)
195: 103(ptr) AccessChain 93(ubo) 96 194
196: 72 Load 195
200: 198(ptr) AccessChain 93(ubo) 197
201: 70(fvec4) Load 200
202: 70(fvec4) MatrixTimesVector 196 201
203: 59(float) CompositeExtract 202 0
204: 59(float) CompositeExtract 202 1
205: 59(float) CompositeExtract 202 2
206: 62(fvec3) CompositeConstruct 203 204 205
Store 190(lPos) 206
207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 208 208 12 12
212: 62(fvec3) Load 190(lPos)
213: 70(fvec4) Load 177(worldPos)
214: 62(fvec3) VectorShuffle 213 213 0 1 2
215: 62(fvec3) FSub 212 214
Store 209(outLightVec) 215
216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 217 217 12 12
221: 70(fvec4) Load 177(worldPos)
222: 62(fvec3) VectorShuffle 221 221 0 1 2
223: 62(fvec3) FNegate 222
Store 218(outViewVec) 223
224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 225 225 12 12
238: 29(int) Load 99(gl_InvocationID)
239: 103(ptr) AccessChain 93(ubo) 40 238
240: 72 Load 239
241: 70(fvec4) Load 177(worldPos)
242: 70(fvec4) MatrixTimesVector 240 241
245: 243(ptr) AccessChain 236 40
Store 245 242
246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 247 247 12 12
253: 29(int) Load 99(gl_InvocationID)
Store 250(gl_ViewportIndex) 253
254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 255 255 12 12
262: 29(int) Load 259(gl_PrimitiveIDIn)
Store 256(gl_PrimitiveID) 262
263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 264 264 12 12
EmitVertex
Branch 44
44: Label
265: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
267: 29(int) Load 35(i)
268: 29(int) IAdd 267 96
Store 35(i) 268
Branch 41
43: Label
269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
270: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 271 271 12 12
EndPrimitive EndPrimitive
Return Return
FunctionEnd FunctionEnd

File diff suppressed because it is too large Load diff

View file

@ -1,14 +1,14 @@
spv.debuginfo.glsl.tese spv.debuginfo.glsl.tese
// Module Version 10000 // Module Version 10000
// Generated by (magic number): 8000b // Generated by (magic number): 8000b
// Id's are bound by 335 // Id's are bound by 355
Capability Tessellation Capability Tessellation
Extension "SPV_KHR_non_semantic_info" Extension "SPV_KHR_non_semantic_info"
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
3: ExtInstImport "GLSL.std.450" 3: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450 MemoryModel Logical GLSL450
EntryPoint TessellationEvaluation 14 "main" 43 60 87 106 134 170 283 297 305 317 324 EntryPoint TessellationEvaluation 14 "main" 46 65 94 115 144 182 300 316 324 337 344
ExecutionMode 14 Quads ExecutionMode 14 Quads
ExecutionMode 14 SpacingEqual ExecutionMode 14 SpacingEqual
ExecutionMode 14 VertexOrderCw ExecutionMode 14 VertexOrderCw
@ -24,118 +24,118 @@ spv.debuginfo.glsl.tese
#line 1 #line 1
" "
30: String "float" 30: String "float"
37: String "uv1" 39: String "uv1"
45: String "inUV" 48: String "inUV"
48: String "int" 51: String "int"
62: String "gl_TessCoord" 67: String "gl_TessCoord"
72: String "uv2" 78: String "uv2"
89: String "outUV" 96: String "outUV"
101: String "n1" 109: String "n1"
108: String "inNormal" 117: String "inNormal"
121: String "n2" 130: String "n2"
136: String "outNormal" 146: String "outNormal"
150: String "pos1" 161: String "pos1"
156: String "gl_Position" 167: String "gl_Position"
159: String "gl_PointSize" 170: String "gl_PointSize"
162: String "gl_CullDistance" 173: String "gl_CullDistance"
166: String "gl_PerVertex" 177: String "gl_PerVertex"
172: String "gl_in" 184: String "gl_in"
186: String "pos2" 199: String "pos2"
200: String "pos" 213: String "pos"
212: String "type.2d.image" 225: String "type.2d.image"
213: String "@type.2d.image" 226: String "@type.2d.image"
217: String "type.sampled.image" 230: String "type.sampled.image"
218: String "@type.sampled.image" 231: String "@type.sampled.image"
222: String "displacementMap" 236: String "displacementMap"
231: String "bool" 245: String "bool"
238: String "modelview" 252: String "modelview"
243: String "lightPos" 256: String "lightPos"
246: String "frustumPlanes" 259: String "frustumPlanes"
248: String "tessellatedEdgeSize" 261: String "tessellatedEdgeSize"
252: String "viewportDim" 265: String "viewportDim"
256: String "UBO" 269: String "UBO"
260: String "ubo" 274: String "ubo"
299: String "outViewVec" 318: String "outViewVec"
307: String "outLightVec" 326: String "outLightVec"
319: String "outWorldPos" 339: String "outWorldPos"
326: String "outEyePos" 346: String "outEyePos"
Name 14 "main" Name 14 "main"
Name 35 "uv1" Name 37 "uv1"
Name 43 "inUV" Name 46 "inUV"
Name 60 "gl_TessCoord" Name 65 "gl_TessCoord"
Name 70 "uv2" Name 76 "uv2"
Name 87 "outUV" Name 94 "outUV"
Name 99 "n1" Name 107 "n1"
Name 106 "inNormal" Name 115 "inNormal"
Name 119 "n2" Name 128 "n2"
Name 134 "outNormal" Name 144 "outNormal"
Name 148 "pos1" Name 159 "pos1"
Name 154 "gl_PerVertex" Name 165 "gl_PerVertex"
MemberName 154(gl_PerVertex) 0 "gl_Position" MemberName 165(gl_PerVertex) 0 "gl_Position"
MemberName 154(gl_PerVertex) 1 "gl_PointSize" MemberName 165(gl_PerVertex) 1 "gl_PointSize"
MemberName 154(gl_PerVertex) 2 "gl_ClipDistance" MemberName 165(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 154(gl_PerVertex) 3 "gl_CullDistance" MemberName 165(gl_PerVertex) 3 "gl_CullDistance"
Name 170 "gl_in" Name 182 "gl_in"
Name 184 "pos2" Name 197 "pos2"
Name 198 "pos" Name 211 "pos"
Name 220 "displacementMap" Name 234 "displacementMap"
Name 236 "UBO" Name 250 "UBO"
MemberName 236(UBO) 0 "projection" MemberName 250(UBO) 0 "projection"
MemberName 236(UBO) 1 "modelview" MemberName 250(UBO) 1 "modelview"
MemberName 236(UBO) 2 "lightPos" MemberName 250(UBO) 2 "lightPos"
MemberName 236(UBO) 3 "frustumPlanes" MemberName 250(UBO) 3 "frustumPlanes"
MemberName 236(UBO) 4 "displacementFactor" MemberName 250(UBO) 4 "displacementFactor"
MemberName 236(UBO) 5 "tessellationFactor" MemberName 250(UBO) 5 "tessellationFactor"
MemberName 236(UBO) 6 "viewportDim" MemberName 250(UBO) 6 "viewportDim"
MemberName 236(UBO) 7 "tessellatedEdgeSize" MemberName 250(UBO) 7 "tessellatedEdgeSize"
Name 258 "ubo" Name 272 "ubo"
Name 273 "gl_PerVertex" Name 289 "gl_PerVertex"
MemberName 273(gl_PerVertex) 0 "gl_Position" MemberName 289(gl_PerVertex) 0 "gl_Position"
MemberName 273(gl_PerVertex) 1 "gl_PointSize" MemberName 289(gl_PerVertex) 1 "gl_PointSize"
MemberName 273(gl_PerVertex) 2 "gl_ClipDistance" MemberName 289(gl_PerVertex) 2 "gl_ClipDistance"
MemberName 273(gl_PerVertex) 3 "gl_CullDistance" MemberName 289(gl_PerVertex) 3 "gl_CullDistance"
Name 283 "" Name 300 ""
Name 297 "outViewVec" Name 316 "outViewVec"
Name 305 "outLightVec" Name 324 "outLightVec"
Name 317 "outWorldPos" Name 337 "outWorldPos"
Name 324 "outEyePos" Name 344 "outEyePos"
Decorate 43(inUV) Location 1 Decorate 46(inUV) Location 1
Decorate 60(gl_TessCoord) BuiltIn TessCoord Decorate 65(gl_TessCoord) BuiltIn TessCoord
Decorate 87(outUV) Location 1 Decorate 94(outUV) Location 1
Decorate 106(inNormal) Location 0 Decorate 115(inNormal) Location 0
Decorate 134(outNormal) Location 0 Decorate 144(outNormal) Location 0
MemberDecorate 154(gl_PerVertex) 0 BuiltIn Position MemberDecorate 165(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 154(gl_PerVertex) 1 BuiltIn PointSize MemberDecorate 165(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 154(gl_PerVertex) 2 BuiltIn ClipDistance MemberDecorate 165(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 154(gl_PerVertex) 3 BuiltIn CullDistance MemberDecorate 165(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 154(gl_PerVertex) Block Decorate 165(gl_PerVertex) Block
Decorate 220(displacementMap) DescriptorSet 0 Decorate 234(displacementMap) DescriptorSet 0
Decorate 220(displacementMap) Binding 1 Decorate 234(displacementMap) Binding 1
Decorate 234 ArrayStride 16 Decorate 248 ArrayStride 16
MemberDecorate 236(UBO) 0 ColMajor MemberDecorate 250(UBO) 0 ColMajor
MemberDecorate 236(UBO) 0 Offset 0 MemberDecorate 250(UBO) 0 Offset 0
MemberDecorate 236(UBO) 0 MatrixStride 16 MemberDecorate 250(UBO) 0 MatrixStride 16
MemberDecorate 236(UBO) 1 ColMajor MemberDecorate 250(UBO) 1 ColMajor
MemberDecorate 236(UBO) 1 Offset 64 MemberDecorate 250(UBO) 1 Offset 64
MemberDecorate 236(UBO) 1 MatrixStride 16 MemberDecorate 250(UBO) 1 MatrixStride 16
MemberDecorate 236(UBO) 2 Offset 128 MemberDecorate 250(UBO) 2 Offset 128
MemberDecorate 236(UBO) 3 Offset 144 MemberDecorate 250(UBO) 3 Offset 144
MemberDecorate 236(UBO) 4 Offset 240 MemberDecorate 250(UBO) 4 Offset 240
MemberDecorate 236(UBO) 5 Offset 244 MemberDecorate 250(UBO) 5 Offset 244
MemberDecorate 236(UBO) 6 Offset 248 MemberDecorate 250(UBO) 6 Offset 248
MemberDecorate 236(UBO) 7 Offset 256 MemberDecorate 250(UBO) 7 Offset 256
Decorate 236(UBO) Block Decorate 250(UBO) Block
Decorate 258(ubo) DescriptorSet 0 Decorate 272(ubo) DescriptorSet 0
Decorate 258(ubo) Binding 0 Decorate 272(ubo) Binding 0
MemberDecorate 273(gl_PerVertex) 0 BuiltIn Position MemberDecorate 289(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 273(gl_PerVertex) 1 BuiltIn PointSize MemberDecorate 289(gl_PerVertex) 1 BuiltIn PointSize
MemberDecorate 273(gl_PerVertex) 2 BuiltIn ClipDistance MemberDecorate 289(gl_PerVertex) 2 BuiltIn ClipDistance
MemberDecorate 273(gl_PerVertex) 3 BuiltIn CullDistance MemberDecorate 289(gl_PerVertex) 3 BuiltIn CullDistance
Decorate 273(gl_PerVertex) Block Decorate 289(gl_PerVertex) Block
Decorate 297(outViewVec) Location 2 Decorate 316(outViewVec) Location 2
Decorate 305(outLightVec) Location 3 Decorate 324(outLightVec) Location 3
Decorate 317(outWorldPos) Location 5 Decorate 337(outWorldPos) Location 5
Decorate 324(outEyePos) Location 4 Decorate 344(outEyePos) Location 4
4: TypeVoid 4: TypeVoid
5: TypeFunction 4 5: TypeFunction 4
7: TypeInt 32 0 7: TypeInt 32 0
@ -158,291 +158,311 @@ spv.debuginfo.glsl.tese
32: TypeVector 29(float) 2 32: TypeVector 29(float) 2
33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 24 33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 24
34: TypePointer Function 32(fvec2) 34: TypePointer Function 32(fvec2)
36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 37 33 18 28 12 17 23 35: 7(int) Constant 7
39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) 36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 33 35 12
40: TypeArray 32(fvec2) 10 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 39 33 18 28 12 17 23
41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 33 10 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
42: TypePointer Input 40 42: TypeArray 32(fvec2) 10
43(inUV): 42(ptr) Variable Input 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 33 10
46: 7(int) Constant 8 44: TypePointer Input 42
44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 45 41 18 28 12 21 45 43(inUV) 46 45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 43 22 12
47: TypeInt 32 1 46(inUV): 44(ptr) Variable Input
49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 48 10 23 12 49: 7(int) Constant 8
50: 47(int) Constant 0 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 48 43 18 28 12 21 48 46(inUV) 49
51: TypePointer Input 32(fvec2) 50: TypeInt 32 1
54: 47(int) Constant 1 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 51 10 23 12
57: TypeVector 29(float) 3 53: 50(int) Constant 0
58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 13 54: TypePointer Input 32(fvec2)
59: TypePointer Input 57(fvec3) 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 33 22 12
60(gl_TessCoord): 59(ptr) Variable Input 58: 50(int) Constant 1
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 62 58 18 28 12 21 62 60(gl_TessCoord) 46 61: TypeVector 29(float) 3
63: TypePointer Input 29(float) 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 13
69: 7(int) Constant 57 63: TypePointer Input 61(fvec3)
71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 72 33 18 69 12 17 23 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 62 22 12
74: 47(int) Constant 3 65(gl_TessCoord): 63(ptr) Variable Input
77: 47(int) Constant 2 66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 67 62 18 28 12 21 67 65(gl_TessCoord) 49
85: 7(int) Constant 58 68: TypePointer Input 29(float)
86: TypePointer Output 32(fvec2) 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 22 12
87(outUV): 86(ptr) Variable Output 75: 7(int) Constant 57
88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 89 33 18 85 12 21 89 87(outUV) 46 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 78 33 18 75 12 17 23
97: 7(int) Constant 60 80: 50(int) Constant 3
98: TypePointer Function 57(fvec3) 83: 50(int) Constant 2
100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 101 58 18 97 12 17 23 91: 7(int) Constant 58
103: TypeArray 57(fvec3) 10 92: TypePointer Output 32(fvec2)
104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 58 10 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 33 13 12
105: TypePointer Input 103 94(outUV): 92(ptr) Variable Output
106(inNormal): 105(ptr) Variable Input 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 96 33 18 91 12 21 96 94(outUV) 49
107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 108 104 18 97 12 21 108 106(inNormal) 46 104: 7(int) Constant 60
118: 7(int) Constant 61 105: TypePointer Function 61(fvec3)
120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 121 58 18 118 12 17 23 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 62 35 12
132: 7(int) Constant 62 108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 109 62 18 104 12 17 23
133: TypePointer Output 57(fvec3) 111: TypeArray 61(fvec3) 10
134(outNormal): 133(ptr) Variable Output 112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 62 10
135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 136 58 18 132 12 21 136 134(outNormal) 46 113: TypePointer Input 111
144: 7(int) Constant 65 114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 112 22 12
145: TypeVector 29(float) 4 115(inNormal): 113(ptr) Variable Input
146: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 23 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 117 112 18 104 12 21 117 115(inNormal) 49
147: TypePointer Function 145(fvec4) 127: 7(int) Constant 61
149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 150 146 18 144 12 17 23 129: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 130 62 18 127 12 17 23
152: TypeArray 29(float) 22 141: 7(int) Constant 62
153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22 142: TypePointer Output 61(fvec3)
154(gl_PerVertex): TypeStruct 145(fvec4) 29(float) 152 152 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 62 13 12
157: 7(int) Constant 1756 144(outNormal): 142(ptr) Variable Output
155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 146 18 22 157 12 12 13 145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 146 62 18 141 12 21 146 144(outNormal) 49
160: 7(int) Constant 1774 154: 7(int) Constant 65
158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 31 18 22 160 12 12 13 155: TypeVector 29(float) 4
163: 7(int) Constant 1817 156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 31 23
161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 163 12 12 13 157: TypePointer Function 155(fvec4)
164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 163 12 12 13 158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 156 35 12
165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 22 18 144 12 21 166 12 13 155 158 161 164 160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 161 156 18 154 12 17 23
167: TypeArray 154(gl_PerVertex) 10 163: TypeArray 29(float) 22
168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 165 10 164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 31 22
169: TypePointer Input 167 165(gl_PerVertex): TypeStruct 155(fvec4) 29(float) 163 163
170(gl_in): 169(ptr) Variable Input 168: 7(int) Constant 1756
171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 172 168 18 144 12 21 172 170(gl_in) 46 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 167 156 18 22 168 12 12 13
173: TypePointer Input 145(fvec4) 171: 7(int) Constant 1774
183: 7(int) Constant 66 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 170 31 18 22 171 12 12 13
185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 186 146 18 183 12 17 23 174: 7(int) Constant 1817
197: 7(int) Constant 67 172: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 173 164 18 22 174 12 12 13
199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 200 146 18 197 12 17 23 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 173 164 18 22 174 12 12 13
209: 7(int) Constant 69 176: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 177 22 18 154 12 21 177 12 13 166 169 172 175
210: TypeImage 29(float) 2D sampled format:Unknown 178: TypeArray 165(gl_PerVertex) 10
214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone) 179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 176 10
211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 212 12 18 209 12 21 213 214 13 180: TypePointer Input 178
215: TypeSampledImage 210 181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 179 22 12
216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 217 12 18 209 12 21 218 214 13 182(gl_in): 180(ptr) Variable Input
219: TypePointer UniformConstant 215 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 184 179 18 154 12 21 184 182(gl_in) 49
220(displacementMap): 219(ptr) Variable UniformConstant 185: TypePointer Input 155(fvec4)
221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 222 216 18 209 12 21 222 220(displacementMap) 46 186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 156 22 12
225: 29(float) Constant 0 196: 7(int) Constant 66
228: TypeMatrix 145(fvec4) 4 198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 199 156 18 196 12 17 23
230: TypeBool 210: 7(int) Constant 67
232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 231 10 24 12 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 213 156 18 210 12 17 23
233: 230(bool) ConstantTrue 222: 7(int) Constant 69
229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 146 23 233 223: TypeImage 29(float) 2D sampled format:Unknown
234: TypeArray 145(fvec4) 11 227: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 146 11 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 225 12 18 222 12 21 226 227 13
236(UBO): TypeStruct 228 228 145(fvec4) 234 29(float) 29(float) 32(fvec2) 29(float) 228: TypeSampledImage 223
239: 7(int) Constant 30 229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 230 12 18 222 12 21 231 227 13
240: 7(int) Constant 7 232: TypePointer UniformConstant 228
237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 229 18 239 240 12 12 13 233: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 229 12 12
241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 238 229 18 239 240 12 12 13 234(displacementMap): 232(ptr) Variable UniformConstant
244: 7(int) Constant 31 235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 236 229 18 222 12 21 236 234(displacementMap) 49
242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 243 146 18 244 240 12 12 13 239: 29(float) Constant 0
245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 246 235 18 10 240 12 12 13 242: TypeMatrix 155(fvec4) 4
249: 7(int) Constant 36 244: TypeBool
247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 31 18 249 46 12 12 13 246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 245 10 24 12
250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 31 18 249 46 12 12 13 247: 244(bool) ConstantTrue
253: 7(int) Constant 35 243: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 156 23 247
251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 252 33 18 253 240 12 12 13 248: TypeArray 155(fvec4) 11
254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 248 31 18 249 46 12 12 13 249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 156 11
255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 256 22 18 209 12 21 256 12 13 237 241 242 245 247 250 251 254 250(UBO): TypeStruct 242 242 155(fvec4) 248 29(float) 29(float) 32(fvec2) 29(float)
257: TypePointer Uniform 236(UBO) 253: 7(int) Constant 30
258(ubo): 257(ptr) Variable Uniform 251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 252 243 18 253 35 12 12 13
259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 260 255 18 209 12 21 260 258(ubo) 46 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 252 243 18 253 35 12 12 13
261: 47(int) Constant 4 257: 7(int) Constant 31
262: TypePointer Uniform 29(float) 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 256 156 18 257 35 12 12 13
266: TypePointer Function 29(float) 258: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 259 249 18 10 35 12 12 13
272: 7(int) Constant 71 262: 7(int) Constant 36
273(gl_PerVertex): TypeStruct 145(fvec4) 29(float) 152 152 260: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 261 31 18 262 49 12 12 13
275: 7(int) Constant 165 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 261 31 18 262 49 12 12 13
274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 146 18 22 275 12 12 13 266: 7(int) Constant 35
277: 7(int) Constant 183 264: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 265 33 18 266 35 12 12 13
276: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 159 31 18 22 277 12 12 13 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 261 31 18 262 49 12 12 13
279: 7(int) Constant 226 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 269 22 18 222 12 21 269 12 13 251 254 255 258 260 263 264 267
278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 279 12 12 13 270: TypePointer Uniform 250(UBO)
280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 162 153 18 22 279 12 12 13 271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 268 24 12
281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 166 22 18 272 12 21 166 12 13 274 276 278 280 272(ubo): 270(ptr) Variable Uniform
282: TypePointer Output 273(gl_PerVertex) 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 274 268 18 222 12 21 274 272(ubo) 49
283: 282(ptr) Variable Output 275: 50(int) Constant 4
284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 281 18 272 12 21 1 283 46 276: TypePointer Uniform 29(float)
285: TypePointer Uniform 228 277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 24 12
293: TypePointer Output 145(fvec4) 281: TypePointer Function 29(float)
296: 7(int) Constant 74 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 31 35 12
297(outViewVec): 133(ptr) Variable Output 288: 7(int) Constant 71
298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 299 58 18 296 12 21 299 297(outViewVec) 46 289(gl_PerVertex): TypeStruct 155(fvec4) 29(float) 163 163
304: 7(int) Constant 75 291: 7(int) Constant 165
305(outLightVec): 133(ptr) Variable Output 290: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 167 156 18 22 291 12 12 13
306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 307 58 18 304 12 21 307 305(outLightVec) 46 293: 7(int) Constant 183
308: TypePointer Uniform 145(fvec4) 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 170 31 18 22 293 12 12 13
316: 7(int) Constant 76 295: 7(int) Constant 226
317(outWorldPos): 133(ptr) Variable Output 294: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 173 164 18 22 295 12 12 13
318: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 319 58 18 316 12 21 319 317(outWorldPos) 46 296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 173 164 18 22 295 12 12 13
323: 7(int) Constant 77 297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 177 22 18 288 12 21 177 12 13 290 292 294 296
324(outEyePos): 133(ptr) Variable Output 298: TypePointer Output 289(gl_PerVertex)
325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 326 58 18 323 12 21 326 324(outEyePos) 46 299: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 297 13 12
300: 298(ptr) Variable Output
301: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 297 18 288 12 21 1 300 49
302: TypePointer Uniform 242
303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 243 24 12
311: TypePointer Output 155(fvec4)
312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 156 13 12
315: 7(int) Constant 74
316(outViewVec): 142(ptr) Variable Output
317: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 318 62 18 315 12 21 318 316(outViewVec) 49
323: 7(int) Constant 75
324(outLightVec): 142(ptr) Variable Output
325: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 326 62 18 323 12 21 326 324(outLightVec) 49
327: TypePointer Uniform 155(fvec4)
328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 156 24 12
336: 7(int) Constant 76
337(outWorldPos): 142(ptr) Variable Output
338: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 339 62 18 336 12 21 339 337(outWorldPos) 49
343: 7(int) Constant 77
344(outEyePos): 142(ptr) Variable Output
345: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 346 62 18 343 12 21 346 344(outEyePos) 49
Line 1 53 11 Line 1 53 11
14(main): 4 Function None 5 14(main): 4 Function None 5
15: Label 15: Label
35(uv1): 34(ptr) Variable Function 37(uv1): 34(ptr) Variable Function
70(uv2): 34(ptr) Variable Function 76(uv2): 34(ptr) Variable Function
99(n1): 98(ptr) Variable Function 107(n1): 105(ptr) Variable Function
119(n2): 98(ptr) Variable Function 128(n2): 105(ptr) Variable Function
148(pos1): 147(ptr) Variable Function 159(pos1): 157(ptr) Variable Function
184(pos2): 147(ptr) Variable Function 197(pos2): 157(ptr) Variable Function
198(pos): 147(ptr) Variable Function 211(pos): 157(ptr) Variable Function
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main) 25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main)
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17 26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12 27: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 36 35(uv1) 39 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 38 37(uv1) 41
52: 51(ptr) AccessChain 43(inUV) 50 56: 54(ptr) AccessChain 46(inUV) 53
53: 32(fvec2) Load 52 57: 32(fvec2) Load 56
55: 51(ptr) AccessChain 43(inUV) 54 59: 54(ptr) AccessChain 46(inUV) 58
56: 32(fvec2) Load 55 60: 32(fvec2) Load 59
64: 63(ptr) AccessChain 60(gl_TessCoord) 12 70: 68(ptr) AccessChain 65(gl_TessCoord) 12
65: 29(float) Load 64 71: 29(float) Load 70
66: 32(fvec2) CompositeConstruct 65 65 72: 32(fvec2) CompositeConstruct 71 71
67: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 53 56 66 73: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 57 60 72
Store 35(uv1) 67 Store 37(uv1) 73
68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 69 69 12 12 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 75 75 12 12
73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 71 70(uv2) 39 79: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 77 76(uv2) 41
75: 51(ptr) AccessChain 43(inUV) 74 81: 54(ptr) AccessChain 46(inUV) 80
76: 32(fvec2) Load 75 82: 32(fvec2) Load 81
78: 51(ptr) AccessChain 43(inUV) 77 84: 54(ptr) AccessChain 46(inUV) 83
79: 32(fvec2) Load 78 85: 32(fvec2) Load 84
80: 63(ptr) AccessChain 60(gl_TessCoord) 12 86: 68(ptr) AccessChain 65(gl_TessCoord) 12
81: 29(float) Load 80 87: 29(float) Load 86
82: 32(fvec2) CompositeConstruct 81 81 88: 32(fvec2) CompositeConstruct 87 87
83: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 76 79 82 89: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 82 85 88
Store 70(uv2) 83 Store 76(uv2) 89
84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 85 85 12 12 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 91 91 12 12
90: 32(fvec2) Load 35(uv1) 97: 32(fvec2) Load 37(uv1)
91: 32(fvec2) Load 70(uv2) 98: 32(fvec2) Load 76(uv2)
92: 63(ptr) AccessChain 60(gl_TessCoord) 22 99: 68(ptr) AccessChain 65(gl_TessCoord) 22
93: 29(float) Load 92 100: 29(float) Load 99
94: 32(fvec2) CompositeConstruct 93 93 101: 32(fvec2) CompositeConstruct 100 100
95: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 90 91 94 102: 32(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 97 98 101
Store 87(outUV) 95 Store 94(outUV) 102
96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 97 97 12 12 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 104 104 12 12
102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 100 99(n1) 39 110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 108 107(n1) 41
109: 59(ptr) AccessChain 106(inNormal) 50 118: 63(ptr) AccessChain 115(inNormal) 53
110: 57(fvec3) Load 109 119: 61(fvec3) Load 118
111: 59(ptr) AccessChain 106(inNormal) 54 120: 63(ptr) AccessChain 115(inNormal) 58
112: 57(fvec3) Load 111 121: 61(fvec3) Load 120
113: 63(ptr) AccessChain 60(gl_TessCoord) 12 122: 68(ptr) AccessChain 65(gl_TessCoord) 12
114: 29(float) Load 113 123: 29(float) Load 122
115: 57(fvec3) CompositeConstruct 114 114 114 124: 61(fvec3) CompositeConstruct 123 123 123
116: 57(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 110 112 115 125: 61(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 119 121 124
Store 99(n1) 116 Store 107(n1) 125
117: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 118 118 12 12 126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 127 127 12 12
122: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 120 119(n2) 39 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 129 128(n2) 41
123: 59(ptr) AccessChain 106(inNormal) 74 132: 63(ptr) AccessChain 115(inNormal) 80
124: 57(fvec3) Load 123 133: 61(fvec3) Load 132
125: 59(ptr) AccessChain 106(inNormal) 77 134: 63(ptr) AccessChain 115(inNormal) 83
126: 57(fvec3) Load 125 135: 61(fvec3) Load 134
127: 63(ptr) AccessChain 60(gl_TessCoord) 12 136: 68(ptr) AccessChain 65(gl_TessCoord) 12
128: 29(float) Load 127 137: 29(float) Load 136
129: 57(fvec3) CompositeConstruct 128 128 128 138: 61(fvec3) CompositeConstruct 137 137 137
130: 57(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 124 126 129 139: 61(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 133 135 138
Store 119(n2) 130 Store 128(n2) 139
131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 132 132 12 12 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 141 141 12 12
137: 57(fvec3) Load 99(n1) 147: 61(fvec3) Load 107(n1)
138: 57(fvec3) Load 119(n2) 148: 61(fvec3) Load 128(n2)
139: 63(ptr) AccessChain 60(gl_TessCoord) 22 149: 68(ptr) AccessChain 65(gl_TessCoord) 22
140: 29(float) Load 139 150: 29(float) Load 149
141: 57(fvec3) CompositeConstruct 140 140 140 151: 61(fvec3) CompositeConstruct 150 150 150
142: 57(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 137 138 141 152: 61(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 147 148 151
Store 134(outNormal) 142 Store 144(outNormal) 152
143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 144 144 12 12 153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 154 154 12 12
151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 149 148(pos1) 39 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 160 159(pos1) 41
174: 173(ptr) AccessChain 170(gl_in) 50 50 187: 185(ptr) AccessChain 182(gl_in) 53 53
175: 145(fvec4) Load 174 188: 155(fvec4) Load 187
176: 173(ptr) AccessChain 170(gl_in) 54 50 189: 185(ptr) AccessChain 182(gl_in) 58 53
177: 145(fvec4) Load 176 190: 155(fvec4) Load 189
178: 63(ptr) AccessChain 60(gl_TessCoord) 12 191: 68(ptr) AccessChain 65(gl_TessCoord) 12
179: 29(float) Load 178 192: 29(float) Load 191
180: 145(fvec4) CompositeConstruct 179 179 179 179 193: 155(fvec4) CompositeConstruct 192 192 192 192
181: 145(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 175 177 180 194: 155(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 188 190 193
Store 148(pos1) 181 Store 159(pos1) 194
182: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 183 183 12 12 195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 196 196 12 12
187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 185 184(pos2) 39 200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 198 197(pos2) 41
188: 173(ptr) AccessChain 170(gl_in) 74 50 201: 185(ptr) AccessChain 182(gl_in) 80 53
189: 145(fvec4) Load 188 202: 155(fvec4) Load 201
190: 173(ptr) AccessChain 170(gl_in) 77 50 203: 185(ptr) AccessChain 182(gl_in) 83 53
191: 145(fvec4) Load 190 204: 155(fvec4) Load 203
192: 63(ptr) AccessChain 60(gl_TessCoord) 12 205: 68(ptr) AccessChain 65(gl_TessCoord) 12
193: 29(float) Load 192 206: 29(float) Load 205
194: 145(fvec4) CompositeConstruct 193 193 193 193 207: 155(fvec4) CompositeConstruct 206 206 206 206
195: 145(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 189 191 194 208: 155(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 202 204 207
Store 184(pos2) 195 Store 197(pos2) 208
196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 197 197 12 12 209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 210 210 12 12
201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 199 198(pos) 39 214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 212 211(pos) 41
202: 145(fvec4) Load 148(pos1) 215: 155(fvec4) Load 159(pos1)
203: 145(fvec4) Load 184(pos2) 216: 155(fvec4) Load 197(pos2)
204: 63(ptr) AccessChain 60(gl_TessCoord) 22 217: 68(ptr) AccessChain 65(gl_TessCoord) 22
205: 29(float) Load 204 218: 29(float) Load 217
206: 145(fvec4) CompositeConstruct 205 205 205 205 219: 155(fvec4) CompositeConstruct 218 218 218 218
207: 145(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 202 203 206 220: 155(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 215 216 219
Store 198(pos) 207 Store 211(pos) 220
208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 209 209 12 12 221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 222 222 12 12
223: 215 Load 220(displacementMap) 237: 228 Load 234(displacementMap)
224: 32(fvec2) Load 87(outUV) 238: 32(fvec2) Load 94(outUV)
226: 145(fvec4) ImageSampleExplicitLod 223 224 Lod 225 240: 155(fvec4) ImageSampleExplicitLod 237 238 Lod 239
227: 29(float) CompositeExtract 226 0 241: 29(float) CompositeExtract 240 0
263: 262(ptr) AccessChain 258(ubo) 261 278: 276(ptr) AccessChain 272(ubo) 275
264: 29(float) Load 263 279: 29(float) Load 278
265: 29(float) FMul 227 264 280: 29(float) FMul 241 279
267: 266(ptr) AccessChain 198(pos) 22 283: 281(ptr) AccessChain 211(pos) 22
268: 29(float) Load 267 284: 29(float) Load 283
269: 29(float) FSub 268 265 285: 29(float) FSub 284 280
270: 266(ptr) AccessChain 198(pos) 22 286: 281(ptr) AccessChain 211(pos) 22
Store 270 269 Store 286 285
271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 272 272 12 12 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 288 288 12 12
286: 285(ptr) AccessChain 258(ubo) 50 304: 302(ptr) AccessChain 272(ubo) 53
287: 228 Load 286 305: 242 Load 304
288: 285(ptr) AccessChain 258(ubo) 54 306: 302(ptr) AccessChain 272(ubo) 58
289: 228 Load 288 307: 242 Load 306
290: 228 MatrixTimesMatrix 287 289 308: 242 MatrixTimesMatrix 305 307
291: 145(fvec4) Load 198(pos) 309: 155(fvec4) Load 211(pos)
292: 145(fvec4) MatrixTimesVector 290 291 310: 155(fvec4) MatrixTimesVector 308 309
294: 293(ptr) AccessChain 283 50 313: 311(ptr) AccessChain 300 53
Store 294 292 Store 313 310
295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 296 296 12 12 314: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 315 315 12 12
300: 145(fvec4) Load 198(pos) 319: 155(fvec4) Load 211(pos)
301: 57(fvec3) VectorShuffle 300 300 0 1 2 320: 61(fvec3) VectorShuffle 319 319 0 1 2
302: 57(fvec3) FNegate 301 321: 61(fvec3) FNegate 320
Store 297(outViewVec) 302 Store 316(outViewVec) 321
303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 304 304 12 12
309: 308(ptr) AccessChain 258(ubo) 77
310: 145(fvec4) Load 309
311: 57(fvec3) VectorShuffle 310 310 0 1 2
312: 57(fvec3) Load 297(outViewVec)
313: 57(fvec3) FAdd 311 312
314: 57(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 313
Store 305(outLightVec) 314
315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 316 316 12 12
320: 145(fvec4) Load 198(pos)
321: 57(fvec3) VectorShuffle 320 320 0 1 2
Store 317(outWorldPos) 321
322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 323 323 12 12 322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 323 323 12 12
327: 285(ptr) AccessChain 258(ubo) 54 329: 327(ptr) AccessChain 272(ubo) 83
328: 228 Load 327 330: 155(fvec4) Load 329
329: 145(fvec4) Load 198(pos) 331: 61(fvec3) VectorShuffle 330 330 0 1 2
330: 145(fvec4) MatrixTimesVector 328 329 332: 61(fvec3) Load 316(outViewVec)
331: 29(float) CompositeExtract 330 0 333: 61(fvec3) FAdd 331 332
332: 29(float) CompositeExtract 330 1 334: 61(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 333
333: 29(float) CompositeExtract 330 2 Store 324(outLightVec) 334
334: 57(fvec3) CompositeConstruct 331 332 333 335: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 336 336 12 12
Store 324(outEyePos) 334 340: 155(fvec4) Load 211(pos)
341: 61(fvec3) VectorShuffle 340 340 0 1 2
Store 337(outWorldPos) 341
342: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 343 343 12 12
347: 302(ptr) AccessChain 272(ubo) 58
348: 242 Load 347
349: 155(fvec4) Load 211(pos)
350: 155(fvec4) MatrixTimesVector 348 349
351: 29(float) CompositeExtract 350 0
352: 29(float) CompositeExtract 350 1
353: 29(float) CompositeExtract 350 2
354: 61(fvec3) CompositeConstruct 351 352 353
Store 344(outEyePos) 354
Return Return
FunctionEnd FunctionEnd

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -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 354 // Id's are bound by 367
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" 256 262 267 273 278 283 288 303 310 315 339 342 EntryPoint Geometry 6 "main" 267 274 279 286 291 296 301 316 323 328 352 355
ExecutionMode 6 Triangles ExecutionMode 6 Triangles
ExecutionMode 6 Invocations 2 ExecutionMode 6 Invocations 2
ExecutionMode 6 OutputTriangleStrip ExecutionMode 6 OutputTriangleStrip
@ -29,107 +29,107 @@ spv.debuginfo.hlsl.geom
" "
31: String "Color" 31: String "Color"
36: String "VSOutput" 36: String "VSOutput"
47: String "PrimitiveID" 49: String "PrimitiveID"
52: String "LightVec" 54: String "LightVec"
58: String "GSOutput" 60: String "GSOutput"
69: String "@main" 73: String "@main"
75: String "input" 79: String "input"
79: String "outStream" 83: String "outStream"
83: String "InvocationID" 87: String "InvocationID"
92: String "int" 96: String "int"
97: String "i" 102: String "i"
112: String "bool" 117: String "bool"
120: String "output" 125: String "output"
142: String "projection" 148: String "projection"
146: String "modelview" 152: String "modelview"
150: String "lightPos" 156: String "lightPos"
154: String "UBO" 160: String "UBO"
157: String "ubo" 163: String "ubo"
192: String "pos" 201: String "pos"
201: String "worldPos" 210: String "worldPos"
212: String "lPos" 221: String "lPos"
258: String "outStream.Pos" 269: String "outStream.Pos"
264: String "outStream.ViewportIndex" 276: String "outStream.ViewportIndex"
269: String "outStream.PrimitiveID" 281: String "outStream.PrimitiveID"
275: String "outStream.Normal" 288: String "outStream.Normal"
280: String "outStream.Color" 293: String "outStream.Color"
285: String "outStream.ViewVec" 298: String "outStream.ViewVec"
290: String "outStream.LightVec" 303: 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"
MemberName 23(VSOutput) 1 "Normal" MemberName 23(VSOutput) 1 "Normal"
MemberName 23(VSOutput) 2 "Color" MemberName 23(VSOutput) 2 "Color"
Name 43 "GSOutput" Name 45 "GSOutput"
MemberName 43(GSOutput) 0 "Pos" MemberName 45(GSOutput) 0 "Pos"
MemberName 43(GSOutput) 1 "ViewportIndex" MemberName 45(GSOutput) 1 "ViewportIndex"
MemberName 43(GSOutput) 2 "PrimitiveID" MemberName 45(GSOutput) 2 "PrimitiveID"
MemberName 43(GSOutput) 3 "Normal" MemberName 45(GSOutput) 3 "Normal"
MemberName 43(GSOutput) 4 "Color" MemberName 45(GSOutput) 4 "Color"
MemberName 43(GSOutput) 5 "ViewVec" MemberName 45(GSOutput) 5 "ViewVec"
MemberName 43(GSOutput) 6 "LightVec" MemberName 45(GSOutput) 6 "LightVec"
Name 67 "@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;" Name 71 "@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;"
Name 63 "input" Name 67 "input"
Name 64 "outStream" Name 68 "outStream"
Name 65 "InvocationID" Name 69 "InvocationID"
Name 66 "PrimitiveID" Name 70 "PrimitiveID"
Name 95 "i" Name 100 "i"
Name 118 "output" Name 123 "output"
Name 140 "UBO" Name 146 "UBO"
MemberName 140(UBO) 0 "projection" MemberName 146(UBO) 0 "projection"
MemberName 140(UBO) 1 "modelview" MemberName 146(UBO) 1 "modelview"
MemberName 140(UBO) 2 "lightPos" MemberName 146(UBO) 2 "lightPos"
Name 155 "ubo" Name 161 "ubo"
MemberName 155(ubo) 0 "ubo" MemberName 161(ubo) 0 "ubo"
Name 161 "" Name 168 ""
Name 190 "pos" Name 199 "pos"
Name 199 "worldPos" Name 208 "worldPos"
Name 210 "lPos" Name 219 "lPos"
Name 256 "outStream.Pos" Name 267 "outStream.Pos"
Name 262 "outStream.ViewportIndex" Name 274 "outStream.ViewportIndex"
Name 267 "outStream.PrimitiveID" Name 279 "outStream.PrimitiveID"
Name 273 "outStream.Normal" Name 286 "outStream.Normal"
Name 278 "outStream.Color" Name 291 "outStream.Color"
Name 283 "outStream.ViewVec" Name 296 "outStream.ViewVec"
Name 288 "outStream.LightVec" Name 301 "outStream.LightVec"
Name 300 "input" Name 313 "input"
Name 303 "input.Pos" Name 316 "input.Pos"
Name 310 "input.Normal" Name 323 "input.Normal"
Name 315 "input.Color" Name 328 "input.Color"
Name 337 "InvocationID" Name 350 "InvocationID"
Name 339 "InvocationID" Name 352 "InvocationID"
Name 341 "PrimitiveID" Name 354 "PrimitiveID"
Name 342 "PrimitiveID" Name 355 "PrimitiveID"
Name 344 "outStream" Name 357 "outStream"
Name 345 "param" Name 358 "param"
Name 347 "param" Name 360 "param"
Name 348 "param" Name 361 "param"
Name 350 "param" Name 363 "param"
Decorate 136 ArrayStride 64 Decorate 142 ArrayStride 64
Decorate 138 ArrayStride 64 Decorate 144 ArrayStride 64
MemberDecorate 140(UBO) 0 RowMajor MemberDecorate 146(UBO) 0 RowMajor
MemberDecorate 140(UBO) 0 Offset 0 MemberDecorate 146(UBO) 0 Offset 0
MemberDecorate 140(UBO) 0 MatrixStride 16 MemberDecorate 146(UBO) 0 MatrixStride 16
MemberDecorate 140(UBO) 1 RowMajor MemberDecorate 146(UBO) 1 RowMajor
MemberDecorate 140(UBO) 1 Offset 128 MemberDecorate 146(UBO) 1 Offset 128
MemberDecorate 140(UBO) 1 MatrixStride 16 MemberDecorate 146(UBO) 1 MatrixStride 16
MemberDecorate 140(UBO) 2 Offset 256 MemberDecorate 146(UBO) 2 Offset 256
MemberDecorate 155(ubo) 0 Offset 0 MemberDecorate 161(ubo) 0 Offset 0
Decorate 155(ubo) Block Decorate 161(ubo) Block
Decorate 161 DescriptorSet 0 Decorate 168 DescriptorSet 0
Decorate 161 Binding 0 Decorate 168 Binding 0
Decorate 256(outStream.Pos) BuiltIn Position Decorate 267(outStream.Pos) BuiltIn Position
Decorate 262(outStream.ViewportIndex) BuiltIn ViewportIndex Decorate 274(outStream.ViewportIndex) BuiltIn ViewportIndex
Decorate 267(outStream.PrimitiveID) BuiltIn PrimitiveId Decorate 279(outStream.PrimitiveID) BuiltIn PrimitiveId
Decorate 273(outStream.Normal) Location 0 Decorate 286(outStream.Normal) Location 0
Decorate 278(outStream.Color) Location 1 Decorate 291(outStream.Color) Location 1
Decorate 283(outStream.ViewVec) Location 2 Decorate 296(outStream.ViewVec) Location 2
Decorate 288(outStream.LightVec) Location 3 Decorate 301(outStream.LightVec) Location 3
Decorate 303(input.Pos) BuiltIn Position Decorate 316(input.Pos) BuiltIn Position
Decorate 310(input.Normal) Location 0 Decorate 323(input.Normal) Location 0
Decorate 315(input.Color) Location 1 Decorate 328(input.Color) Location 1
Decorate 339(InvocationID) BuiltIn InvocationId Decorate 352(InvocationID) BuiltIn InvocationId
Decorate 342(PrimitiveID) BuiltIn PrimitiveId Decorate 355(PrimitiveID) BuiltIn PrimitiveId
4: TypeVoid 4: TypeVoid
5: TypeFunction 4 5: TypeFunction 4
8: TypeFloat 32 8: TypeFloat 32
@ -161,340 +161,353 @@ spv.debuginfo.hlsl.geom
40: TypeArray 23(VSOutput) 17 40: TypeArray 23(VSOutput) 17
41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 35 17 41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 35 17
42: TypePointer Function 40 42: TypePointer Function 40
43(GSOutput): TypeStruct 18(fvec4) 11(int) 11(int) 21(fvec3) 21(fvec3) 21(fvec3) 21(fvec3) 43: 11(int) Constant 7
45: 11(int) Constant 44 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 41 43 16
44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 25 20 26 45 29 16 16 17 45(GSOutput): TypeStruct 18(fvec4) 11(int) 11(int) 21(fvec3) 21(fvec3) 21(fvec3) 21(fvec3)
48: 11(int) Constant 46 47: 11(int) Constant 44
49: 11(int) Constant 19 46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 25 20 26 47 29 16 16 17
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 47 13 26 48 49 16 16 17 50: 11(int) Constant 46
50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 47 13 26 48 49 16 16 17 51: 11(int) Constant 19
53: 11(int) Constant 50 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 13 26 50 51 16 16 17
51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 22 26 53 28 16 16 17 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 49 13 26 50 51 16 16 17
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 22 26 53 28 16 16 17 55: 11(int) Constant 50
55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 22 26 53 28 16 16 17 53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 22 26 53 28 16 16 17 56: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 58 37 26 16 16 38 58 16 17 44 46 50 51 54 55 56 57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
59: TypePointer Function 43(GSOutput) 58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 54 22 26 55 28 16 16 17
60: TypePointer Function 11(int) 59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 60 37 26 16 16 38 60 16 17 46 48 52 53 56 57 58
61: TypeFunction 4 42(ptr) 59(ptr) 60(ptr) 60(ptr) 61: TypePointer Function 45(GSOutput)
62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 41 57 13 13 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 59 43 16
71: 11(int) Constant 56 63: TypePointer Function 11(int)
70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 69 62 26 71 16 38 69 17 71 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 43 16
74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 75 41 26 71 16 70 19 37 65: TypeFunction 4 42(ptr) 61(ptr) 63(ptr) 63(ptr)
77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) 66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 41 59 13 13
80: 11(int) Constant 2 75: 11(int) Constant 56
78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 79 57 26 71 16 70 19 80 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 73 66 26 75 16 38 73 17 75
82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 13 26 71 16 70 19 17 78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 79 41 26 75 16 74 19 37
85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 47 13 26 71 16 70 19 19 81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
90: 11(int) Constant 57 84: 11(int) Constant 2
91: TypeInt 32 1 82: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 83 59 26 75 16 74 19 84
93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 92 14 19 16 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 87 13 26 75 16 74 19 17
94: TypePointer Function 91(int) 89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 13 26 75 16 74 19 19
96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 97 93 26 90 16 70 19 94: 11(int) Constant 57
99: 91(int) Constant 0 95: TypeInt 32 1
110: 91(int) Constant 3 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 96 14 19 16
111: TypeBool 98: TypePointer Function 95(int)
113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 112 14 80 16 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 97 43 16
117: 11(int) Constant 59 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 102 97 26 94 16 74 19
119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 120 57 26 117 16 70 19 104: 95(int) Constant 0
122: 8(float) Constant 0 115: 95(int) Constant 3
123: 18(fvec4) ConstantComposite 122 122 122 122 116: TypeBool
124: 21(fvec3) ConstantComposite 122 122 122 118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 117 14 84 16
125:43(GSOutput) ConstantComposite 123 16 16 124 124 124 124 122: 11(int) Constant 59
127: 11(int) Constant 60 124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 125 59 26 122 16 74 19
129: 91(int) Constant 1 127: 8(float) Constant 0
130: TypePointer Function 21(fvec3) 128: 18(fvec4) ConstantComposite 127 127 127 127
133: TypeMatrix 18(fvec4) 4 129: 21(fvec3) ConstantComposite 127 127 127
135: 111(bool) ConstantTrue 130:45(GSOutput) ConstantComposite 128 16 16 129 129 129 129
134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 135 132: 11(int) Constant 60
136: TypeArray 133 80 134: 95(int) Constant 1
137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 134 80 135: TypePointer Function 21(fvec3)
138: TypeArray 133 80 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 43 16
139: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 134 80 139: TypeMatrix 18(fvec4) 4
140(UBO): TypeStruct 136 138 18(fvec4) 141: 116(bool) ConstantTrue
143: 11(int) Constant 28 140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 141
144: 11(int) Constant 21 142: TypeArray 139 84
141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 142 137 26 143 144 16 16 17 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 140 84
147: 11(int) Constant 29 144: TypeArray 139 84
148: 11(int) Constant 20 145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 140 84
145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 139 26 147 148 16 16 17 146(UBO): TypeStruct 142 144 18(fvec4)
151: 11(int) Constant 30 149: 11(int) Constant 28
152: 11(int) Constant 17 150: 11(int) Constant 21
149: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 150 20 26 151 152 16 16 17 147: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 148 143 26 149 150 16 16 17
153: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 154 37 26 127 16 38 154 16 17 141 145 149 153: 11(int) Constant 29
155(ubo): TypeStruct 140(UBO) 154: 11(int) Constant 20
158: 11(int) Constant 33 151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 152 145 26 153 154 16 16 17
156: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 157 153 26 158 28 16 16 17 157: 11(int) Constant 30
159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 157 37 26 127 16 38 157 16 17 156 158: 11(int) Constant 17
160: TypePointer Uniform 155(ubo) 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 20 26 157 158 16 16 17
161: 160(ptr) Variable Uniform 159: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 160 37 26 132 16 38 160 16 17 147 151 155
163: 11(int) Constant 8 161(ubo): TypeStruct 146(UBO)
162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 159 26 127 16 38 1 161 163 164: 11(int) Constant 33
165: TypePointer Uniform 133 162: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 163 159 26 164 28 16 16 17
168: TypeMatrix 21(fvec3) 3 165: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 163 37 26 132 16 38 163 16 17 162
169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 22 17 135 166: TypePointer Uniform 161(ubo)
180: 11(int) Constant 61 167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 165 84 16
181: 91(int) Constant 4 168: 166(ptr) Variable Uniform
183: 91(int) Constant 2 170: 11(int) Constant 8
188: 11(int) Constant 63 169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 165 26 132 16 38 1 168 170
189: TypePointer Function 18(fvec4) 172: TypePointer Uniform 139
191: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 192 20 26 188 16 70 19 173: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 140 84 16
198: 11(int) Constant 64 176: TypeMatrix 21(fvec3) 3
200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 201 20 26 198 16 70 19 177: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 22 17 141
209: 11(int) Constant 66 188: 11(int) Constant 61
211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 212 22 26 209 16 70 19 189: 95(int) Constant 4
214: TypePointer Uniform 18(fvec4) 191: 95(int) Constant 2
223: 11(int) Constant 67 196: 11(int) Constant 63
224: 91(int) Constant 6 197: TypePointer Function 18(fvec4)
231: 11(int) Constant 68 198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 43 16
232: 91(int) Constant 5 200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 201 20 26 196 16 74 19
238: 11(int) Constant 70 207: 11(int) Constant 64
246: 11(int) Constant 73 209: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 210 20 26 207 16 74 19
250: 11(int) Constant 74 218: 11(int) Constant 66
254: 11(int) Constant 75 220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 221 22 26 218 16 74 19
255: TypePointer Output 18(fvec4) 223: TypePointer Uniform 18(fvec4)
256(outStream.Pos): 255(ptr) Variable Output 224: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 84 16
257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 258 20 26 254 16 38 258 256(outStream.Pos) 163 233: 11(int) Constant 67
261: TypePointer Output 11(int) 234: 95(int) Constant 6
262(outStream.ViewportIndex): 261(ptr) Variable Output 241: 11(int) Constant 68
263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 264 13 26 254 16 38 264 262(outStream.ViewportIndex) 163 242: 95(int) Constant 5
267(outStream.PrimitiveID): 261(ptr) Variable Output 248: 11(int) Constant 70
268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 269 13 26 254 16 38 269 267(outStream.PrimitiveID) 163 256: 11(int) Constant 73
272: TypePointer Output 21(fvec3) 260: 11(int) Constant 74
273(outStream.Normal): 272(ptr) Variable Output 264: 11(int) Constant 75
274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 275 22 26 254 16 38 275 273(outStream.Normal) 163 265: TypePointer Output 18(fvec4)
278(outStream.Color): 272(ptr) Variable Output 266: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 20 17 16
279: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 280 22 26 254 16 38 280 278(outStream.Color) 163 267(outStream.Pos): 265(ptr) Variable Output
283(outStream.ViewVec): 272(ptr) Variable Output 268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 269 20 26 264 16 38 269 267(outStream.Pos) 170
284: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 285 22 26 254 16 38 285 283(outStream.ViewVec) 163 272: TypePointer Output 11(int)
288(outStream.LightVec): 272(ptr) Variable Output 273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 13 17 16
289: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 290 22 26 254 16 38 290 288(outStream.LightVec) 163 274(outStream.ViewportIndex): 272(ptr) Variable Output
299: 11(int) Constant 78 275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 276 13 26 264 16 38 276 274(outStream.ViewportIndex) 170
301: TypeArray 18(fvec4) 17 279(outStream.PrimitiveID): 272(ptr) Variable Output
302: TypePointer Input 301 280: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 281 13 26 264 16 38 281 279(outStream.PrimitiveID) 170
303(input.Pos): 302(ptr) Variable Input 284: TypePointer Output 21(fvec3)
304: TypePointer Input 18(fvec4) 285: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 17 16
308: TypeArray 21(fvec3) 17 286(outStream.Normal): 284(ptr) Variable Output
309: TypePointer Input 308 287: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 288 22 26 264 16 38 288 286(outStream.Normal) 170
310(input.Normal): 309(ptr) Variable Input 291(outStream.Color): 284(ptr) Variable Output
311: TypePointer Input 21(fvec3) 292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 293 22 26 264 16 38 293 291(outStream.Color) 170
315(input.Color): 309(ptr) Variable Input 296(outStream.ViewVec): 284(ptr) Variable Output
338: TypePointer Input 11(int) 297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 298 22 26 264 16 38 298 296(outStream.ViewVec) 170
339(InvocationID): 338(ptr) Variable Input 301(outStream.LightVec): 284(ptr) Variable Output
342(PrimitiveID): 338(ptr) Variable Input 302: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 303 22 26 264 16 38 303 301(outStream.LightVec) 170
312: 11(int) Constant 78
314: TypeArray 18(fvec4) 17
315: TypePointer Input 314
316(input.Pos): 315(ptr) Variable Input
317: TypePointer Input 18(fvec4)
321: TypeArray 21(fvec3) 17
322: TypePointer Input 321
323(input.Normal): 322(ptr) Variable Input
324: TypePointer Input 21(fvec3)
328(input.Color): 322(ptr) Variable Input
351: TypePointer Input 11(int)
352(InvocationID): 351(ptr) Variable Input
355(PrimitiveID): 351(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
300(input): 42(ptr) Variable Function 313(input): 42(ptr) Variable Function
337(InvocationID): 60(ptr) Variable Function 350(InvocationID): 63(ptr) Variable Function
341(PrimitiveID): 60(ptr) Variable Function 354(PrimitiveID): 63(ptr) Variable Function
344(outStream): 59(ptr) Variable Function 357(outStream): 61(ptr) Variable Function
345(param): 42(ptr) Variable Function 358(param): 42(ptr) Variable Function
347(param): 59(ptr) Variable Function 360(param): 61(ptr) Variable Function
348(param): 60(ptr) Variable Function 361(param): 63(ptr) Variable Function
350(param): 60(ptr) Variable Function 363(param): 63(ptr) Variable Function
Line 1 56 0 Line 1 56 0
305: 304(ptr) AccessChain 303(input.Pos) 99 318: 317(ptr) AccessChain 316(input.Pos) 104
306: 18(fvec4) Load 305 319: 18(fvec4) Load 318
307: 189(ptr) AccessChain 300(input) 99 99 320: 197(ptr) AccessChain 313(input) 104 104
Store 307 306 Store 320 319
312: 311(ptr) AccessChain 310(input.Normal) 99 325: 324(ptr) AccessChain 323(input.Normal) 104
313: 21(fvec3) Load 312
314: 130(ptr) AccessChain 300(input) 99 129
Store 314 313
316: 311(ptr) AccessChain 315(input.Color) 99
317: 21(fvec3) Load 316
318: 130(ptr) AccessChain 300(input) 99 183
Store 318 317
319: 304(ptr) AccessChain 303(input.Pos) 129
320: 18(fvec4) Load 319
321: 189(ptr) AccessChain 300(input) 129 99
Store 321 320
322: 311(ptr) AccessChain 310(input.Normal) 129
323: 21(fvec3) Load 322
324: 130(ptr) AccessChain 300(input) 129 129
Store 324 323
325: 311(ptr) AccessChain 315(input.Color) 129
326: 21(fvec3) Load 325 326: 21(fvec3) Load 325
327: 130(ptr) AccessChain 300(input) 129 183 327: 135(ptr) AccessChain 313(input) 104 134
Store 327 326 Store 327 326
328: 304(ptr) AccessChain 303(input.Pos) 183 329: 324(ptr) AccessChain 328(input.Color) 104
329: 18(fvec4) Load 328 330: 21(fvec3) Load 329
330: 189(ptr) AccessChain 300(input) 183 99 331: 135(ptr) AccessChain 313(input) 104 191
Store 330 329 Store 331 330
331: 311(ptr) AccessChain 310(input.Normal) 183 332: 317(ptr) AccessChain 316(input.Pos) 134
332: 21(fvec3) Load 331 333: 18(fvec4) Load 332
333: 130(ptr) AccessChain 300(input) 183 129 334: 197(ptr) AccessChain 313(input) 134 104
Store 333 332 Store 334 333
334: 311(ptr) AccessChain 315(input.Color) 183 335: 324(ptr) AccessChain 323(input.Normal) 134
335: 21(fvec3) Load 334 336: 21(fvec3) Load 335
336: 130(ptr) AccessChain 300(input) 183 183 337: 135(ptr) AccessChain 313(input) 134 134
Store 336 335 Store 337 336
340: 11(int) Load 339(InvocationID) 338: 324(ptr) AccessChain 328(input.Color) 134
Store 337(InvocationID) 340 339: 21(fvec3) Load 338
343: 11(int) Load 342(PrimitiveID) 340: 135(ptr) AccessChain 313(input) 134 191
Store 341(PrimitiveID) 343 Store 340 339
346: 40 Load 300(input) 341: 317(ptr) AccessChain 316(input.Pos) 191
Store 345(param) 346 342: 18(fvec4) Load 341
349: 11(int) Load 337(InvocationID) 343: 197(ptr) AccessChain 313(input) 191 104
Store 348(param) 349 Store 343 342
351: 11(int) Load 341(PrimitiveID) 344: 324(ptr) AccessChain 323(input.Normal) 191
Store 350(param) 351 345: 21(fvec3) Load 344
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) 346: 135(ptr) AccessChain 313(input) 191 134
353:43(GSOutput) Load 347(param) Store 346 345
Store 344(outStream) 353 347: 324(ptr) AccessChain 328(input.Color) 191
348: 21(fvec3) Load 347
349: 135(ptr) AccessChain 313(input) 191 191
Store 349 348
353: 11(int) Load 352(InvocationID)
Store 350(InvocationID) 353
356: 11(int) Load 355(PrimitiveID)
Store 354(PrimitiveID) 356
359: 40 Load 313(input)
Store 358(param) 359
362: 11(int) Load 350(InvocationID)
Store 361(param) 362
364: 11(int) Load 354(PrimitiveID)
Store 363(param) 364
365: 4 FunctionCall 71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) 358(param) 360(param) 361(param) 363(param)
366:45(GSOutput) Load 360(param)
Store 357(outStream) 366
Return Return
FunctionEnd FunctionEnd
Line 1 56 1 Line 1 56 1
67(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;): 4 Function None 61 71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;): 4 Function None 65
63(input): 42(ptr) FunctionParameter 67(input): 42(ptr) FunctionParameter
64(outStream): 59(ptr) FunctionParameter 68(outStream): 61(ptr) FunctionParameter
65(InvocationID): 60(ptr) FunctionParameter 69(InvocationID): 63(ptr) FunctionParameter
66(PrimitiveID): 60(ptr) FunctionParameter 70(PrimitiveID): 63(ptr) FunctionParameter
68: Label 72: Label
95(i): 94(ptr) Variable Function 100(i): 98(ptr) Variable Function
118(output): 59(ptr) Variable Function 123(output): 61(ptr) Variable Function
190(pos): 189(ptr) Variable Function 199(pos): 197(ptr) Variable Function
199(worldPos): 189(ptr) Variable Function 208(worldPos): 197(ptr) Variable Function
210(lPos): 130(ptr) Variable Function 219(lPos): 135(ptr) Variable Function
72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70 76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 71 71 16 16 77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 75 75 16 16
76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 74 63(input) 77 80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 78 67(input) 81
81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 78 64(outStream) 77 85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 68(outStream) 81
84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 82 65(InvocationID) 77 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 86 69(InvocationID) 81
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 85 66(PrimitiveID) 77 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 89 70(PrimitiveID) 81
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;) 91: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 74 71(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;)
88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70 92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
89: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 90 90 16 16 93: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 94 94 16 16
98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 96 95(i) 77 103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 101 100(i) 81
Store 95(i) 99 Store 100(i) 104
Branch 100 Branch 105
100: Label 105: Label
104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 90 90 16 16 110: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 94 94 16 16
LoopMerge 102 103 None LoopMerge 107 108 None
Branch 106 Branch 111
111: Label
112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
113: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 94 94 16 16
114: 95(int) Load 100(i)
119: 116(bool) SLessThan 114 115
BranchConditional 119 106 107
106: Label 106: Label
107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
108: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 90 90 16 16 121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 122 122 16 16
109: 91(int) Load 95(i) 126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 124 123(output) 81
114: 111(bool) SLessThan 109 110 Store 123(output) 130
BranchConditional 114 101 102 131: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 132 132 16 16
101: Label 133: 95(int) Load 100(i)
115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70 137: 135(ptr) AccessChain 67(input) 133 134
116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 117 117 16 16 138: 21(fvec3) Load 137
121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 119 118(output) 77 171: 11(int) Load 69(InvocationID)
Store 118(output) 125 174: 172(ptr) AccessChain 168 104 134 171
126: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 127 127 16 16 175: 139 Load 174
128: 91(int) Load 95(i) 178: 18(fvec4) CompositeExtract 175 0
131: 130(ptr) AccessChain 63(input) 128 129 179: 21(fvec3) VectorShuffle 178 178 0 1 2
132: 21(fvec3) Load 131 180: 18(fvec4) CompositeExtract 175 1
164: 11(int) Load 65(InvocationID) 181: 21(fvec3) VectorShuffle 180 180 0 1 2
166: 165(ptr) AccessChain 161 99 129 164 182: 18(fvec4) CompositeExtract 175 2
167: 133 Load 166 183: 21(fvec3) VectorShuffle 182 182 0 1 2
170: 18(fvec4) CompositeExtract 167 0 184: 176 CompositeConstruct 179 181 183
171: 21(fvec3) VectorShuffle 170 170 0 1 2 185: 21(fvec3) VectorTimesMatrix 138 184
172: 18(fvec4) CompositeExtract 167 1 186: 135(ptr) AccessChain 123(output) 115
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 Store 186 185
187: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 188 188 16 16 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 190: 95(int) Load 100(i)
194: 91(int) Load 95(i) 192: 135(ptr) AccessChain 67(input) 190 191
195: 189(ptr) AccessChain 63(input) 194 99 193: 21(fvec3) Load 192
196: 18(fvec4) Load 195 194: 135(ptr) AccessChain 123(output) 189
Store 190(pos) 196 Store 194 193
197: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 198 198 16 16 195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 196 196 16 16
202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 200 199(worldPos) 77 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 200 199(pos) 81
203: 18(fvec4) Load 190(pos) 203: 95(int) Load 100(i)
204: 11(int) Load 65(InvocationID) 204: 197(ptr) AccessChain 67(input) 203 104
205: 165(ptr) AccessChain 161 99 129 204 205: 18(fvec4) Load 204
206: 133 Load 205 Store 199(pos) 205
207: 18(fvec4) VectorTimesMatrix 203 206 206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 207 207 16 16
Store 199(worldPos) 207 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 209 208(worldPos) 81
208: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 209 209 16 16 212: 18(fvec4) Load 199(pos)
213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 211 210(lPos) 77 213: 11(int) Load 69(InvocationID)
215: 214(ptr) AccessChain 161 99 183 214: 172(ptr) AccessChain 168 104 134 213
216: 18(fvec4) Load 215 215: 139 Load 214
217: 11(int) Load 65(InvocationID) 216: 18(fvec4) VectorTimesMatrix 212 215
218: 165(ptr) AccessChain 161 99 129 217 Store 208(worldPos) 216
219: 133 Load 218 217: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 218 218 16 16
220: 18(fvec4) VectorTimesMatrix 216 219 222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 220 219(lPos) 81
221: 21(fvec3) VectorShuffle 220 220 0 1 2 225: 223(ptr) AccessChain 168 104 191
Store 210(lPos) 221 226: 18(fvec4) Load 225
222: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 223 223 16 16 227: 11(int) Load 69(InvocationID)
225: 21(fvec3) Load 210(lPos) 228: 172(ptr) AccessChain 168 104 134 227
226: 18(fvec4) Load 199(worldPos) 229: 139 Load 228
227: 21(fvec3) VectorShuffle 226 226 0 1 2 230: 18(fvec4) VectorTimesMatrix 226 229
228: 21(fvec3) FSub 225 227 231: 21(fvec3) VectorShuffle 230 230 0 1 2
229: 130(ptr) AccessChain 118(output) 224 Store 219(lPos) 231
Store 229 228 232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 233 233 16 16
230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 231 231 16 16 235: 21(fvec3) Load 219(lPos)
233: 18(fvec4) Load 199(worldPos) 236: 18(fvec4) Load 208(worldPos)
234: 21(fvec3) VectorShuffle 233 233 0 1 2 237: 21(fvec3) VectorShuffle 236 236 0 1 2
235: 21(fvec3) FNegate 234 238: 21(fvec3) FSub 235 237
236: 130(ptr) AccessChain 118(output) 232 239: 135(ptr) AccessChain 123(output) 234
Store 236 235 Store 239 238
237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 238 238 16 16 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 241 241 16 16
239: 18(fvec4) Load 199(worldPos) 243: 18(fvec4) Load 208(worldPos)
240: 11(int) Load 65(InvocationID) 244: 21(fvec3) VectorShuffle 243 243 0 1 2
241: 165(ptr) AccessChain 161 99 99 240 245: 21(fvec3) FNegate 244
242: 133 Load 241 246: 135(ptr) AccessChain 123(output) 242
243: 18(fvec4) VectorTimesMatrix 239 242 Store 246 245
244: 189(ptr) AccessChain 118(output) 99 247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 248 248 16 16
Store 244 243 249: 18(fvec4) Load 208(worldPos)
245: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 246 246 16 16 250: 11(int) Load 69(InvocationID)
247: 11(int) Load 65(InvocationID) 251: 172(ptr) AccessChain 168 104 104 250
248: 60(ptr) AccessChain 118(output) 129 252: 139 Load 251
Store 248 247 253: 18(fvec4) VectorTimesMatrix 249 252
249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 250 250 16 16 254: 197(ptr) AccessChain 123(output) 104
251: 11(int) Load 66(PrimitiveID) Store 254 253
252: 60(ptr) AccessChain 118(output) 183 255: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 256 256 16 16
Store 252 251 257: 11(int) Load 69(InvocationID)
253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 254 254 16 16 258: 63(ptr) AccessChain 123(output) 134
259: 189(ptr) AccessChain 118(output) 99 Store 258 257
260: 18(fvec4) Load 259 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 260 260 16 16
Store 256(outStream.Pos) 260 261: 11(int) Load 70(PrimitiveID)
265: 60(ptr) AccessChain 118(output) 129 262: 63(ptr) AccessChain 123(output) 191
266: 11(int) Load 265 Store 262 261
Store 262(outStream.ViewportIndex) 266 263: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 264 264 16 16
270: 60(ptr) AccessChain 118(output) 183 270: 197(ptr) AccessChain 123(output) 104
271: 11(int) Load 270 271: 18(fvec4) Load 270
Store 267(outStream.PrimitiveID) 271 Store 267(outStream.Pos) 271
276: 130(ptr) AccessChain 118(output) 110 277: 63(ptr) AccessChain 123(output) 134
277: 21(fvec3) Load 276 278: 11(int) Load 277
Store 273(outStream.Normal) 277 Store 274(outStream.ViewportIndex) 278
281: 130(ptr) AccessChain 118(output) 181 282: 63(ptr) AccessChain 123(output) 191
282: 21(fvec3) Load 281 283: 11(int) Load 282
Store 278(outStream.Color) 282 Store 279(outStream.PrimitiveID) 283
286: 130(ptr) AccessChain 118(output) 232 289: 135(ptr) AccessChain 123(output) 115
287: 21(fvec3) Load 286 290: 21(fvec3) Load 289
Store 283(outStream.ViewVec) 287 Store 286(outStream.Normal) 290
291: 130(ptr) AccessChain 118(output) 224 294: 135(ptr) AccessChain 123(output) 189
292: 21(fvec3) Load 291 295: 21(fvec3) Load 294
Store 288(outStream.LightVec) 292 Store 291(outStream.Color) 295
299: 135(ptr) AccessChain 123(output) 242
300: 21(fvec3) Load 299
Store 296(outStream.ViewVec) 300
304: 135(ptr) AccessChain 123(output) 234
305: 21(fvec3) Load 304
Store 301(outStream.LightVec) 305
EmitVertex EmitVertex
Branch 103 Branch 108
103: Label 108: Label
293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70 306: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
294: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 90 90 16 16 307: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 94 94 16 16
295: 91(int) Load 95(i) 308: 95(int) Load 100(i)
296: 91(int) IAdd 295 129 309: 95(int) IAdd 308 134
Store 95(i) 296 Store 100(i) 309
Branch 100 Branch 105
102: Label 107: Label
297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 70 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 74
298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 299 299 16 16 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 312 312 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

View file

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