Force generateDebugInfo when non-semantic debug info is enabled
From the command line, the debug options "stack", with -gVS enabling all of generateDebugInfo, emitNonSemanticShaderDebugInfo and emitNonSemanticShaderDebugSource, however the programmatic interface allows setting the latter options without the former. In this case, the string corresponding to the source filename never gets emitted and some debuginfo instructions end up with zero ID operands, resulting in invalid SPIR-V. Fixes #3240
This commit is contained in:
parent
9575e33186
commit
d89c0b1d13
@ -1580,7 +1580,12 @@ TGlslangToSpvTraverser::TGlslangToSpvTraverser(unsigned int spvVersion,
|
||||
builder.setSource(TranslateSourceLanguage(glslangIntermediate->getSource(), glslangIntermediate->getProfile()),
|
||||
glslangIntermediate->getVersion());
|
||||
|
||||
if (options.generateDebugInfo) {
|
||||
if (options.emitNonSemanticShaderDebugSource)
|
||||
this->options.emitNonSemanticShaderDebugInfo = true;
|
||||
if (options.emitNonSemanticShaderDebugInfo)
|
||||
this->options.generateDebugInfo = true;
|
||||
|
||||
if (this->options.generateDebugInfo) {
|
||||
builder.setEmitOpLines();
|
||||
builder.setSourceFile(glslangIntermediate->getSourceFile());
|
||||
|
||||
@ -1607,8 +1612,8 @@ TGlslangToSpvTraverser::TGlslangToSpvTraverser(unsigned int spvVersion,
|
||||
builder.addInclude(iItr->first, iItr->second);
|
||||
}
|
||||
|
||||
builder.setEmitNonSemanticShaderDebugInfo(options.emitNonSemanticShaderDebugInfo);
|
||||
builder.setEmitNonSemanticShaderDebugSource(options.emitNonSemanticShaderDebugSource);
|
||||
builder.setEmitNonSemanticShaderDebugInfo(this->options.emitNonSemanticShaderDebugInfo);
|
||||
builder.setEmitNonSemanticShaderDebugSource(this->options.emitNonSemanticShaderDebugSource);
|
||||
|
||||
stdBuiltins = builder.import("GLSL.std.450");
|
||||
|
||||
|
@ -1,84 +1,96 @@
|
||||
spv.debuginfo.const_params.glsl.comp
|
||||
Validation failed
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 64
|
||||
// Id's are bound by 68
|
||||
|
||||
Capability Shader
|
||||
Extension "SPV_KHR_non_semantic_info"
|
||||
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
||||
2: ExtInstImport "GLSL.std.450"
|
||||
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
||||
3: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint GLCompute 13 "main"
|
||||
ExecutionMode 13 LocalSize 1 1 1
|
||||
8: String "uint"
|
||||
14: String "main"
|
||||
17: String ""
|
||||
24: String "float"
|
||||
39: String "function"
|
||||
45: String "f"
|
||||
49: String "f2"
|
||||
52: String "f3"
|
||||
55: String "f4"
|
||||
Name 13 "main"
|
||||
Name 38 "function(f1;vf2;vf3;vf4;"
|
||||
Name 34 "f"
|
||||
Name 35 "f2"
|
||||
Name 36 "f3"
|
||||
Name 37 "f4"
|
||||
3: TypeVoid
|
||||
4: TypeFunction 3
|
||||
6: TypeInt 32 0
|
||||
9: 6(int) Constant 32
|
||||
10: 6(int) Constant 6
|
||||
11: 6(int) Constant 0
|
||||
7: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 9 10 11
|
||||
12: 6(int) Constant 3
|
||||
5: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 12 3
|
||||
16: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 0 17
|
||||
19: 6(int) Constant 1
|
||||
20: 6(int) Constant 4
|
||||
21: 6(int) Constant 2
|
||||
18: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 19 20 16 21
|
||||
15: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 14 5 16 11 11 18 14 12 11
|
||||
23: TypeFloat 32
|
||||
25: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 24 9 12 11
|
||||
26: TypeVector 23(float) 2
|
||||
27: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 25 21
|
||||
28: TypeVector 23(float) 3
|
||||
29: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 25 12
|
||||
30: TypeVector 23(float) 4
|
||||
31: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 25 20
|
||||
32: TypeFunction 3 23(float) 26(fvec2) 28(fvec3) 30(fvec4)
|
||||
33: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 12 3 25 27 29 31
|
||||
40: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 39 33 16 11 11 18 39 12 11
|
||||
44: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 45 25 16 11 11 40 20 19
|
||||
47: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
||||
48: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 27 16 11 11 40 20 21
|
||||
51: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 52 29 16 11 11 40 20 12
|
||||
54: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 55 31 16 11 11 40 20 20
|
||||
59: 23(float) Constant 0
|
||||
60: 26(fvec2) ConstantComposite 59 59
|
||||
61: 28(fvec3) ConstantComposite 59 59 59
|
||||
62: 30(fvec4) ConstantComposite 59 59 59 59
|
||||
13(main): 3 Function None 4
|
||||
22: Label
|
||||
58: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 15 13(main)
|
||||
63: 3 FunctionCall 38(function(f1;vf2;vf3;vf4;) 59 60 61 62
|
||||
EntryPoint GLCompute 14 "main"
|
||||
ExecutionMode 14 LocalSize 1 1 1
|
||||
1: String ""
|
||||
9: String "uint"
|
||||
15: String "main"
|
||||
18: String "// OpModuleProcessed auto-map-locations
|
||||
// OpModuleProcessed auto-map-bindings
|
||||
// OpModuleProcessed client vulkan100
|
||||
// OpModuleProcessed target-env vulkan1.0
|
||||
// OpModuleProcessed keep-uncalled
|
||||
// OpModuleProcessed entry-point main
|
||||
#line 1
|
||||
"
|
||||
25: String "float"
|
||||
40: String "function"
|
||||
46: String "f"
|
||||
50: String "f2"
|
||||
53: String "f3"
|
||||
56: String "f4"
|
||||
Name 14 "main"
|
||||
Name 39 "function(f1;vf2;vf3;vf4;"
|
||||
Name 35 "f"
|
||||
Name 36 "f2"
|
||||
Name 37 "f3"
|
||||
Name 38 "f4"
|
||||
4: TypeVoid
|
||||
5: TypeFunction 4
|
||||
7: TypeInt 32 0
|
||||
10: 7(int) Constant 32
|
||||
11: 7(int) Constant 6
|
||||
12: 7(int) Constant 0
|
||||
8: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 10 11 12
|
||||
13: 7(int) Constant 3
|
||||
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
|
||||
17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 18
|
||||
20: 7(int) Constant 1
|
||||
21: 7(int) Constant 4
|
||||
22: 7(int) Constant 2
|
||||
19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 20 21 17 22
|
||||
16: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 15 6 17 12 12 19 15 13 12
|
||||
24: TypeFloat 32
|
||||
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 25 10 13 12
|
||||
27: TypeVector 24(float) 2
|
||||
28: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 22
|
||||
29: TypeVector 24(float) 3
|
||||
30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 13
|
||||
31: TypeVector 24(float) 4
|
||||
32: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 21
|
||||
33: TypeFunction 4 24(float) 27(fvec2) 29(fvec3) 31(fvec4)
|
||||
34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4 26 28 30 32
|
||||
41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 40 34 17 12 12 19 40 13 12
|
||||
45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 46 26 17 12 12 41 21 20
|
||||
48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
||||
49: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 50 28 17 12 12 41 21 22
|
||||
52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 53 30 17 12 12 41 21 13
|
||||
55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 56 32 17 12 12 41 21 21
|
||||
62: 7(int) Constant 13
|
||||
63: 24(float) Constant 0
|
||||
64: 27(fvec2) ConstantComposite 63 63
|
||||
65: 29(fvec3) ConstantComposite 63 63 63
|
||||
66: 31(fvec4) ConstantComposite 63 63 63 63
|
||||
Line 1 11 11
|
||||
14(main): 4 Function None 5
|
||||
23: Label
|
||||
59: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 16 14(main)
|
||||
60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
||||
61: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 62 62 12 12
|
||||
67: 4 FunctionCall 39(function(f1;vf2;vf3;vf4;) 63 64 65 66
|
||||
Return
|
||||
FunctionEnd
|
||||
38(function(f1;vf2;vf3;vf4;): 3 Function None 32
|
||||
34(f): 23(float) FunctionParameter
|
||||
35(f2): 26(fvec2) FunctionParameter
|
||||
36(f3): 28(fvec3) FunctionParameter
|
||||
37(f4): 30(fvec4) FunctionParameter
|
||||
41: Label
|
||||
42: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 40
|
||||
43: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 16 11 11 11 11
|
||||
46: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 44 34(f) 47
|
||||
50: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 48 35(f2) 47
|
||||
53: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 51 36(f3) 47
|
||||
56: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 54 37(f4) 47
|
||||
57: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 40 38(function(f1;vf2;vf3;vf4;)
|
||||
Line 1 7 18
|
||||
39(function(f1;vf2;vf3;vf4;): 4 Function None 33
|
||||
35(f): 24(float) FunctionParameter
|
||||
36(f2): 27(fvec2) FunctionParameter
|
||||
37(f3): 29(fvec3) FunctionParameter
|
||||
38(f4): 31(fvec4) FunctionParameter
|
||||
42: Label
|
||||
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 41
|
||||
44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 12 12 12 12
|
||||
47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 45 35(f) 48
|
||||
51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 49 36(f2) 48
|
||||
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 52 37(f3) 48
|
||||
57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 55 38(f4) 48
|
||||
58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 41 39(function(f1;vf2;vf3;vf4;)
|
||||
Return
|
||||
FunctionEnd
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,332 +1,364 @@
|
||||
spv.debuginfo.glsl.geom
|
||||
Validation failed
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 231
|
||||
// Id's are bound by 256
|
||||
|
||||
Capability Geometry
|
||||
Capability MultiViewport
|
||||
Extension "SPV_KHR_non_semantic_info"
|
||||
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
||||
2: ExtInstImport "GLSL.std.450"
|
||||
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
||||
3: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Geometry 13 "main" 52 85 104 112 116 146 181 189 206 216 221 225
|
||||
ExecutionMode 13 Triangles
|
||||
ExecutionMode 13 Invocations 2
|
||||
ExecutionMode 13 OutputTriangleStrip
|
||||
ExecutionMode 13 OutputVertices 3
|
||||
8: String "uint"
|
||||
14: String "main"
|
||||
17: String ""
|
||||
25: String "int"
|
||||
30: String "i"
|
||||
43: String "bool"
|
||||
47: String "float"
|
||||
54: String "outNormal"
|
||||
68: String "projection"
|
||||
72: String "modelview"
|
||||
75: String "lightPos"
|
||||
78: String "UBO"
|
||||
82: String "ubo"
|
||||
87: String "gl_InvocationID"
|
||||
106: String "inNormal"
|
||||
114: String "outColor"
|
||||
118: String "inColor"
|
||||
125: String "pos"
|
||||
132: String "gl_Position"
|
||||
135: String "gl_PointSize"
|
||||
138: String "gl_CullDistance"
|
||||
142: String "gl_PerVertex"
|
||||
148: String "gl_in"
|
||||
155: String "worldPos"
|
||||
166: String "lPos"
|
||||
183: String "outLightVec"
|
||||
191: String "outViewVec"
|
||||
218: String "gl_ViewportIndex"
|
||||
223: String "gl_PrimitiveID"
|
||||
227: String "gl_PrimitiveIDIn"
|
||||
EntryPoint Geometry 14 "main" 62 94 113 123 126 157 196 205 222 234 240 243
|
||||
ExecutionMode 14 Triangles
|
||||
ExecutionMode 14 Invocations 2
|
||||
ExecutionMode 14 OutputTriangleStrip
|
||||
ExecutionMode 14 OutputVertices 3
|
||||
1: String ""
|
||||
9: String "uint"
|
||||
15: String "main"
|
||||
18: String "// OpModuleProcessed auto-map-locations
|
||||
// OpModuleProcessed auto-map-bindings
|
||||
// OpModuleProcessed client vulkan100
|
||||
// OpModuleProcessed target-env vulkan1.0
|
||||
// OpModuleProcessed keep-uncalled
|
||||
// OpModuleProcessed entry-point main
|
||||
#line 1
|
||||
"
|
||||
29: String "int"
|
||||
34: String "i"
|
||||
50: String "bool"
|
||||
57: String "float"
|
||||
64: String "outNormal"
|
||||
77: String "projection"
|
||||
81: String "modelview"
|
||||
84: String "lightPos"
|
||||
87: String "UBO"
|
||||
91: String "ubo"
|
||||
96: String "gl_InvocationID"
|
||||
115: String "inNormal"
|
||||
125: String "outColor"
|
||||
128: String "inColor"
|
||||
137: String "pos"
|
||||
143: String "gl_Position"
|
||||
146: String "gl_PointSize"
|
||||
149: String "gl_CullDistance"
|
||||
153: String "gl_PerVertex"
|
||||
159: String "gl_in"
|
||||
168: String "worldPos"
|
||||
180: String "lPos"
|
||||
198: String "outLightVec"
|
||||
207: String "outViewVec"
|
||||
236: String "gl_ViewportIndex"
|
||||
242: String "gl_PrimitiveID"
|
||||
245: String "gl_PrimitiveIDIn"
|
||||
SourceExtension "GL_ARB_viewport_array"
|
||||
Name 13 "main"
|
||||
Name 28 "i"
|
||||
Name 52 "outNormal"
|
||||
Name 66 "UBO"
|
||||
MemberName 66(UBO) 0 "projection"
|
||||
MemberName 66(UBO) 1 "modelview"
|
||||
MemberName 66(UBO) 2 "lightPos"
|
||||
Name 80 "ubo"
|
||||
Name 85 "gl_InvocationID"
|
||||
Name 104 "inNormal"
|
||||
Name 112 "outColor"
|
||||
Name 116 "inColor"
|
||||
Name 123 "pos"
|
||||
Name 130 "gl_PerVertex"
|
||||
MemberName 130(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 130(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 130(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
MemberName 130(gl_PerVertex) 3 "gl_CullDistance"
|
||||
Name 146 "gl_in"
|
||||
Name 153 "worldPos"
|
||||
Name 164 "lPos"
|
||||
Name 181 "outLightVec"
|
||||
Name 189 "outViewVec"
|
||||
Name 196 "gl_PerVertex"
|
||||
MemberName 196(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 196(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 196(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
MemberName 196(gl_PerVertex) 3 "gl_CullDistance"
|
||||
Name 206 ""
|
||||
Name 216 "gl_ViewportIndex"
|
||||
Name 221 "gl_PrimitiveID"
|
||||
Name 225 "gl_PrimitiveIDIn"
|
||||
Decorate 52(outNormal) Location 0
|
||||
Decorate 62 ArrayStride 64
|
||||
Decorate 64 ArrayStride 64
|
||||
MemberDecorate 66(UBO) 0 ColMajor
|
||||
MemberDecorate 66(UBO) 0 Offset 0
|
||||
MemberDecorate 66(UBO) 0 MatrixStride 16
|
||||
MemberDecorate 66(UBO) 1 ColMajor
|
||||
MemberDecorate 66(UBO) 1 Offset 128
|
||||
MemberDecorate 66(UBO) 1 MatrixStride 16
|
||||
MemberDecorate 66(UBO) 2 Offset 256
|
||||
Decorate 66(UBO) Block
|
||||
Decorate 80(ubo) DescriptorSet 0
|
||||
Decorate 80(ubo) Binding 0
|
||||
Decorate 85(gl_InvocationID) BuiltIn InvocationId
|
||||
Decorate 104(inNormal) Location 0
|
||||
Decorate 112(outColor) Location 1
|
||||
Decorate 116(inColor) Location 1
|
||||
MemberDecorate 130(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 130(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 130(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
MemberDecorate 130(gl_PerVertex) 3 BuiltIn CullDistance
|
||||
Decorate 130(gl_PerVertex) Block
|
||||
Decorate 181(outLightVec) Location 3
|
||||
Decorate 189(outViewVec) Location 2
|
||||
MemberDecorate 196(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 196(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 196(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
MemberDecorate 196(gl_PerVertex) 3 BuiltIn CullDistance
|
||||
Decorate 196(gl_PerVertex) Block
|
||||
Decorate 216(gl_ViewportIndex) BuiltIn ViewportIndex
|
||||
Decorate 221(gl_PrimitiveID) BuiltIn PrimitiveId
|
||||
Decorate 225(gl_PrimitiveIDIn) BuiltIn PrimitiveId
|
||||
3: TypeVoid
|
||||
4: TypeFunction 3
|
||||
6: TypeInt 32 0
|
||||
9: 6(int) Constant 32
|
||||
10: 6(int) Constant 6
|
||||
11: 6(int) Constant 0
|
||||
7: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 9 10 11
|
||||
12: 6(int) Constant 3
|
||||
5: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 12 3
|
||||
16: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 0 17
|
||||
19: 6(int) Constant 1
|
||||
20: 6(int) Constant 4
|
||||
21: 6(int) Constant 2
|
||||
18: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 19 20 16 21
|
||||
15: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 14 5 16 11 11 18 14 12 11
|
||||
24: TypeInt 32 1
|
||||
26: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 25 9 20 11
|
||||
27: TypePointer Function 24(int)
|
||||
31: 6(int) Constant 49
|
||||
29: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 30 26 16 31 11 15 20
|
||||
33: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
||||
34: 24(int) Constant 0
|
||||
41: 24(int) Constant 3
|
||||
42: TypeBool
|
||||
44: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 43 9 21 11
|
||||
46: TypeFloat 32
|
||||
48: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 9 12 11
|
||||
49: TypeVector 46(float) 3
|
||||
50: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 48 12
|
||||
51: TypePointer Output 49(fvec3)
|
||||
52(outNormal): 51(ptr) Variable Output
|
||||
55: 6(int) Constant 51
|
||||
56: 6(int) Constant 8
|
||||
53: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 54 50 16 55 11 18 54 52(outNormal) 56
|
||||
57: TypeVector 46(float) 4
|
||||
58: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 48 20
|
||||
59: TypeMatrix 57(fvec4) 4
|
||||
61: 42(bool) ConstantTrue
|
||||
60: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 58 20 61
|
||||
62: TypeArray 59 21
|
||||
63: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 60 21
|
||||
64: TypeArray 59 21
|
||||
65: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 60 21
|
||||
66(UBO): TypeStruct 62 64 57(fvec4)
|
||||
69: 6(int) Constant 34
|
||||
70: 6(int) Constant 7
|
||||
67: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 68 63 16 69 70 11 11 12
|
||||
73: 6(int) Constant 35
|
||||
71: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 72 65 16 73 70 11 11 12
|
||||
76: 6(int) Constant 36
|
||||
74: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 75 58 16 76 70 11 11 12
|
||||
77: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 78 19 16 55 11 18 78 11 12 67 71 74
|
||||
79: TypePointer Uniform 66(UBO)
|
||||
80(ubo): 79(ptr) Variable Uniform
|
||||
81: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 82 77 16 55 11 18 82 80(ubo) 56
|
||||
83: 24(int) Constant 1
|
||||
84: TypePointer Input 24(int)
|
||||
85(gl_InvocationID): 84(ptr) Variable Input
|
||||
86: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 87 26 16 55 11 18 87 85(gl_InvocationID) 56
|
||||
89: TypePointer Uniform 59
|
||||
92: TypeMatrix 49(fvec3) 3
|
||||
93: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 50 12 61
|
||||
101: TypeArray 49(fvec3) 12
|
||||
102: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 50 12
|
||||
103: TypePointer Input 101
|
||||
104(inNormal): 103(ptr) Variable Input
|
||||
105: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 106 102 16 55 11 18 106 104(inNormal) 56
|
||||
108: TypePointer Input 49(fvec3)
|
||||
112(outColor): 51(ptr) Variable Output
|
||||
115: 6(int) Constant 52
|
||||
113: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 114 50 16 115 11 18 114 112(outColor) 56
|
||||
116(inColor): 103(ptr) Variable Input
|
||||
117: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 118 102 16 115 11 18 118 116(inColor) 56
|
||||
122: TypePointer Function 57(fvec4)
|
||||
126: 6(int) Constant 54
|
||||
124: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 125 58 16 126 11 15 20
|
||||
128: TypeArray 46(float) 19
|
||||
129: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 48 19
|
||||
130(gl_PerVertex): TypeStruct 57(fvec4) 46(float) 128 128
|
||||
133: 6(int) Constant 23
|
||||
131: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 132 58 16 21 133 11 11 12
|
||||
136: 6(int) Constant 41
|
||||
134: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 135 48 16 21 136 11 11 12
|
||||
139: 6(int) Constant 84
|
||||
137: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 138 129 16 21 139 11 11 12
|
||||
140: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 138 129 16 21 139 11 11 12
|
||||
141: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 142 19 16 126 11 18 142 11 12 131 134 137 140
|
||||
143: TypeArray 130(gl_PerVertex) 12
|
||||
144: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 141 12
|
||||
145: TypePointer Input 143
|
||||
146(gl_in): 145(ptr) Variable Input
|
||||
147: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 148 144 16 126 11 18 148 146(gl_in) 56
|
||||
150: TypePointer Input 57(fvec4)
|
||||
156: 6(int) Constant 55
|
||||
154: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 155 58 16 156 11 15 20
|
||||
163: TypePointer Function 49(fvec3)
|
||||
167: 6(int) Constant 57
|
||||
165: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 166 50 16 167 11 15 20
|
||||
172: 24(int) Constant 2
|
||||
173: TypePointer Uniform 57(fvec4)
|
||||
181(outLightVec): 51(ptr) Variable Output
|
||||
184: 6(int) Constant 58
|
||||
182: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 183 50 16 184 11 18 183 181(outLightVec) 56
|
||||
189(outViewVec): 51(ptr) Variable Output
|
||||
192: 6(int) Constant 59
|
||||
190: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 191 50 16 192 11 18 191 189(outViewVec) 56
|
||||
196(gl_PerVertex): TypeStruct 57(fvec4) 46(float) 128 128
|
||||
198: 6(int) Constant 215
|
||||
197: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 132 58 16 21 198 11 11 12
|
||||
200: 6(int) Constant 233
|
||||
199: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 135 48 16 21 200 11 11 12
|
||||
201: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 138 129 16 12 70 11 11 12
|
||||
202: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 138 129 16 12 70 11 11 12
|
||||
204: 6(int) Constant 61
|
||||
203: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 142 19 16 204 11 18 142 11 12 197 199 201 202
|
||||
205: TypePointer Output 196(gl_PerVertex)
|
||||
206: 205(ptr) Variable Output
|
||||
207: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 17 203 16 204 11 18 17 206 56
|
||||
213: TypePointer Output 57(fvec4)
|
||||
215: TypePointer Output 24(int)
|
||||
216(gl_ViewportIndex): 215(ptr) Variable Output
|
||||
219: 6(int) Constant 64
|
||||
217: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 218 26 16 219 11 18 218 216(gl_ViewportIndex) 56
|
||||
221(gl_PrimitiveID): 215(ptr) Variable Output
|
||||
224: 6(int) Constant 65
|
||||
222: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 223 26 16 224 11 18 223 221(gl_PrimitiveID) 56
|
||||
225(gl_PrimitiveIDIn): 84(ptr) Variable Input
|
||||
226: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 227 26 16 224 11 18 227 225(gl_PrimitiveIDIn) 56
|
||||
13(main): 3 Function None 4
|
||||
22: Label
|
||||
28(i): 27(ptr) Variable Function
|
||||
123(pos): 122(ptr) Variable Function
|
||||
153(worldPos): 122(ptr) Variable Function
|
||||
164(lPos): 163(ptr) Variable Function
|
||||
23: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 15 13(main)
|
||||
32: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 29 28(i) 33
|
||||
Store 28(i) 34
|
||||
Branch 35
|
||||
35: Label
|
||||
LoopMerge 37 38 None
|
||||
Branch 39
|
||||
39: Label
|
||||
40: 24(int) Load 28(i)
|
||||
45: 42(bool) SLessThan 40 41
|
||||
BranchConditional 45 36 37
|
||||
36: Label
|
||||
88: 24(int) Load 85(gl_InvocationID)
|
||||
90: 89(ptr) AccessChain 80(ubo) 83 88
|
||||
91: 59 Load 90
|
||||
94: 57(fvec4) CompositeExtract 91 0
|
||||
95: 49(fvec3) VectorShuffle 94 94 0 1 2
|
||||
96: 57(fvec4) CompositeExtract 91 1
|
||||
97: 49(fvec3) VectorShuffle 96 96 0 1 2
|
||||
98: 57(fvec4) CompositeExtract 91 2
|
||||
99: 49(fvec3) VectorShuffle 98 98 0 1 2
|
||||
100: 92 CompositeConstruct 95 97 99
|
||||
107: 24(int) Load 28(i)
|
||||
109: 108(ptr) AccessChain 104(inNormal) 107
|
||||
110: 49(fvec3) Load 109
|
||||
111: 49(fvec3) MatrixTimesVector 100 110
|
||||
Store 52(outNormal) 111
|
||||
119: 24(int) Load 28(i)
|
||||
120: 108(ptr) AccessChain 116(inColor) 119
|
||||
121: 49(fvec3) Load 120
|
||||
Store 112(outColor) 121
|
||||
127: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 124 123(pos) 33
|
||||
149: 24(int) Load 28(i)
|
||||
151: 150(ptr) AccessChain 146(gl_in) 149 34
|
||||
152: 57(fvec4) Load 151
|
||||
Store 123(pos) 152
|
||||
157: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 154 153(worldPos) 33
|
||||
158: 24(int) Load 85(gl_InvocationID)
|
||||
159: 89(ptr) AccessChain 80(ubo) 83 158
|
||||
160: 59 Load 159
|
||||
161: 57(fvec4) Load 123(pos)
|
||||
162: 57(fvec4) MatrixTimesVector 160 161
|
||||
Store 153(worldPos) 162
|
||||
168: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 165 164(lPos) 33
|
||||
169: 24(int) Load 85(gl_InvocationID)
|
||||
170: 89(ptr) AccessChain 80(ubo) 83 169
|
||||
171: 59 Load 170
|
||||
174: 173(ptr) AccessChain 80(ubo) 172
|
||||
175: 57(fvec4) Load 174
|
||||
176: 57(fvec4) MatrixTimesVector 171 175
|
||||
177: 46(float) CompositeExtract 176 0
|
||||
178: 46(float) CompositeExtract 176 1
|
||||
179: 46(float) CompositeExtract 176 2
|
||||
180: 49(fvec3) CompositeConstruct 177 178 179
|
||||
Store 164(lPos) 180
|
||||
185: 49(fvec3) Load 164(lPos)
|
||||
186: 57(fvec4) Load 153(worldPos)
|
||||
187: 49(fvec3) VectorShuffle 186 186 0 1 2
|
||||
188: 49(fvec3) FSub 185 187
|
||||
Store 181(outLightVec) 188
|
||||
193: 57(fvec4) Load 153(worldPos)
|
||||
194: 49(fvec3) VectorShuffle 193 193 0 1 2
|
||||
195: 49(fvec3) FNegate 194
|
||||
Store 189(outViewVec) 195
|
||||
208: 24(int) Load 85(gl_InvocationID)
|
||||
209: 89(ptr) AccessChain 80(ubo) 34 208
|
||||
210: 59 Load 209
|
||||
211: 57(fvec4) Load 153(worldPos)
|
||||
212: 57(fvec4) MatrixTimesVector 210 211
|
||||
214: 213(ptr) AccessChain 206 34
|
||||
Store 214 212
|
||||
220: 24(int) Load 85(gl_InvocationID)
|
||||
Store 216(gl_ViewportIndex) 220
|
||||
228: 24(int) Load 225(gl_PrimitiveIDIn)
|
||||
Store 221(gl_PrimitiveID) 228
|
||||
Name 14 "main"
|
||||
Name 32 "i"
|
||||
Name 62 "outNormal"
|
||||
Name 75 "UBO"
|
||||
MemberName 75(UBO) 0 "projection"
|
||||
MemberName 75(UBO) 1 "modelview"
|
||||
MemberName 75(UBO) 2 "lightPos"
|
||||
Name 89 "ubo"
|
||||
Name 94 "gl_InvocationID"
|
||||
Name 113 "inNormal"
|
||||
Name 123 "outColor"
|
||||
Name 126 "inColor"
|
||||
Name 135 "pos"
|
||||
Name 141 "gl_PerVertex"
|
||||
MemberName 141(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 141(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 141(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
MemberName 141(gl_PerVertex) 3 "gl_CullDistance"
|
||||
Name 157 "gl_in"
|
||||
Name 166 "worldPos"
|
||||
Name 178 "lPos"
|
||||
Name 196 "outLightVec"
|
||||
Name 205 "outViewVec"
|
||||
Name 213 "gl_PerVertex"
|
||||
MemberName 213(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 213(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 213(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
MemberName 213(gl_PerVertex) 3 "gl_CullDistance"
|
||||
Name 222 ""
|
||||
Name 234 "gl_ViewportIndex"
|
||||
Name 240 "gl_PrimitiveID"
|
||||
Name 243 "gl_PrimitiveIDIn"
|
||||
Decorate 62(outNormal) Location 0
|
||||
Decorate 71 ArrayStride 64
|
||||
Decorate 73 ArrayStride 64
|
||||
MemberDecorate 75(UBO) 0 ColMajor
|
||||
MemberDecorate 75(UBO) 0 Offset 0
|
||||
MemberDecorate 75(UBO) 0 MatrixStride 16
|
||||
MemberDecorate 75(UBO) 1 ColMajor
|
||||
MemberDecorate 75(UBO) 1 Offset 128
|
||||
MemberDecorate 75(UBO) 1 MatrixStride 16
|
||||
MemberDecorate 75(UBO) 2 Offset 256
|
||||
Decorate 75(UBO) Block
|
||||
Decorate 89(ubo) DescriptorSet 0
|
||||
Decorate 89(ubo) Binding 0
|
||||
Decorate 94(gl_InvocationID) BuiltIn InvocationId
|
||||
Decorate 113(inNormal) Location 0
|
||||
Decorate 123(outColor) Location 1
|
||||
Decorate 126(inColor) Location 1
|
||||
MemberDecorate 141(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 141(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 141(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
MemberDecorate 141(gl_PerVertex) 3 BuiltIn CullDistance
|
||||
Decorate 141(gl_PerVertex) Block
|
||||
Decorate 196(outLightVec) Location 3
|
||||
Decorate 205(outViewVec) Location 2
|
||||
MemberDecorate 213(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 213(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 213(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
MemberDecorate 213(gl_PerVertex) 3 BuiltIn CullDistance
|
||||
Decorate 213(gl_PerVertex) Block
|
||||
Decorate 234(gl_ViewportIndex) BuiltIn ViewportIndex
|
||||
Decorate 240(gl_PrimitiveID) BuiltIn PrimitiveId
|
||||
Decorate 243(gl_PrimitiveIDIn) BuiltIn PrimitiveId
|
||||
4: TypeVoid
|
||||
5: TypeFunction 4
|
||||
7: TypeInt 32 0
|
||||
10: 7(int) Constant 32
|
||||
11: 7(int) Constant 6
|
||||
12: 7(int) Constant 0
|
||||
8: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 10 11 12
|
||||
13: 7(int) Constant 3
|
||||
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
|
||||
17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 18
|
||||
20: 7(int) Constant 1
|
||||
21: 7(int) Constant 4
|
||||
22: 7(int) Constant 2
|
||||
19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 20 21 17 22
|
||||
16: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 15 6 17 12 12 19 15 13 12
|
||||
27: 7(int) Constant 49
|
||||
28: TypeInt 32 1
|
||||
30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 29 10 21 12
|
||||
31: TypePointer Function 28(int)
|
||||
33: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 34 30 17 27 12 16 21
|
||||
36: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
||||
37: 28(int) Constant 0
|
||||
48: 28(int) Constant 3
|
||||
49: TypeBool
|
||||
51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 50 10 22 12
|
||||
55: 7(int) Constant 51
|
||||
56: TypeFloat 32
|
||||
58: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 57 10 13 12
|
||||
59: TypeVector 56(float) 3
|
||||
60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 58 13
|
||||
61: TypePointer Output 59(fvec3)
|
||||
62(outNormal): 61(ptr) Variable Output
|
||||
65: 7(int) Constant 8
|
||||
63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 64 60 17 55 12 19 64 62(outNormal) 65
|
||||
66: TypeVector 56(float) 4
|
||||
67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 58 21
|
||||
68: TypeMatrix 66(fvec4) 4
|
||||
70: 49(bool) ConstantTrue
|
||||
69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 67 21 70
|
||||
71: TypeArray 68 22
|
||||
72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 69 22
|
||||
73: TypeArray 68 22
|
||||
74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 69 22
|
||||
75(UBO): TypeStruct 71 73 66(fvec4)
|
||||
78: 7(int) Constant 34
|
||||
79: 7(int) Constant 7
|
||||
76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 77 72 17 78 79 12 12 13
|
||||
82: 7(int) Constant 35
|
||||
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 81 74 17 82 79 12 12 13
|
||||
85: 7(int) Constant 36
|
||||
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 84 67 17 85 79 12 12 13
|
||||
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 87 20 17 55 12 19 87 12 13 76 80 83
|
||||
88: TypePointer Uniform 75(UBO)
|
||||
89(ubo): 88(ptr) Variable Uniform
|
||||
90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 91 86 17 55 12 19 91 89(ubo) 65
|
||||
92: 28(int) Constant 1
|
||||
93: TypePointer Input 28(int)
|
||||
94(gl_InvocationID): 93(ptr) Variable Input
|
||||
95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 96 30 17 55 12 19 96 94(gl_InvocationID) 65
|
||||
98: TypePointer Uniform 68
|
||||
101: TypeMatrix 59(fvec3) 3
|
||||
102: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 60 13 70
|
||||
110: TypeArray 59(fvec3) 13
|
||||
111: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 60 13
|
||||
112: TypePointer Input 110
|
||||
113(inNormal): 112(ptr) Variable Input
|
||||
114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 115 111 17 55 12 19 115 113(inNormal) 65
|
||||
117: TypePointer Input 59(fvec3)
|
||||
122: 7(int) Constant 52
|
||||
123(outColor): 61(ptr) Variable Output
|
||||
124: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 125 60 17 122 12 19 125 123(outColor) 65
|
||||
126(inColor): 112(ptr) Variable Input
|
||||
127: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 128 111 17 122 12 19 128 126(inColor) 65
|
||||
133: 7(int) Constant 54
|
||||
134: TypePointer Function 66(fvec4)
|
||||
136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 137 67 17 133 12 16 21
|
||||
139: TypeArray 56(float) 20
|
||||
140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 58 20
|
||||
141(gl_PerVertex): TypeStruct 66(fvec4) 56(float) 139 139
|
||||
144: 7(int) Constant 23
|
||||
142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 143 67 17 22 144 12 12 13
|
||||
147: 7(int) Constant 41
|
||||
145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 58 17 22 147 12 12 13
|
||||
150: 7(int) Constant 84
|
||||
148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 149 140 17 22 150 12 12 13
|
||||
151: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 149 140 17 22 150 12 12 13
|
||||
152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 153 20 17 133 12 19 153 12 13 142 145 148 151
|
||||
154: TypeArray 141(gl_PerVertex) 13
|
||||
155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 152 13
|
||||
156: TypePointer Input 154
|
||||
157(gl_in): 156(ptr) Variable Input
|
||||
158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 159 155 17 133 12 19 159 157(gl_in) 65
|
||||
161: TypePointer Input 66(fvec4)
|
||||
165: 7(int) Constant 55
|
||||
167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 168 67 17 165 12 16 21
|
||||
176: 7(int) Constant 57
|
||||
177: TypePointer Function 59(fvec3)
|
||||
179: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 180 60 17 176 12 16 21
|
||||
185: 28(int) Constant 2
|
||||
186: TypePointer Uniform 66(fvec4)
|
||||
195: 7(int) Constant 58
|
||||
196(outLightVec): 61(ptr) Variable Output
|
||||
197: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 198 60 17 195 12 19 198 196(outLightVec) 65
|
||||
204: 7(int) Constant 59
|
||||
205(outViewVec): 61(ptr) Variable Output
|
||||
206: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 207 60 17 204 12 19 207 205(outViewVec) 65
|
||||
212: 7(int) Constant 61
|
||||
213(gl_PerVertex): TypeStruct 66(fvec4) 56(float) 139 139
|
||||
215: 7(int) Constant 215
|
||||
214: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 143 67 17 22 215 12 12 13
|
||||
217: 7(int) Constant 233
|
||||
216: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 58 17 22 217 12 12 13
|
||||
218: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 149 140 17 13 79 12 12 13
|
||||
219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 149 140 17 13 79 12 12 13
|
||||
220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 153 20 17 212 12 19 153 12 13 214 216 218 219
|
||||
221: TypePointer Output 213(gl_PerVertex)
|
||||
222: 221(ptr) Variable Output
|
||||
223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 220 17 212 12 19 1 222 65
|
||||
229: TypePointer Output 66(fvec4)
|
||||
232: 7(int) Constant 64
|
||||
233: TypePointer Output 28(int)
|
||||
234(gl_ViewportIndex): 233(ptr) Variable Output
|
||||
235: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 236 30 17 232 12 19 236 234(gl_ViewportIndex) 65
|
||||
239: 7(int) Constant 65
|
||||
240(gl_PrimitiveID): 233(ptr) Variable Output
|
||||
241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 242 30 17 239 12 19 242 240(gl_PrimitiveID) 65
|
||||
243(gl_PrimitiveIDIn): 93(ptr) Variable Input
|
||||
244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 245 30 17 239 12 19 245 243(gl_PrimitiveIDIn) 65
|
||||
248: 7(int) Constant 66
|
||||
255: 7(int) Constant 68
|
||||
Line 1 47 15
|
||||
14(main): 4 Function None 5
|
||||
23: Label
|
||||
32(i): 31(ptr) Variable Function
|
||||
135(pos): 134(ptr) Variable Function
|
||||
166(worldPos): 134(ptr) Variable Function
|
||||
178(lPos): 177(ptr) Variable Function
|
||||
24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 16 14(main)
|
||||
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
||||
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12
|
||||
35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 33 32(i) 36
|
||||
Store 32(i) 37
|
||||
Branch 38
|
||||
38: Label
|
||||
42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
||||
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12
|
||||
LoopMerge 40 41 None
|
||||
Branch 44
|
||||
44: Label
|
||||
45: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
||||
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12
|
||||
47: 28(int) Load 32(i)
|
||||
52: 49(bool) SLessThan 47 48
|
||||
BranchConditional 52 39 40
|
||||
39: Label
|
||||
53: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
||||
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 55 55 12 12
|
||||
97: 28(int) Load 94(gl_InvocationID)
|
||||
99: 98(ptr) AccessChain 89(ubo) 92 97
|
||||
100: 68 Load 99
|
||||
103: 66(fvec4) CompositeExtract 100 0
|
||||
104: 59(fvec3) VectorShuffle 103 103 0 1 2
|
||||
105: 66(fvec4) CompositeExtract 100 1
|
||||
106: 59(fvec3) VectorShuffle 105 105 0 1 2
|
||||
107: 66(fvec4) CompositeExtract 100 2
|
||||
108: 59(fvec3) VectorShuffle 107 107 0 1 2
|
||||
109: 101 CompositeConstruct 104 106 108
|
||||
116: 28(int) Load 32(i)
|
||||
118: 117(ptr) AccessChain 113(inNormal) 116
|
||||
119: 59(fvec3) Load 118
|
||||
120: 59(fvec3) MatrixTimesVector 109 119
|
||||
Store 62(outNormal) 120
|
||||
121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 122 122 12 12
|
||||
129: 28(int) Load 32(i)
|
||||
130: 117(ptr) AccessChain 126(inColor) 129
|
||||
131: 59(fvec3) Load 130
|
||||
Store 123(outColor) 131
|
||||
132: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 133 133 12 12
|
||||
138: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 136 135(pos) 36
|
||||
160: 28(int) Load 32(i)
|
||||
162: 161(ptr) AccessChain 157(gl_in) 160 37
|
||||
163: 66(fvec4) Load 162
|
||||
Store 135(pos) 163
|
||||
164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 165 165 12 12
|
||||
169: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 167 166(worldPos) 36
|
||||
170: 28(int) Load 94(gl_InvocationID)
|
||||
171: 98(ptr) AccessChain 89(ubo) 92 170
|
||||
172: 68 Load 171
|
||||
173: 66(fvec4) Load 135(pos)
|
||||
174: 66(fvec4) MatrixTimesVector 172 173
|
||||
Store 166(worldPos) 174
|
||||
175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 176 176 12 12
|
||||
181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 179 178(lPos) 36
|
||||
182: 28(int) Load 94(gl_InvocationID)
|
||||
183: 98(ptr) AccessChain 89(ubo) 92 182
|
||||
184: 68 Load 183
|
||||
187: 186(ptr) AccessChain 89(ubo) 185
|
||||
188: 66(fvec4) Load 187
|
||||
189: 66(fvec4) MatrixTimesVector 184 188
|
||||
190: 56(float) CompositeExtract 189 0
|
||||
191: 56(float) CompositeExtract 189 1
|
||||
192: 56(float) CompositeExtract 189 2
|
||||
193: 59(fvec3) CompositeConstruct 190 191 192
|
||||
Store 178(lPos) 193
|
||||
194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 195 195 12 12
|
||||
199: 59(fvec3) Load 178(lPos)
|
||||
200: 66(fvec4) Load 166(worldPos)
|
||||
201: 59(fvec3) VectorShuffle 200 200 0 1 2
|
||||
202: 59(fvec3) FSub 199 201
|
||||
Store 196(outLightVec) 202
|
||||
203: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 204 204 12 12
|
||||
208: 66(fvec4) Load 166(worldPos)
|
||||
209: 59(fvec3) VectorShuffle 208 208 0 1 2
|
||||
210: 59(fvec3) FNegate 209
|
||||
Store 205(outViewVec) 210
|
||||
211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 212 212 12 12
|
||||
224: 28(int) Load 94(gl_InvocationID)
|
||||
225: 98(ptr) AccessChain 89(ubo) 37 224
|
||||
226: 68 Load 225
|
||||
227: 66(fvec4) Load 166(worldPos)
|
||||
228: 66(fvec4) MatrixTimesVector 226 227
|
||||
230: 229(ptr) AccessChain 222 37
|
||||
Store 230 228
|
||||
231: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 232 232 12 12
|
||||
237: 28(int) Load 94(gl_InvocationID)
|
||||
Store 234(gl_ViewportIndex) 237
|
||||
238: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 239 239 12 12
|
||||
246: 28(int) Load 243(gl_PrimitiveIDIn)
|
||||
Store 240(gl_PrimitiveID) 246
|
||||
247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 248 248 12 12
|
||||
EmitVertex
|
||||
Branch 41
|
||||
41: Label
|
||||
249: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
||||
250: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12
|
||||
251: 28(int) Load 32(i)
|
||||
252: 28(int) IAdd 251 92
|
||||
Store 32(i) 252
|
||||
Branch 38
|
||||
38: Label
|
||||
229: 24(int) Load 28(i)
|
||||
230: 24(int) IAdd 229 83
|
||||
Store 28(i) 230
|
||||
Branch 35
|
||||
37: Label
|
||||
40: Label
|
||||
253: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
||||
254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 255 255 12 12
|
||||
EndPrimitive
|
||||
Return
|
||||
FunctionEnd
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,421 +1,445 @@
|
||||
spv.debuginfo.glsl.tese
|
||||
Validation failed
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 315
|
||||
// Id's are bound by 332
|
||||
|
||||
Capability Tessellation
|
||||
Extension "SPV_KHR_non_semantic_info"
|
||||
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
||||
2: ExtInstImport "GLSL.std.450"
|
||||
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
||||
3: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint TessellationEvaluation 13 "main" 39 56 80 99 124 160 267 279 286 297 303
|
||||
ExecutionMode 13 Quads
|
||||
ExecutionMode 13 SpacingEqual
|
||||
ExecutionMode 13 VertexOrderCw
|
||||
8: String "uint"
|
||||
14: String "main"
|
||||
17: String ""
|
||||
25: String "float"
|
||||
32: String "uv1"
|
||||
41: String "inUV"
|
||||
44: String "int"
|
||||
58: String "gl_TessCoord"
|
||||
66: String "uv2"
|
||||
82: String "outUV"
|
||||
93: String "n1"
|
||||
101: String "inNormal"
|
||||
112: String "n2"
|
||||
126: String "outNormal"
|
||||
139: String "pos1"
|
||||
146: String "gl_Position"
|
||||
149: String "gl_PointSize"
|
||||
152: String "gl_CullDistance"
|
||||
156: String "gl_PerVertex"
|
||||
162: String "gl_in"
|
||||
174: String "pos2"
|
||||
187: String "pos"
|
||||
198: String "type.2d.image"
|
||||
200: String "@type.2d.image"
|
||||
204: String "type.sampled.image"
|
||||
205: String "@type.sampled.image"
|
||||
209: String "displacementMap"
|
||||
223: String "modelview"
|
||||
228: String "lightPos"
|
||||
231: String "frustumPlanes"
|
||||
233: String "tessellatedEdgeSize"
|
||||
237: String "viewportDim"
|
||||
241: String "UBO"
|
||||
245: String "ubo"
|
||||
281: String "outViewVec"
|
||||
288: String "outLightVec"
|
||||
299: String "outWorldPos"
|
||||
305: String "outEyePos"
|
||||
Name 13 "main"
|
||||
Name 30 "uv1"
|
||||
Name 39 "inUV"
|
||||
Name 56 "gl_TessCoord"
|
||||
Name 64 "uv2"
|
||||
Name 80 "outUV"
|
||||
Name 91 "n1"
|
||||
Name 99 "inNormal"
|
||||
Name 110 "n2"
|
||||
Name 124 "outNormal"
|
||||
Name 137 "pos1"
|
||||
Name 144 "gl_PerVertex"
|
||||
MemberName 144(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 144(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 144(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
MemberName 144(gl_PerVertex) 3 "gl_CullDistance"
|
||||
Name 160 "gl_in"
|
||||
Name 172 "pos2"
|
||||
Name 185 "pos"
|
||||
Name 207 "displacementMap"
|
||||
Name 221 "UBO"
|
||||
MemberName 221(UBO) 0 "projection"
|
||||
MemberName 221(UBO) 1 "modelview"
|
||||
MemberName 221(UBO) 2 "lightPos"
|
||||
MemberName 221(UBO) 3 "frustumPlanes"
|
||||
MemberName 221(UBO) 4 "displacementFactor"
|
||||
MemberName 221(UBO) 5 "tessellationFactor"
|
||||
MemberName 221(UBO) 6 "viewportDim"
|
||||
MemberName 221(UBO) 7 "tessellatedEdgeSize"
|
||||
Name 243 "ubo"
|
||||
Name 256 "gl_PerVertex"
|
||||
MemberName 256(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 256(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 256(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
MemberName 256(gl_PerVertex) 3 "gl_CullDistance"
|
||||
Name 267 ""
|
||||
Name 279 "outViewVec"
|
||||
Name 286 "outLightVec"
|
||||
Name 297 "outWorldPos"
|
||||
Name 303 "outEyePos"
|
||||
Decorate 39(inUV) Location 1
|
||||
Decorate 56(gl_TessCoord) BuiltIn TessCoord
|
||||
Decorate 80(outUV) Location 1
|
||||
Decorate 99(inNormal) Location 0
|
||||
Decorate 124(outNormal) Location 0
|
||||
MemberDecorate 144(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 144(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 144(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
MemberDecorate 144(gl_PerVertex) 3 BuiltIn CullDistance
|
||||
Decorate 144(gl_PerVertex) Block
|
||||
Decorate 207(displacementMap) DescriptorSet 0
|
||||
Decorate 207(displacementMap) Binding 1
|
||||
Decorate 219 ArrayStride 16
|
||||
MemberDecorate 221(UBO) 0 ColMajor
|
||||
MemberDecorate 221(UBO) 0 Offset 0
|
||||
MemberDecorate 221(UBO) 0 MatrixStride 16
|
||||
MemberDecorate 221(UBO) 1 ColMajor
|
||||
MemberDecorate 221(UBO) 1 Offset 64
|
||||
MemberDecorate 221(UBO) 1 MatrixStride 16
|
||||
MemberDecorate 221(UBO) 2 Offset 128
|
||||
MemberDecorate 221(UBO) 3 Offset 144
|
||||
MemberDecorate 221(UBO) 4 Offset 240
|
||||
MemberDecorate 221(UBO) 5 Offset 244
|
||||
MemberDecorate 221(UBO) 6 Offset 248
|
||||
MemberDecorate 221(UBO) 7 Offset 256
|
||||
Decorate 221(UBO) Block
|
||||
Decorate 243(ubo) DescriptorSet 0
|
||||
Decorate 243(ubo) Binding 0
|
||||
MemberDecorate 256(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 256(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 256(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
MemberDecorate 256(gl_PerVertex) 3 BuiltIn CullDistance
|
||||
Decorate 256(gl_PerVertex) Block
|
||||
Decorate 279(outViewVec) Location 2
|
||||
Decorate 286(outLightVec) Location 3
|
||||
Decorate 297(outWorldPos) Location 5
|
||||
Decorate 303(outEyePos) Location 4
|
||||
3: TypeVoid
|
||||
4: TypeFunction 3
|
||||
6: TypeInt 32 0
|
||||
9: 6(int) Constant 32
|
||||
10: 6(int) Constant 6
|
||||
11: 6(int) Constant 0
|
||||
7: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 9 10 11
|
||||
12: 6(int) Constant 3
|
||||
5: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 12 3
|
||||
16: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 0 17
|
||||
19: 6(int) Constant 1
|
||||
20: 6(int) Constant 4
|
||||
21: 6(int) Constant 2
|
||||
18: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 19 20 16 21
|
||||
15: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 14 5 16 11 11 18 14 12 11
|
||||
24: TypeFloat 32
|
||||
26: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 25 9 12 11
|
||||
27: TypeVector 24(float) 2
|
||||
28: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 21
|
||||
29: TypePointer Function 27(fvec2)
|
||||
33: 6(int) Constant 56
|
||||
31: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 32 28 16 33 11 15 20
|
||||
35: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
||||
36: TypeArray 27(fvec2) 9
|
||||
37: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 28 9
|
||||
38: TypePointer Input 36
|
||||
39(inUV): 38(ptr) Variable Input
|
||||
42: 6(int) Constant 8
|
||||
40: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 41 37 16 33 11 18 41 39(inUV) 42
|
||||
43: TypeInt 32 1
|
||||
45: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 44 9 20 11
|
||||
46: 43(int) Constant 0
|
||||
47: TypePointer Input 27(fvec2)
|
||||
50: 43(int) Constant 1
|
||||
53: TypeVector 24(float) 3
|
||||
54: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 12
|
||||
55: TypePointer Input 53(fvec3)
|
||||
56(gl_TessCoord): 55(ptr) Variable Input
|
||||
57: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 58 54 16 33 11 18 58 56(gl_TessCoord) 42
|
||||
59: TypePointer Input 24(float)
|
||||
67: 6(int) Constant 57
|
||||
65: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 66 28 16 67 11 15 20
|
||||
69: 43(int) Constant 3
|
||||
72: 43(int) Constant 2
|
||||
79: TypePointer Output 27(fvec2)
|
||||
80(outUV): 79(ptr) Variable Output
|
||||
83: 6(int) Constant 58
|
||||
81: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 82 28 16 83 11 18 82 80(outUV) 42
|
||||
90: TypePointer Function 53(fvec3)
|
||||
94: 6(int) Constant 60
|
||||
92: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 93 54 16 94 11 15 20
|
||||
96: TypeArray 53(fvec3) 9
|
||||
97: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 54 9
|
||||
98: TypePointer Input 96
|
||||
99(inNormal): 98(ptr) Variable Input
|
||||
100: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 101 97 16 94 11 18 101 99(inNormal) 42
|
||||
113: 6(int) Constant 61
|
||||
111: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 112 54 16 113 11 15 20
|
||||
123: TypePointer Output 53(fvec3)
|
||||
124(outNormal): 123(ptr) Variable Output
|
||||
127: 6(int) Constant 62
|
||||
125: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 126 54 16 127 11 18 126 124(outNormal) 42
|
||||
134: TypeVector 24(float) 4
|
||||
135: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 26 20
|
||||
136: TypePointer Function 134(fvec4)
|
||||
140: 6(int) Constant 65
|
||||
138: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 139 135 16 140 11 15 20
|
||||
142: TypeArray 24(float) 19
|
||||
143: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 26 19
|
||||
144(gl_PerVertex): TypeStruct 134(fvec4) 24(float) 142 142
|
||||
147: 6(int) Constant 1756
|
||||
145: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 135 16 19 147 11 11 12
|
||||
150: 6(int) Constant 1774
|
||||
148: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 149 26 16 19 150 11 11 12
|
||||
153: 6(int) Constant 1817
|
||||
151: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 152 143 16 19 153 11 11 12
|
||||
154: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 152 143 16 19 153 11 11 12
|
||||
155: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 156 19 16 140 11 18 156 11 12 145 148 151 154
|
||||
157: TypeArray 144(gl_PerVertex) 9
|
||||
158: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 155 9
|
||||
159: TypePointer Input 157
|
||||
160(gl_in): 159(ptr) Variable Input
|
||||
161: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 162 158 16 140 11 18 162 160(gl_in) 42
|
||||
163: TypePointer Input 134(fvec4)
|
||||
175: 6(int) Constant 66
|
||||
173: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 174 135 16 175 11 15 20
|
||||
188: 6(int) Constant 67
|
||||
186: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 187 135 16 188 11 15 20
|
||||
196: TypeImage 24(float) 2D sampled format:Unknown
|
||||
199: 6(int) Constant 69
|
||||
201: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
|
||||
197: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 198 11 16 199 11 18 200 201 12
|
||||
202: TypeSampledImage 196
|
||||
203: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 204 11 16 199 11 18 205 201 12
|
||||
206: TypePointer UniformConstant 202
|
||||
207(displacementMap): 206(ptr) Variable UniformConstant
|
||||
208: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 209 203 16 199 11 18 209 207(displacementMap) 42
|
||||
212: 24(float) Constant 0
|
||||
215: TypeMatrix 134(fvec4) 4
|
||||
217: TypeBool
|
||||
218: 217(bool) ConstantTrue
|
||||
216: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 135 20 218
|
||||
219: TypeArray 134(fvec4) 10
|
||||
220: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 135 10
|
||||
221(UBO): TypeStruct 215 215 134(fvec4) 219 24(float) 24(float) 27(fvec2) 24(float)
|
||||
224: 6(int) Constant 30
|
||||
225: 6(int) Constant 7
|
||||
222: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 223 216 16 224 225 11 11 12
|
||||
226: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 223 216 16 224 225 11 11 12
|
||||
229: 6(int) Constant 31
|
||||
227: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 228 135 16 229 225 11 11 12
|
||||
230: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 231 220 16 9 225 11 11 12
|
||||
234: 6(int) Constant 36
|
||||
232: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 233 26 16 234 42 11 11 12
|
||||
235: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 233 26 16 234 42 11 11 12
|
||||
238: 6(int) Constant 35
|
||||
236: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 237 28 16 238 225 11 11 12
|
||||
239: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 233 26 16 234 42 11 11 12
|
||||
240: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 241 19 16 199 11 18 241 11 12 222 226 227 230 232 235 236 239
|
||||
242: TypePointer Uniform 221(UBO)
|
||||
243(ubo): 242(ptr) Variable Uniform
|
||||
244: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 245 240 16 199 11 18 245 243(ubo) 42
|
||||
246: 43(int) Constant 4
|
||||
247: TypePointer Uniform 24(float)
|
||||
251: TypePointer Function 24(float)
|
||||
256(gl_PerVertex): TypeStruct 134(fvec4) 24(float) 142 142
|
||||
258: 6(int) Constant 165
|
||||
257: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 135 16 19 258 11 11 12
|
||||
260: 6(int) Constant 183
|
||||
259: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 149 26 16 19 260 11 11 12
|
||||
262: 6(int) Constant 226
|
||||
261: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 152 143 16 19 262 11 11 12
|
||||
263: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 152 143 16 19 262 11 11 12
|
||||
265: 6(int) Constant 71
|
||||
264: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 156 19 16 265 11 18 156 11 12 257 259 261 263
|
||||
266: TypePointer Output 256(gl_PerVertex)
|
||||
267: 266(ptr) Variable Output
|
||||
268: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 17 264 16 265 11 18 17 267 42
|
||||
269: TypePointer Uniform 215
|
||||
277: TypePointer Output 134(fvec4)
|
||||
279(outViewVec): 123(ptr) Variable Output
|
||||
282: 6(int) Constant 74
|
||||
280: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 281 54 16 282 11 18 281 279(outViewVec) 42
|
||||
286(outLightVec): 123(ptr) Variable Output
|
||||
289: 6(int) Constant 75
|
||||
287: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 288 54 16 289 11 18 288 286(outLightVec) 42
|
||||
290: TypePointer Uniform 134(fvec4)
|
||||
297(outWorldPos): 123(ptr) Variable Output
|
||||
300: 6(int) Constant 76
|
||||
298: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 299 54 16 300 11 18 299 297(outWorldPos) 42
|
||||
303(outEyePos): 123(ptr) Variable Output
|
||||
306: 6(int) Constant 77
|
||||
304: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 305 54 16 306 11 18 305 303(outEyePos) 42
|
||||
13(main): 3 Function None 4
|
||||
22: Label
|
||||
30(uv1): 29(ptr) Variable Function
|
||||
64(uv2): 29(ptr) Variable Function
|
||||
91(n1): 90(ptr) Variable Function
|
||||
110(n2): 90(ptr) Variable Function
|
||||
137(pos1): 136(ptr) Variable Function
|
||||
172(pos2): 136(ptr) Variable Function
|
||||
185(pos): 136(ptr) Variable Function
|
||||
23: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 15 13(main)
|
||||
34: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 31 30(uv1) 35
|
||||
48: 47(ptr) AccessChain 39(inUV) 46
|
||||
49: 27(fvec2) Load 48
|
||||
51: 47(ptr) AccessChain 39(inUV) 50
|
||||
52: 27(fvec2) Load 51
|
||||
60: 59(ptr) AccessChain 56(gl_TessCoord) 11
|
||||
61: 24(float) Load 60
|
||||
62: 27(fvec2) CompositeConstruct 61 61
|
||||
63: 27(fvec2) ExtInst 2(GLSL.std.450) 46(FMix) 49 52 62
|
||||
Store 30(uv1) 63
|
||||
68: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 65 64(uv2) 35
|
||||
70: 47(ptr) AccessChain 39(inUV) 69
|
||||
71: 27(fvec2) Load 70
|
||||
73: 47(ptr) AccessChain 39(inUV) 72
|
||||
74: 27(fvec2) Load 73
|
||||
75: 59(ptr) AccessChain 56(gl_TessCoord) 11
|
||||
76: 24(float) Load 75
|
||||
77: 27(fvec2) CompositeConstruct 76 76
|
||||
78: 27(fvec2) ExtInst 2(GLSL.std.450) 46(FMix) 71 74 77
|
||||
Store 64(uv2) 78
|
||||
84: 27(fvec2) Load 30(uv1)
|
||||
85: 27(fvec2) Load 64(uv2)
|
||||
86: 59(ptr) AccessChain 56(gl_TessCoord) 19
|
||||
87: 24(float) Load 86
|
||||
88: 27(fvec2) CompositeConstruct 87 87
|
||||
89: 27(fvec2) ExtInst 2(GLSL.std.450) 46(FMix) 84 85 88
|
||||
Store 80(outUV) 89
|
||||
95: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 92 91(n1) 35
|
||||
102: 55(ptr) AccessChain 99(inNormal) 46
|
||||
103: 53(fvec3) Load 102
|
||||
104: 55(ptr) AccessChain 99(inNormal) 50
|
||||
105: 53(fvec3) Load 104
|
||||
106: 59(ptr) AccessChain 56(gl_TessCoord) 11
|
||||
107: 24(float) Load 106
|
||||
108: 53(fvec3) CompositeConstruct 107 107 107
|
||||
109: 53(fvec3) ExtInst 2(GLSL.std.450) 46(FMix) 103 105 108
|
||||
Store 91(n1) 109
|
||||
114: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 111 110(n2) 35
|
||||
115: 55(ptr) AccessChain 99(inNormal) 69
|
||||
116: 53(fvec3) Load 115
|
||||
117: 55(ptr) AccessChain 99(inNormal) 72
|
||||
118: 53(fvec3) Load 117
|
||||
119: 59(ptr) AccessChain 56(gl_TessCoord) 11
|
||||
120: 24(float) Load 119
|
||||
121: 53(fvec3) CompositeConstruct 120 120 120
|
||||
122: 53(fvec3) ExtInst 2(GLSL.std.450) 46(FMix) 116 118 121
|
||||
Store 110(n2) 122
|
||||
128: 53(fvec3) Load 91(n1)
|
||||
129: 53(fvec3) Load 110(n2)
|
||||
130: 59(ptr) AccessChain 56(gl_TessCoord) 19
|
||||
131: 24(float) Load 130
|
||||
132: 53(fvec3) CompositeConstruct 131 131 131
|
||||
133: 53(fvec3) ExtInst 2(GLSL.std.450) 46(FMix) 128 129 132
|
||||
Store 124(outNormal) 133
|
||||
141: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 138 137(pos1) 35
|
||||
164: 163(ptr) AccessChain 160(gl_in) 46 46
|
||||
165: 134(fvec4) Load 164
|
||||
166: 163(ptr) AccessChain 160(gl_in) 50 46
|
||||
167: 134(fvec4) Load 166
|
||||
168: 59(ptr) AccessChain 56(gl_TessCoord) 11
|
||||
169: 24(float) Load 168
|
||||
170: 134(fvec4) CompositeConstruct 169 169 169 169
|
||||
171: 134(fvec4) ExtInst 2(GLSL.std.450) 46(FMix) 165 167 170
|
||||
Store 137(pos1) 171
|
||||
176: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 173 172(pos2) 35
|
||||
177: 163(ptr) AccessChain 160(gl_in) 69 46
|
||||
178: 134(fvec4) Load 177
|
||||
179: 163(ptr) AccessChain 160(gl_in) 72 46
|
||||
180: 134(fvec4) Load 179
|
||||
181: 59(ptr) AccessChain 56(gl_TessCoord) 11
|
||||
182: 24(float) Load 181
|
||||
183: 134(fvec4) CompositeConstruct 182 182 182 182
|
||||
184: 134(fvec4) ExtInst 2(GLSL.std.450) 46(FMix) 178 180 183
|
||||
Store 172(pos2) 184
|
||||
189: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 186 185(pos) 35
|
||||
190: 134(fvec4) Load 137(pos1)
|
||||
191: 134(fvec4) Load 172(pos2)
|
||||
192: 59(ptr) AccessChain 56(gl_TessCoord) 19
|
||||
193: 24(float) Load 192
|
||||
194: 134(fvec4) CompositeConstruct 193 193 193 193
|
||||
195: 134(fvec4) ExtInst 2(GLSL.std.450) 46(FMix) 190 191 194
|
||||
Store 185(pos) 195
|
||||
210: 202 Load 207(displacementMap)
|
||||
211: 27(fvec2) Load 80(outUV)
|
||||
213: 134(fvec4) ImageSampleExplicitLod 210 211 Lod 212
|
||||
214: 24(float) CompositeExtract 213 0
|
||||
248: 247(ptr) AccessChain 243(ubo) 246
|
||||
249: 24(float) Load 248
|
||||
250: 24(float) FMul 214 249
|
||||
252: 251(ptr) AccessChain 185(pos) 19
|
||||
253: 24(float) Load 252
|
||||
254: 24(float) FSub 253 250
|
||||
255: 251(ptr) AccessChain 185(pos) 19
|
||||
Store 255 254
|
||||
270: 269(ptr) AccessChain 243(ubo) 46
|
||||
271: 215 Load 270
|
||||
272: 269(ptr) AccessChain 243(ubo) 50
|
||||
273: 215 Load 272
|
||||
274: 215 MatrixTimesMatrix 271 273
|
||||
275: 134(fvec4) Load 185(pos)
|
||||
276: 134(fvec4) MatrixTimesVector 274 275
|
||||
278: 277(ptr) AccessChain 267 46
|
||||
Store 278 276
|
||||
283: 134(fvec4) Load 185(pos)
|
||||
284: 53(fvec3) VectorShuffle 283 283 0 1 2
|
||||
285: 53(fvec3) FNegate 284
|
||||
Store 279(outViewVec) 285
|
||||
291: 290(ptr) AccessChain 243(ubo) 72
|
||||
292: 134(fvec4) Load 291
|
||||
293: 53(fvec3) VectorShuffle 292 292 0 1 2
|
||||
294: 53(fvec3) Load 279(outViewVec)
|
||||
295: 53(fvec3) FAdd 293 294
|
||||
296: 53(fvec3) ExtInst 2(GLSL.std.450) 69(Normalize) 295
|
||||
Store 286(outLightVec) 296
|
||||
301: 134(fvec4) Load 185(pos)
|
||||
302: 53(fvec3) VectorShuffle 301 301 0 1 2
|
||||
Store 297(outWorldPos) 302
|
||||
307: 269(ptr) AccessChain 243(ubo) 50
|
||||
308: 215 Load 307
|
||||
309: 134(fvec4) Load 185(pos)
|
||||
310: 134(fvec4) MatrixTimesVector 308 309
|
||||
311: 24(float) CompositeExtract 310 0
|
||||
312: 24(float) CompositeExtract 310 1
|
||||
313: 24(float) CompositeExtract 310 2
|
||||
314: 53(fvec3) CompositeConstruct 311 312 313
|
||||
Store 303(outEyePos) 314
|
||||
EntryPoint TessellationEvaluation 14 "main" 42 59 86 105 133 169 280 294 302 314 321
|
||||
ExecutionMode 14 Quads
|
||||
ExecutionMode 14 SpacingEqual
|
||||
ExecutionMode 14 VertexOrderCw
|
||||
1: String ""
|
||||
9: String "uint"
|
||||
15: String "main"
|
||||
18: String "// OpModuleProcessed auto-map-locations
|
||||
// OpModuleProcessed auto-map-bindings
|
||||
// OpModuleProcessed client vulkan100
|
||||
// OpModuleProcessed target-env vulkan1.0
|
||||
// OpModuleProcessed keep-uncalled
|
||||
// OpModuleProcessed entry-point main
|
||||
#line 1
|
||||
"
|
||||
29: String "float"
|
||||
36: String "uv1"
|
||||
44: String "inUV"
|
||||
47: String "int"
|
||||
61: String "gl_TessCoord"
|
||||
71: String "uv2"
|
||||
88: String "outUV"
|
||||
100: String "n1"
|
||||
107: String "inNormal"
|
||||
120: String "n2"
|
||||
135: String "outNormal"
|
||||
149: String "pos1"
|
||||
155: String "gl_Position"
|
||||
158: String "gl_PointSize"
|
||||
161: String "gl_CullDistance"
|
||||
165: String "gl_PerVertex"
|
||||
171: String "gl_in"
|
||||
185: String "pos2"
|
||||
199: String "pos"
|
||||
211: String "type.2d.image"
|
||||
212: String "@type.2d.image"
|
||||
216: String "type.sampled.image"
|
||||
217: String "@type.sampled.image"
|
||||
221: String "displacementMap"
|
||||
235: String "modelview"
|
||||
240: String "lightPos"
|
||||
243: String "frustumPlanes"
|
||||
245: String "tessellatedEdgeSize"
|
||||
249: String "viewportDim"
|
||||
253: String "UBO"
|
||||
257: String "ubo"
|
||||
296: String "outViewVec"
|
||||
304: String "outLightVec"
|
||||
316: String "outWorldPos"
|
||||
323: String "outEyePos"
|
||||
Name 14 "main"
|
||||
Name 34 "uv1"
|
||||
Name 42 "inUV"
|
||||
Name 59 "gl_TessCoord"
|
||||
Name 69 "uv2"
|
||||
Name 86 "outUV"
|
||||
Name 98 "n1"
|
||||
Name 105 "inNormal"
|
||||
Name 118 "n2"
|
||||
Name 133 "outNormal"
|
||||
Name 147 "pos1"
|
||||
Name 153 "gl_PerVertex"
|
||||
MemberName 153(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 153(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 153(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
MemberName 153(gl_PerVertex) 3 "gl_CullDistance"
|
||||
Name 169 "gl_in"
|
||||
Name 183 "pos2"
|
||||
Name 197 "pos"
|
||||
Name 219 "displacementMap"
|
||||
Name 233 "UBO"
|
||||
MemberName 233(UBO) 0 "projection"
|
||||
MemberName 233(UBO) 1 "modelview"
|
||||
MemberName 233(UBO) 2 "lightPos"
|
||||
MemberName 233(UBO) 3 "frustumPlanes"
|
||||
MemberName 233(UBO) 4 "displacementFactor"
|
||||
MemberName 233(UBO) 5 "tessellationFactor"
|
||||
MemberName 233(UBO) 6 "viewportDim"
|
||||
MemberName 233(UBO) 7 "tessellatedEdgeSize"
|
||||
Name 255 "ubo"
|
||||
Name 270 "gl_PerVertex"
|
||||
MemberName 270(gl_PerVertex) 0 "gl_Position"
|
||||
MemberName 270(gl_PerVertex) 1 "gl_PointSize"
|
||||
MemberName 270(gl_PerVertex) 2 "gl_ClipDistance"
|
||||
MemberName 270(gl_PerVertex) 3 "gl_CullDistance"
|
||||
Name 280 ""
|
||||
Name 294 "outViewVec"
|
||||
Name 302 "outLightVec"
|
||||
Name 314 "outWorldPos"
|
||||
Name 321 "outEyePos"
|
||||
Decorate 42(inUV) Location 1
|
||||
Decorate 59(gl_TessCoord) BuiltIn TessCoord
|
||||
Decorate 86(outUV) Location 1
|
||||
Decorate 105(inNormal) Location 0
|
||||
Decorate 133(outNormal) Location 0
|
||||
MemberDecorate 153(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 153(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 153(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
MemberDecorate 153(gl_PerVertex) 3 BuiltIn CullDistance
|
||||
Decorate 153(gl_PerVertex) Block
|
||||
Decorate 219(displacementMap) DescriptorSet 0
|
||||
Decorate 219(displacementMap) Binding 1
|
||||
Decorate 231 ArrayStride 16
|
||||
MemberDecorate 233(UBO) 0 ColMajor
|
||||
MemberDecorate 233(UBO) 0 Offset 0
|
||||
MemberDecorate 233(UBO) 0 MatrixStride 16
|
||||
MemberDecorate 233(UBO) 1 ColMajor
|
||||
MemberDecorate 233(UBO) 1 Offset 64
|
||||
MemberDecorate 233(UBO) 1 MatrixStride 16
|
||||
MemberDecorate 233(UBO) 2 Offset 128
|
||||
MemberDecorate 233(UBO) 3 Offset 144
|
||||
MemberDecorate 233(UBO) 4 Offset 240
|
||||
MemberDecorate 233(UBO) 5 Offset 244
|
||||
MemberDecorate 233(UBO) 6 Offset 248
|
||||
MemberDecorate 233(UBO) 7 Offset 256
|
||||
Decorate 233(UBO) Block
|
||||
Decorate 255(ubo) DescriptorSet 0
|
||||
Decorate 255(ubo) Binding 0
|
||||
MemberDecorate 270(gl_PerVertex) 0 BuiltIn Position
|
||||
MemberDecorate 270(gl_PerVertex) 1 BuiltIn PointSize
|
||||
MemberDecorate 270(gl_PerVertex) 2 BuiltIn ClipDistance
|
||||
MemberDecorate 270(gl_PerVertex) 3 BuiltIn CullDistance
|
||||
Decorate 270(gl_PerVertex) Block
|
||||
Decorate 294(outViewVec) Location 2
|
||||
Decorate 302(outLightVec) Location 3
|
||||
Decorate 314(outWorldPos) Location 5
|
||||
Decorate 321(outEyePos) Location 4
|
||||
4: TypeVoid
|
||||
5: TypeFunction 4
|
||||
7: TypeInt 32 0
|
||||
10: 7(int) Constant 32
|
||||
11: 7(int) Constant 6
|
||||
12: 7(int) Constant 0
|
||||
8: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 10 11 12
|
||||
13: 7(int) Constant 3
|
||||
6: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
|
||||
17: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 18
|
||||
20: 7(int) Constant 1
|
||||
21: 7(int) Constant 4
|
||||
22: 7(int) Constant 2
|
||||
19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 20 21 17 22
|
||||
16: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 15 6 17 12 12 19 15 13 12
|
||||
27: 7(int) Constant 56
|
||||
28: TypeFloat 32
|
||||
30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 29 10 13 12
|
||||
31: TypeVector 28(float) 2
|
||||
32: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 30 22
|
||||
33: TypePointer Function 31(fvec2)
|
||||
35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 36 32 17 27 12 16 21
|
||||
38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
||||
39: TypeArray 31(fvec2) 10
|
||||
40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 32 10
|
||||
41: TypePointer Input 39
|
||||
42(inUV): 41(ptr) Variable Input
|
||||
45: 7(int) Constant 8
|
||||
43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 44 40 17 27 12 19 44 42(inUV) 45
|
||||
46: TypeInt 32 1
|
||||
48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 47 10 21 12
|
||||
49: 46(int) Constant 0
|
||||
50: TypePointer Input 31(fvec2)
|
||||
53: 46(int) Constant 1
|
||||
56: TypeVector 28(float) 3
|
||||
57: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 30 13
|
||||
58: TypePointer Input 56(fvec3)
|
||||
59(gl_TessCoord): 58(ptr) Variable Input
|
||||
60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 61 57 17 27 12 19 61 59(gl_TessCoord) 45
|
||||
62: TypePointer Input 28(float)
|
||||
68: 7(int) Constant 57
|
||||
70: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 71 32 17 68 12 16 21
|
||||
73: 46(int) Constant 3
|
||||
76: 46(int) Constant 2
|
||||
84: 7(int) Constant 58
|
||||
85: TypePointer Output 31(fvec2)
|
||||
86(outUV): 85(ptr) Variable Output
|
||||
87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 88 32 17 84 12 19 88 86(outUV) 45
|
||||
96: 7(int) Constant 60
|
||||
97: TypePointer Function 56(fvec3)
|
||||
99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 100 57 17 96 12 16 21
|
||||
102: TypeArray 56(fvec3) 10
|
||||
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 57 10
|
||||
104: TypePointer Input 102
|
||||
105(inNormal): 104(ptr) Variable Input
|
||||
106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 107 103 17 96 12 19 107 105(inNormal) 45
|
||||
117: 7(int) Constant 61
|
||||
119: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 120 57 17 117 12 16 21
|
||||
131: 7(int) Constant 62
|
||||
132: TypePointer Output 56(fvec3)
|
||||
133(outNormal): 132(ptr) Variable Output
|
||||
134: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 135 57 17 131 12 19 135 133(outNormal) 45
|
||||
143: 7(int) Constant 65
|
||||
144: TypeVector 28(float) 4
|
||||
145: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 30 21
|
||||
146: TypePointer Function 144(fvec4)
|
||||
148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 149 145 17 143 12 16 21
|
||||
151: TypeArray 28(float) 20
|
||||
152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 30 20
|
||||
153(gl_PerVertex): TypeStruct 144(fvec4) 28(float) 151 151
|
||||
156: 7(int) Constant 1756
|
||||
154: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 145 17 20 156 12 12 13
|
||||
159: 7(int) Constant 1774
|
||||
157: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 30 17 20 159 12 12 13
|
||||
162: 7(int) Constant 1817
|
||||
160: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 152 17 20 162 12 12 13
|
||||
163: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 152 17 20 162 12 12 13
|
||||
164: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 165 20 17 143 12 19 165 12 13 154 157 160 163
|
||||
166: TypeArray 153(gl_PerVertex) 10
|
||||
167: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 164 10
|
||||
168: TypePointer Input 166
|
||||
169(gl_in): 168(ptr) Variable Input
|
||||
170: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 171 167 17 143 12 19 171 169(gl_in) 45
|
||||
172: TypePointer Input 144(fvec4)
|
||||
182: 7(int) Constant 66
|
||||
184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 185 145 17 182 12 16 21
|
||||
196: 7(int) Constant 67
|
||||
198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 199 145 17 196 12 16 21
|
||||
208: 7(int) Constant 69
|
||||
209: TypeImage 28(float) 2D sampled format:Unknown
|
||||
213: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 0(DebugInfoNone)
|
||||
210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 211 12 17 208 12 19 212 213 13
|
||||
214: TypeSampledImage 209
|
||||
215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 216 12 17 208 12 19 217 213 13
|
||||
218: TypePointer UniformConstant 214
|
||||
219(displacementMap): 218(ptr) Variable UniformConstant
|
||||
220: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 221 215 17 208 12 19 221 219(displacementMap) 45
|
||||
224: 28(float) Constant 0
|
||||
227: TypeMatrix 144(fvec4) 4
|
||||
229: TypeBool
|
||||
230: 229(bool) ConstantTrue
|
||||
228: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 145 21 230
|
||||
231: TypeArray 144(fvec4) 11
|
||||
232: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 145 11
|
||||
233(UBO): TypeStruct 227 227 144(fvec4) 231 28(float) 28(float) 31(fvec2) 28(float)
|
||||
236: 7(int) Constant 30
|
||||
237: 7(int) Constant 7
|
||||
234: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 235 228 17 236 237 12 12 13
|
||||
238: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 235 228 17 236 237 12 12 13
|
||||
241: 7(int) Constant 31
|
||||
239: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 240 145 17 241 237 12 12 13
|
||||
242: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 243 232 17 10 237 12 12 13
|
||||
246: 7(int) Constant 36
|
||||
244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 245 30 17 246 45 12 12 13
|
||||
247: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 245 30 17 246 45 12 12 13
|
||||
250: 7(int) Constant 35
|
||||
248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 249 32 17 250 237 12 12 13
|
||||
251: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 245 30 17 246 45 12 12 13
|
||||
252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 253 20 17 208 12 19 253 12 13 234 238 239 242 244 247 248 251
|
||||
254: TypePointer Uniform 233(UBO)
|
||||
255(ubo): 254(ptr) Variable Uniform
|
||||
256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 257 252 17 208 12 19 257 255(ubo) 45
|
||||
258: 46(int) Constant 4
|
||||
259: TypePointer Uniform 28(float)
|
||||
263: TypePointer Function 28(float)
|
||||
269: 7(int) Constant 71
|
||||
270(gl_PerVertex): TypeStruct 144(fvec4) 28(float) 151 151
|
||||
272: 7(int) Constant 165
|
||||
271: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 155 145 17 20 272 12 12 13
|
||||
274: 7(int) Constant 183
|
||||
273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 158 30 17 20 274 12 12 13
|
||||
276: 7(int) Constant 226
|
||||
275: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 152 17 20 276 12 12 13
|
||||
277: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 161 152 17 20 276 12 12 13
|
||||
278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 165 20 17 269 12 19 165 12 13 271 273 275 277
|
||||
279: TypePointer Output 270(gl_PerVertex)
|
||||
280: 279(ptr) Variable Output
|
||||
281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 278 17 269 12 19 1 280 45
|
||||
282: TypePointer Uniform 227
|
||||
290: TypePointer Output 144(fvec4)
|
||||
293: 7(int) Constant 74
|
||||
294(outViewVec): 132(ptr) Variable Output
|
||||
295: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 296 57 17 293 12 19 296 294(outViewVec) 45
|
||||
301: 7(int) Constant 75
|
||||
302(outLightVec): 132(ptr) Variable Output
|
||||
303: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 304 57 17 301 12 19 304 302(outLightVec) 45
|
||||
305: TypePointer Uniform 144(fvec4)
|
||||
313: 7(int) Constant 76
|
||||
314(outWorldPos): 132(ptr) Variable Output
|
||||
315: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 316 57 17 313 12 19 316 314(outWorldPos) 45
|
||||
320: 7(int) Constant 77
|
||||
321(outEyePos): 132(ptr) Variable Output
|
||||
322: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 323 57 17 320 12 19 323 321(outEyePos) 45
|
||||
Line 1 53 11
|
||||
14(main): 4 Function None 5
|
||||
23: Label
|
||||
34(uv1): 33(ptr) Variable Function
|
||||
69(uv2): 33(ptr) Variable Function
|
||||
98(n1): 97(ptr) Variable Function
|
||||
118(n2): 97(ptr) Variable Function
|
||||
147(pos1): 146(ptr) Variable Function
|
||||
183(pos2): 146(ptr) Variable Function
|
||||
197(pos): 146(ptr) Variable Function
|
||||
24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 16 14(main)
|
||||
25: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 16
|
||||
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 27 27 12 12
|
||||
37: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 35 34(uv1) 38
|
||||
51: 50(ptr) AccessChain 42(inUV) 49
|
||||
52: 31(fvec2) Load 51
|
||||
54: 50(ptr) AccessChain 42(inUV) 53
|
||||
55: 31(fvec2) Load 54
|
||||
63: 62(ptr) AccessChain 59(gl_TessCoord) 12
|
||||
64: 28(float) Load 63
|
||||
65: 31(fvec2) CompositeConstruct 64 64
|
||||
66: 31(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 52 55 65
|
||||
Store 34(uv1) 66
|
||||
67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 68 68 12 12
|
||||
72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 70 69(uv2) 38
|
||||
74: 50(ptr) AccessChain 42(inUV) 73
|
||||
75: 31(fvec2) Load 74
|
||||
77: 50(ptr) AccessChain 42(inUV) 76
|
||||
78: 31(fvec2) Load 77
|
||||
79: 62(ptr) AccessChain 59(gl_TessCoord) 12
|
||||
80: 28(float) Load 79
|
||||
81: 31(fvec2) CompositeConstruct 80 80
|
||||
82: 31(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 75 78 81
|
||||
Store 69(uv2) 82
|
||||
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 84 84 12 12
|
||||
89: 31(fvec2) Load 34(uv1)
|
||||
90: 31(fvec2) Load 69(uv2)
|
||||
91: 62(ptr) AccessChain 59(gl_TessCoord) 20
|
||||
92: 28(float) Load 91
|
||||
93: 31(fvec2) CompositeConstruct 92 92
|
||||
94: 31(fvec2) ExtInst 3(GLSL.std.450) 46(FMix) 89 90 93
|
||||
Store 86(outUV) 94
|
||||
95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 96 96 12 12
|
||||
101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 99 98(n1) 38
|
||||
108: 58(ptr) AccessChain 105(inNormal) 49
|
||||
109: 56(fvec3) Load 108
|
||||
110: 58(ptr) AccessChain 105(inNormal) 53
|
||||
111: 56(fvec3) Load 110
|
||||
112: 62(ptr) AccessChain 59(gl_TessCoord) 12
|
||||
113: 28(float) Load 112
|
||||
114: 56(fvec3) CompositeConstruct 113 113 113
|
||||
115: 56(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 109 111 114
|
||||
Store 98(n1) 115
|
||||
116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 117 117 12 12
|
||||
121: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 119 118(n2) 38
|
||||
122: 58(ptr) AccessChain 105(inNormal) 73
|
||||
123: 56(fvec3) Load 122
|
||||
124: 58(ptr) AccessChain 105(inNormal) 76
|
||||
125: 56(fvec3) Load 124
|
||||
126: 62(ptr) AccessChain 59(gl_TessCoord) 12
|
||||
127: 28(float) Load 126
|
||||
128: 56(fvec3) CompositeConstruct 127 127 127
|
||||
129: 56(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 123 125 128
|
||||
Store 118(n2) 129
|
||||
130: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 131 131 12 12
|
||||
136: 56(fvec3) Load 98(n1)
|
||||
137: 56(fvec3) Load 118(n2)
|
||||
138: 62(ptr) AccessChain 59(gl_TessCoord) 20
|
||||
139: 28(float) Load 138
|
||||
140: 56(fvec3) CompositeConstruct 139 139 139
|
||||
141: 56(fvec3) ExtInst 3(GLSL.std.450) 46(FMix) 136 137 140
|
||||
Store 133(outNormal) 141
|
||||
142: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 143 143 12 12
|
||||
150: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 148 147(pos1) 38
|
||||
173: 172(ptr) AccessChain 169(gl_in) 49 49
|
||||
174: 144(fvec4) Load 173
|
||||
175: 172(ptr) AccessChain 169(gl_in) 53 49
|
||||
176: 144(fvec4) Load 175
|
||||
177: 62(ptr) AccessChain 59(gl_TessCoord) 12
|
||||
178: 28(float) Load 177
|
||||
179: 144(fvec4) CompositeConstruct 178 178 178 178
|
||||
180: 144(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 174 176 179
|
||||
Store 147(pos1) 180
|
||||
181: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 182 182 12 12
|
||||
186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 184 183(pos2) 38
|
||||
187: 172(ptr) AccessChain 169(gl_in) 73 49
|
||||
188: 144(fvec4) Load 187
|
||||
189: 172(ptr) AccessChain 169(gl_in) 76 49
|
||||
190: 144(fvec4) Load 189
|
||||
191: 62(ptr) AccessChain 59(gl_TessCoord) 12
|
||||
192: 28(float) Load 191
|
||||
193: 144(fvec4) CompositeConstruct 192 192 192 192
|
||||
194: 144(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 188 190 193
|
||||
Store 183(pos2) 194
|
||||
195: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 196 196 12 12
|
||||
200: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 198 197(pos) 38
|
||||
201: 144(fvec4) Load 147(pos1)
|
||||
202: 144(fvec4) Load 183(pos2)
|
||||
203: 62(ptr) AccessChain 59(gl_TessCoord) 20
|
||||
204: 28(float) Load 203
|
||||
205: 144(fvec4) CompositeConstruct 204 204 204 204
|
||||
206: 144(fvec4) ExtInst 3(GLSL.std.450) 46(FMix) 201 202 205
|
||||
Store 197(pos) 206
|
||||
207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 208 208 12 12
|
||||
222: 214 Load 219(displacementMap)
|
||||
223: 31(fvec2) Load 86(outUV)
|
||||
225: 144(fvec4) ImageSampleExplicitLod 222 223 Lod 224
|
||||
226: 28(float) CompositeExtract 225 0
|
||||
260: 259(ptr) AccessChain 255(ubo) 258
|
||||
261: 28(float) Load 260
|
||||
262: 28(float) FMul 226 261
|
||||
264: 263(ptr) AccessChain 197(pos) 20
|
||||
265: 28(float) Load 264
|
||||
266: 28(float) FSub 265 262
|
||||
267: 263(ptr) AccessChain 197(pos) 20
|
||||
Store 267 266
|
||||
268: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 269 269 12 12
|
||||
283: 282(ptr) AccessChain 255(ubo) 49
|
||||
284: 227 Load 283
|
||||
285: 282(ptr) AccessChain 255(ubo) 53
|
||||
286: 227 Load 285
|
||||
287: 227 MatrixTimesMatrix 284 286
|
||||
288: 144(fvec4) Load 197(pos)
|
||||
289: 144(fvec4) MatrixTimesVector 287 288
|
||||
291: 290(ptr) AccessChain 280 49
|
||||
Store 291 289
|
||||
292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 293 293 12 12
|
||||
297: 144(fvec4) Load 197(pos)
|
||||
298: 56(fvec3) VectorShuffle 297 297 0 1 2
|
||||
299: 56(fvec3) FNegate 298
|
||||
Store 294(outViewVec) 299
|
||||
300: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 301 301 12 12
|
||||
306: 305(ptr) AccessChain 255(ubo) 76
|
||||
307: 144(fvec4) Load 306
|
||||
308: 56(fvec3) VectorShuffle 307 307 0 1 2
|
||||
309: 56(fvec3) Load 294(outViewVec)
|
||||
310: 56(fvec3) FAdd 308 309
|
||||
311: 56(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 310
|
||||
Store 302(outLightVec) 311
|
||||
312: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 313 313 12 12
|
||||
317: 144(fvec4) Load 197(pos)
|
||||
318: 56(fvec3) VectorShuffle 317 317 0 1 2
|
||||
Store 314(outWorldPos) 318
|
||||
319: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 17 320 320 12 12
|
||||
324: 282(ptr) AccessChain 255(ubo) 53
|
||||
325: 227 Load 324
|
||||
326: 144(fvec4) Load 197(pos)
|
||||
327: 144(fvec4) MatrixTimesVector 325 326
|
||||
328: 28(float) CompositeExtract 327 0
|
||||
329: 28(float) CompositeExtract 327 1
|
||||
330: 28(float) CompositeExtract 327 2
|
||||
331: 56(fvec3) CompositeConstruct 328 329 330
|
||||
Store 321(outEyePos) 331
|
||||
Return
|
||||
FunctionEnd
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,458 +1,499 @@
|
||||
spv.debuginfo.hlsl.geom
|
||||
Validation failed
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 322
|
||||
// Id's are bound by 353
|
||||
|
||||
Capability Geometry
|
||||
Capability MultiViewport
|
||||
Extension "SPV_KHR_non_semantic_info"
|
||||
1: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
||||
2: ExtInstImport "GLSL.std.450"
|
||||
2: ExtInstImport "NonSemantic.Shader.DebugInfo.100"
|
||||
3: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Geometry 5 "main" 228 235 240 246 251 256 261 271 278 283 307 310
|
||||
ExecutionMode 5 Triangles
|
||||
ExecutionMode 5 Invocations 2
|
||||
ExecutionMode 5 OutputTriangleStrip
|
||||
ExecutionMode 5 OutputVertices 3
|
||||
9: String "float"
|
||||
12: String "uint"
|
||||
24: String "Pos"
|
||||
26: String ""
|
||||
30: String "Color"
|
||||
35: String "VSOutput"
|
||||
46: String "PrimitiveID"
|
||||
51: String "LightVec"
|
||||
57: String "GSOutput"
|
||||
67: String "@main"
|
||||
73: String "input"
|
||||
77: String "outStream"
|
||||
81: String "InvocationID"
|
||||
87: String "int"
|
||||
92: String "i"
|
||||
104: String "bool"
|
||||
109: String "output"
|
||||
130: String "projection"
|
||||
134: String "modelview"
|
||||
138: String "lightPos"
|
||||
142: String "UBO"
|
||||
146: String "ubo"
|
||||
177: String "pos"
|
||||
185: String "worldPos"
|
||||
195: String "lPos"
|
||||
230: String "outStream.Pos"
|
||||
237: String "outStream.ViewportIndex"
|
||||
242: String "outStream.PrimitiveID"
|
||||
248: String "outStream.Normal"
|
||||
253: String "outStream.Color"
|
||||
258: String "outStream.ViewVec"
|
||||
263: String "outStream.LightVec"
|
||||
Name 5 "main"
|
||||
Name 22 "VSOutput"
|
||||
MemberName 22(VSOutput) 0 "Pos"
|
||||
MemberName 22(VSOutput) 1 "Normal"
|
||||
MemberName 22(VSOutput) 2 "Color"
|
||||
Name 42 "GSOutput"
|
||||
MemberName 42(GSOutput) 0 "Pos"
|
||||
MemberName 42(GSOutput) 1 "ViewportIndex"
|
||||
MemberName 42(GSOutput) 2 "PrimitiveID"
|
||||
MemberName 42(GSOutput) 3 "Normal"
|
||||
MemberName 42(GSOutput) 4 "Color"
|
||||
MemberName 42(GSOutput) 5 "ViewVec"
|
||||
MemberName 42(GSOutput) 6 "LightVec"
|
||||
Name 66 "@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;"
|
||||
Name 62 "input"
|
||||
Name 63 "outStream"
|
||||
Name 64 "InvocationID"
|
||||
Name 65 "PrimitiveID"
|
||||
Name 90 "i"
|
||||
Name 107 "output"
|
||||
Name 128 "UBO"
|
||||
MemberName 128(UBO) 0 "projection"
|
||||
MemberName 128(UBO) 1 "modelview"
|
||||
MemberName 128(UBO) 2 "lightPos"
|
||||
Name 144 "ubo"
|
||||
MemberName 144(ubo) 0 "ubo"
|
||||
Name 150 ""
|
||||
Name 175 "pos"
|
||||
Name 183 "worldPos"
|
||||
Name 193 "lPos"
|
||||
Name 228 "outStream.Pos"
|
||||
Name 235 "outStream.ViewportIndex"
|
||||
Name 240 "outStream.PrimitiveID"
|
||||
Name 246 "outStream.Normal"
|
||||
Name 251 "outStream.Color"
|
||||
Name 256 "outStream.ViewVec"
|
||||
Name 261 "outStream.LightVec"
|
||||
Name 268 "input"
|
||||
Name 271 "input.Pos"
|
||||
Name 278 "input.Normal"
|
||||
Name 283 "input.Color"
|
||||
Name 305 "InvocationID"
|
||||
Name 307 "InvocationID"
|
||||
Name 309 "PrimitiveID"
|
||||
Name 310 "PrimitiveID"
|
||||
Name 312 "outStream"
|
||||
Name 313 "param"
|
||||
Name 315 "param"
|
||||
Name 316 "param"
|
||||
Name 318 "param"
|
||||
Decorate 124 ArrayStride 64
|
||||
Decorate 126 ArrayStride 64
|
||||
MemberDecorate 128(UBO) 0 RowMajor
|
||||
MemberDecorate 128(UBO) 0 Offset 0
|
||||
MemberDecorate 128(UBO) 0 MatrixStride 16
|
||||
MemberDecorate 128(UBO) 1 RowMajor
|
||||
MemberDecorate 128(UBO) 1 Offset 128
|
||||
MemberDecorate 128(UBO) 1 MatrixStride 16
|
||||
MemberDecorate 128(UBO) 2 Offset 256
|
||||
MemberDecorate 144(ubo) 0 Offset 0
|
||||
Decorate 144(ubo) Block
|
||||
Decorate 150 DescriptorSet 0
|
||||
Decorate 150 Binding 0
|
||||
Decorate 228(outStream.Pos) BuiltIn Position
|
||||
Decorate 235(outStream.ViewportIndex) BuiltIn ViewportIndex
|
||||
Decorate 240(outStream.PrimitiveID) BuiltIn PrimitiveId
|
||||
Decorate 246(outStream.Normal) Location 0
|
||||
Decorate 251(outStream.Color) Location 1
|
||||
Decorate 256(outStream.ViewVec) Location 2
|
||||
Decorate 261(outStream.LightVec) Location 3
|
||||
Decorate 271(input.Pos) BuiltIn Position
|
||||
Decorate 278(input.Normal) Location 0
|
||||
Decorate 283(input.Color) Location 1
|
||||
Decorate 307(InvocationID) BuiltIn InvocationId
|
||||
Decorate 310(PrimitiveID) BuiltIn PrimitiveId
|
||||
3: TypeVoid
|
||||
4: TypeFunction 3
|
||||
7: TypeFloat 32
|
||||
10: TypeInt 32 0
|
||||
13: 10(int) Constant 32
|
||||
14: 10(int) Constant 6
|
||||
15: 10(int) Constant 0
|
||||
11: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 12 13 14 15
|
||||
16: 10(int) Constant 3
|
||||
8: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 13 16 15
|
||||
17: TypeVector 7(float) 4
|
||||
18: 10(int) Constant 4
|
||||
19: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 8 18
|
||||
20: TypeVector 7(float) 3
|
||||
21: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 8 16
|
||||
22(VSOutput): TypeStruct 17(fvec4) 20(fvec3) 20(fvec3)
|
||||
25: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 0 26
|
||||
27: 10(int) Constant 37
|
||||
28: 10(int) Constant 13
|
||||
23: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 24 19 25 27 28 15 15 16
|
||||
31: 10(int) Constant 39
|
||||
32: 10(int) Constant 34
|
||||
29: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 30 21 25 31 32 15 15 16
|
||||
33: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 30 21 25 31 32 15 15 16
|
||||
36: 10(int) Constant 1
|
||||
38: 10(int) Constant 5
|
||||
37: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 36 18 25 38
|
||||
34: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 35 36 25 15 15 37 35 15 16 23 29 33
|
||||
39: TypeArray 22(VSOutput) 16
|
||||
40: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 34 16
|
||||
41: TypePointer Function 39
|
||||
42(GSOutput): TypeStruct 17(fvec4) 10(int) 10(int) 20(fvec3) 20(fvec3) 20(fvec3) 20(fvec3)
|
||||
44: 10(int) Constant 44
|
||||
43: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 24 19 25 44 28 15 15 16
|
||||
47: 10(int) Constant 46
|
||||
48: 10(int) Constant 19
|
||||
45: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 46 11 25 47 48 15 15 16
|
||||
49: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 46 11 25 47 48 15 15 16
|
||||
52: 10(int) Constant 50
|
||||
50: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 51 21 25 52 27 15 15 16
|
||||
53: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 51 21 25 52 27 15 15 16
|
||||
54: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 51 21 25 52 27 15 15 16
|
||||
55: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 51 21 25 52 27 15 15 16
|
||||
56: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 57 36 25 15 15 37 57 15 16 43 45 49 50 53 54 55
|
||||
58: TypePointer Function 42(GSOutput)
|
||||
59: TypePointer Function 10(int)
|
||||
60: TypeFunction 3 41(ptr) 58(ptr) 59(ptr) 59(ptr)
|
||||
61: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 16 3 40 56 11 11
|
||||
68: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 67 61 25 15 15 37 67 16 15
|
||||
72: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 73 40 25 15 15 68 18 36
|
||||
75: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
||||
78: 10(int) Constant 2
|
||||
76: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 77 56 25 15 15 68 18 78
|
||||
80: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 81 11 25 15 15 68 18 16
|
||||
83: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 46 11 25 15 15 68 18 18
|
||||
86: TypeInt 32 1
|
||||
88: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 87 13 18 15
|
||||
89: TypePointer Function 86(int)
|
||||
93: 10(int) Constant 57
|
||||
91: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 92 88 25 93 15 68 18
|
||||
95: 86(int) Constant 0
|
||||
102: 86(int) Constant 3
|
||||
103: TypeBool
|
||||
105: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 104 13 78 15
|
||||
110: 10(int) Constant 59
|
||||
108: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 109 56 25 110 15 68 18
|
||||
112: 7(float) Constant 0
|
||||
113: 17(fvec4) ConstantComposite 112 112 112 112
|
||||
114: 20(fvec3) ConstantComposite 112 112 112
|
||||
115:42(GSOutput) ConstantComposite 113 15 15 114 114 114 114
|
||||
117: 86(int) Constant 1
|
||||
118: TypePointer Function 20(fvec3)
|
||||
121: TypeMatrix 17(fvec4) 4
|
||||
123: 103(bool) ConstantTrue
|
||||
122: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 19 18 123
|
||||
124: TypeArray 121 78
|
||||
125: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 122 78
|
||||
126: TypeArray 121 78
|
||||
127: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 122 78
|
||||
128(UBO): TypeStruct 124 126 17(fvec4)
|
||||
131: 10(int) Constant 28
|
||||
132: 10(int) Constant 21
|
||||
129: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 130 125 25 131 132 15 15 16
|
||||
135: 10(int) Constant 29
|
||||
136: 10(int) Constant 20
|
||||
133: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 134 127 25 135 136 15 15 16
|
||||
139: 10(int) Constant 30
|
||||
140: 10(int) Constant 17
|
||||
137: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 138 19 25 139 140 15 15 16
|
||||
143: 10(int) Constant 60
|
||||
141: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 142 36 25 143 15 37 142 15 16 129 133 137
|
||||
144(ubo): TypeStruct 128(UBO)
|
||||
147: 10(int) Constant 33
|
||||
145: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 146 141 25 147 27 15 15 16
|
||||
148: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 146 36 25 143 15 37 146 15 16 145
|
||||
149: TypePointer Uniform 144(ubo)
|
||||
150: 149(ptr) Variable Uniform
|
||||
152: 10(int) Constant 8
|
||||
151: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 26 148 25 143 15 37 26 150 152
|
||||
154: TypePointer Uniform 121
|
||||
157: TypeMatrix 20(fvec3) 3
|
||||
158: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 21 16 123
|
||||
168: 86(int) Constant 4
|
||||
170: 86(int) Constant 2
|
||||
174: TypePointer Function 17(fvec4)
|
||||
178: 10(int) Constant 63
|
||||
176: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 177 19 25 178 15 68 18
|
||||
186: 10(int) Constant 64
|
||||
184: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 185 19 25 186 15 68 18
|
||||
196: 10(int) Constant 66
|
||||
194: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 195 21 25 196 15 68 18
|
||||
198: TypePointer Uniform 17(fvec4)
|
||||
206: 86(int) Constant 6
|
||||
212: 86(int) Constant 5
|
||||
227: TypePointer Output 17(fvec4)
|
||||
228(outStream.Pos): 227(ptr) Variable Output
|
||||
231: 10(int) Constant 75
|
||||
229: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 230 19 25 231 15 37 230 228(outStream.Pos) 152
|
||||
234: TypePointer Output 10(int)
|
||||
235(outStream.ViewportIndex): 234(ptr) Variable Output
|
||||
236: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 237 11 25 231 15 37 237 235(outStream.ViewportIndex) 152
|
||||
240(outStream.PrimitiveID): 234(ptr) Variable Output
|
||||
241: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 242 11 25 231 15 37 242 240(outStream.PrimitiveID) 152
|
||||
245: TypePointer Output 20(fvec3)
|
||||
246(outStream.Normal): 245(ptr) Variable Output
|
||||
247: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 248 21 25 231 15 37 248 246(outStream.Normal) 152
|
||||
251(outStream.Color): 245(ptr) Variable Output
|
||||
252: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 253 21 25 231 15 37 253 251(outStream.Color) 152
|
||||
256(outStream.ViewVec): 245(ptr) Variable Output
|
||||
257: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 258 21 25 231 15 37 258 256(outStream.ViewVec) 152
|
||||
261(outStream.LightVec): 245(ptr) Variable Output
|
||||
262: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 263 21 25 231 15 37 263 261(outStream.LightVec) 152
|
||||
269: TypeArray 17(fvec4) 16
|
||||
270: TypePointer Input 269
|
||||
271(input.Pos): 270(ptr) Variable Input
|
||||
272: TypePointer Input 17(fvec4)
|
||||
276: TypeArray 20(fvec3) 16
|
||||
277: TypePointer Input 276
|
||||
278(input.Normal): 277(ptr) Variable Input
|
||||
279: TypePointer Input 20(fvec3)
|
||||
283(input.Color): 277(ptr) Variable Input
|
||||
306: TypePointer Input 10(int)
|
||||
307(InvocationID): 306(ptr) Variable Input
|
||||
310(PrimitiveID): 306(ptr) Variable Input
|
||||
5(main): 3 Function None 4
|
||||
6: Label
|
||||
268(input): 41(ptr) Variable Function
|
||||
305(InvocationID): 59(ptr) Variable Function
|
||||
309(PrimitiveID): 59(ptr) Variable Function
|
||||
312(outStream): 58(ptr) Variable Function
|
||||
313(param): 41(ptr) Variable Function
|
||||
315(param): 58(ptr) Variable Function
|
||||
316(param): 59(ptr) Variable Function
|
||||
318(param): 59(ptr) Variable Function
|
||||
273: 272(ptr) AccessChain 271(input.Pos) 95
|
||||
274: 17(fvec4) Load 273
|
||||
275: 174(ptr) AccessChain 268(input) 95 95
|
||||
Store 275 274
|
||||
280: 279(ptr) AccessChain 278(input.Normal) 95
|
||||
281: 20(fvec3) Load 280
|
||||
282: 118(ptr) AccessChain 268(input) 95 117
|
||||
Store 282 281
|
||||
284: 279(ptr) AccessChain 283(input.Color) 95
|
||||
285: 20(fvec3) Load 284
|
||||
286: 118(ptr) AccessChain 268(input) 95 170
|
||||
Store 286 285
|
||||
287: 272(ptr) AccessChain 271(input.Pos) 117
|
||||
288: 17(fvec4) Load 287
|
||||
289: 174(ptr) AccessChain 268(input) 117 95
|
||||
Store 289 288
|
||||
290: 279(ptr) AccessChain 278(input.Normal) 117
|
||||
291: 20(fvec3) Load 290
|
||||
292: 118(ptr) AccessChain 268(input) 117 117
|
||||
Store 292 291
|
||||
293: 279(ptr) AccessChain 283(input.Color) 117
|
||||
294: 20(fvec3) Load 293
|
||||
295: 118(ptr) AccessChain 268(input) 117 170
|
||||
Store 295 294
|
||||
296: 272(ptr) AccessChain 271(input.Pos) 170
|
||||
297: 17(fvec4) Load 296
|
||||
298: 174(ptr) AccessChain 268(input) 170 95
|
||||
Store 298 297
|
||||
299: 279(ptr) AccessChain 278(input.Normal) 170
|
||||
300: 20(fvec3) Load 299
|
||||
301: 118(ptr) AccessChain 268(input) 170 117
|
||||
Store 301 300
|
||||
302: 279(ptr) AccessChain 283(input.Color) 170
|
||||
303: 20(fvec3) Load 302
|
||||
304: 118(ptr) AccessChain 268(input) 170 170
|
||||
Store 304 303
|
||||
308: 10(int) Load 307(InvocationID)
|
||||
Store 305(InvocationID) 308
|
||||
311: 10(int) Load 310(PrimitiveID)
|
||||
Store 309(PrimitiveID) 311
|
||||
314: 39 Load 268(input)
|
||||
Store 313(param) 314
|
||||
317: 10(int) Load 305(InvocationID)
|
||||
Store 316(param) 317
|
||||
319: 10(int) Load 309(PrimitiveID)
|
||||
Store 318(param) 319
|
||||
320: 3 FunctionCall 66(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) 313(param) 315(param) 316(param) 318(param)
|
||||
321:42(GSOutput) Load 315(param)
|
||||
Store 312(outStream) 321
|
||||
EntryPoint Geometry 6 "main" 255 261 266 272 277 282 287 302 309 314 338 341
|
||||
ExecutionMode 6 Triangles
|
||||
ExecutionMode 6 Invocations 2
|
||||
ExecutionMode 6 OutputTriangleStrip
|
||||
ExecutionMode 6 OutputVertices 3
|
||||
1: String ""
|
||||
10: String "float"
|
||||
13: String "uint"
|
||||
25: String "Pos"
|
||||
27: String "// OpModuleProcessed auto-map-locations
|
||||
// OpModuleProcessed auto-map-bindings
|
||||
// OpModuleProcessed entry-point main
|
||||
// OpModuleProcessed client vulkan100
|
||||
// OpModuleProcessed target-env vulkan1.0
|
||||
// OpModuleProcessed keep-uncalled
|
||||
// OpModuleProcessed hlsl-offsets
|
||||
#line 1
|
||||
"
|
||||
31: String "Color"
|
||||
36: String "VSOutput"
|
||||
47: String "PrimitiveID"
|
||||
52: String "LightVec"
|
||||
58: String "GSOutput"
|
||||
68: String "@main"
|
||||
74: String "input"
|
||||
78: String "outStream"
|
||||
82: String "InvocationID"
|
||||
91: String "int"
|
||||
96: String "i"
|
||||
111: String "bool"
|
||||
119: String "output"
|
||||
141: String "projection"
|
||||
145: String "modelview"
|
||||
149: String "lightPos"
|
||||
153: String "UBO"
|
||||
156: String "ubo"
|
||||
191: String "pos"
|
||||
200: String "worldPos"
|
||||
211: String "lPos"
|
||||
257: String "outStream.Pos"
|
||||
263: String "outStream.ViewportIndex"
|
||||
268: String "outStream.PrimitiveID"
|
||||
274: String "outStream.Normal"
|
||||
279: String "outStream.Color"
|
||||
284: String "outStream.ViewVec"
|
||||
289: String "outStream.LightVec"
|
||||
Name 6 "main"
|
||||
Name 23 "VSOutput"
|
||||
MemberName 23(VSOutput) 0 "Pos"
|
||||
MemberName 23(VSOutput) 1 "Normal"
|
||||
MemberName 23(VSOutput) 2 "Color"
|
||||
Name 43 "GSOutput"
|
||||
MemberName 43(GSOutput) 0 "Pos"
|
||||
MemberName 43(GSOutput) 1 "ViewportIndex"
|
||||
MemberName 43(GSOutput) 2 "PrimitiveID"
|
||||
MemberName 43(GSOutput) 3 "Normal"
|
||||
MemberName 43(GSOutput) 4 "Color"
|
||||
MemberName 43(GSOutput) 5 "ViewVec"
|
||||
MemberName 43(GSOutput) 6 "LightVec"
|
||||
Name 67 "@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;"
|
||||
Name 63 "input"
|
||||
Name 64 "outStream"
|
||||
Name 65 "InvocationID"
|
||||
Name 66 "PrimitiveID"
|
||||
Name 94 "i"
|
||||
Name 117 "output"
|
||||
Name 139 "UBO"
|
||||
MemberName 139(UBO) 0 "projection"
|
||||
MemberName 139(UBO) 1 "modelview"
|
||||
MemberName 139(UBO) 2 "lightPos"
|
||||
Name 154 "ubo"
|
||||
MemberName 154(ubo) 0 "ubo"
|
||||
Name 160 ""
|
||||
Name 189 "pos"
|
||||
Name 198 "worldPos"
|
||||
Name 209 "lPos"
|
||||
Name 255 "outStream.Pos"
|
||||
Name 261 "outStream.ViewportIndex"
|
||||
Name 266 "outStream.PrimitiveID"
|
||||
Name 272 "outStream.Normal"
|
||||
Name 277 "outStream.Color"
|
||||
Name 282 "outStream.ViewVec"
|
||||
Name 287 "outStream.LightVec"
|
||||
Name 299 "input"
|
||||
Name 302 "input.Pos"
|
||||
Name 309 "input.Normal"
|
||||
Name 314 "input.Color"
|
||||
Name 336 "InvocationID"
|
||||
Name 338 "InvocationID"
|
||||
Name 340 "PrimitiveID"
|
||||
Name 341 "PrimitiveID"
|
||||
Name 343 "outStream"
|
||||
Name 344 "param"
|
||||
Name 346 "param"
|
||||
Name 347 "param"
|
||||
Name 349 "param"
|
||||
Decorate 135 ArrayStride 64
|
||||
Decorate 137 ArrayStride 64
|
||||
MemberDecorate 139(UBO) 0 RowMajor
|
||||
MemberDecorate 139(UBO) 0 Offset 0
|
||||
MemberDecorate 139(UBO) 0 MatrixStride 16
|
||||
MemberDecorate 139(UBO) 1 RowMajor
|
||||
MemberDecorate 139(UBO) 1 Offset 128
|
||||
MemberDecorate 139(UBO) 1 MatrixStride 16
|
||||
MemberDecorate 139(UBO) 2 Offset 256
|
||||
MemberDecorate 154(ubo) 0 Offset 0
|
||||
Decorate 154(ubo) Block
|
||||
Decorate 160 DescriptorSet 0
|
||||
Decorate 160 Binding 0
|
||||
Decorate 255(outStream.Pos) BuiltIn Position
|
||||
Decorate 261(outStream.ViewportIndex) BuiltIn ViewportIndex
|
||||
Decorate 266(outStream.PrimitiveID) BuiltIn PrimitiveId
|
||||
Decorate 272(outStream.Normal) Location 0
|
||||
Decorate 277(outStream.Color) Location 1
|
||||
Decorate 282(outStream.ViewVec) Location 2
|
||||
Decorate 287(outStream.LightVec) Location 3
|
||||
Decorate 302(input.Pos) BuiltIn Position
|
||||
Decorate 309(input.Normal) Location 0
|
||||
Decorate 314(input.Color) Location 1
|
||||
Decorate 338(InvocationID) BuiltIn InvocationId
|
||||
Decorate 341(PrimitiveID) BuiltIn PrimitiveId
|
||||
4: TypeVoid
|
||||
5: TypeFunction 4
|
||||
8: TypeFloat 32
|
||||
11: TypeInt 32 0
|
||||
14: 11(int) Constant 32
|
||||
15: 11(int) Constant 6
|
||||
16: 11(int) Constant 0
|
||||
12: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 13 14 15 16
|
||||
17: 11(int) Constant 3
|
||||
9: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 10 14 17 16
|
||||
18: TypeVector 8(float) 4
|
||||
19: 11(int) Constant 4
|
||||
20: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 9 19
|
||||
21: TypeVector 8(float) 3
|
||||
22: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 9 17
|
||||
23(VSOutput): TypeStruct 18(fvec4) 21(fvec3) 21(fvec3)
|
||||
26: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 27
|
||||
28: 11(int) Constant 37
|
||||
29: 11(int) Constant 13
|
||||
24: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 25 20 26 28 29 16 16 17
|
||||
32: 11(int) Constant 39
|
||||
33: 11(int) Constant 34
|
||||
30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 31 22 26 32 33 16 16 17
|
||||
34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 31 22 26 32 33 16 16 17
|
||||
37: 11(int) Constant 1
|
||||
39: 11(int) Constant 5
|
||||
38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 37 19 26 39
|
||||
35: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 36 37 26 16 16 38 36 16 17 24 30 34
|
||||
40: TypeArray 23(VSOutput) 17
|
||||
41: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 35 17
|
||||
42: TypePointer Function 40
|
||||
43(GSOutput): TypeStruct 18(fvec4) 11(int) 11(int) 21(fvec3) 21(fvec3) 21(fvec3) 21(fvec3)
|
||||
45: 11(int) Constant 44
|
||||
44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 25 20 26 45 29 16 16 17
|
||||
48: 11(int) Constant 46
|
||||
49: 11(int) Constant 19
|
||||
46: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 47 12 26 48 49 16 16 17
|
||||
50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 47 12 26 48 49 16 16 17
|
||||
53: 11(int) Constant 50
|
||||
51: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 22 26 53 28 16 16 17
|
||||
54: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 52 22 26 53 28 16 16 17
|
||||
55: 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) 52 22 26 53 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
|
||||
59: TypePointer Function 43(GSOutput)
|
||||
60: TypePointer Function 11(int)
|
||||
61: TypeFunction 4 42(ptr) 59(ptr) 60(ptr) 60(ptr)
|
||||
62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 41 57 12 12
|
||||
69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 68 62 26 16 16 38 68 17 16
|
||||
73: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 74 41 26 16 16 69 19 37
|
||||
76: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
|
||||
79: 11(int) Constant 2
|
||||
77: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 78 57 26 16 16 69 19 79
|
||||
81: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 82 12 26 16 16 69 19 17
|
||||
84: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 47 12 26 16 16 69 19 19
|
||||
89: 11(int) Constant 57
|
||||
90: TypeInt 32 1
|
||||
92: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 91 14 19 16
|
||||
93: TypePointer Function 90(int)
|
||||
95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 96 92 26 89 16 69 19
|
||||
98: 90(int) Constant 0
|
||||
109: 90(int) Constant 3
|
||||
110: TypeBool
|
||||
112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 111 14 79 16
|
||||
116: 11(int) Constant 59
|
||||
118: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 119 57 26 116 16 69 19
|
||||
121: 8(float) Constant 0
|
||||
122: 18(fvec4) ConstantComposite 121 121 121 121
|
||||
123: 21(fvec3) ConstantComposite 121 121 121
|
||||
124:43(GSOutput) ConstantComposite 122 16 16 123 123 123 123
|
||||
126: 11(int) Constant 60
|
||||
128: 90(int) Constant 1
|
||||
129: TypePointer Function 21(fvec3)
|
||||
132: TypeMatrix 18(fvec4) 4
|
||||
134: 110(bool) ConstantTrue
|
||||
133: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 20 19 134
|
||||
135: TypeArray 132 79
|
||||
136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 133 79
|
||||
137: TypeArray 132 79
|
||||
138: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 133 79
|
||||
139(UBO): TypeStruct 135 137 18(fvec4)
|
||||
142: 11(int) Constant 28
|
||||
143: 11(int) Constant 21
|
||||
140: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 141 136 26 142 143 16 16 17
|
||||
146: 11(int) Constant 29
|
||||
147: 11(int) Constant 20
|
||||
144: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 145 138 26 146 147 16 16 17
|
||||
150: 11(int) Constant 30
|
||||
151: 11(int) Constant 17
|
||||
148: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 149 20 26 150 151 16 16 17
|
||||
152: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 153 37 26 126 16 38 153 16 17 140 144 148
|
||||
154(ubo): TypeStruct 139(UBO)
|
||||
157: 11(int) Constant 33
|
||||
155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 156 152 26 157 28 16 16 17
|
||||
158: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 156 37 26 126 16 38 156 16 17 155
|
||||
159: TypePointer Uniform 154(ubo)
|
||||
160: 159(ptr) Variable Uniform
|
||||
162: 11(int) Constant 8
|
||||
161: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 158 26 126 16 38 1 160 162
|
||||
164: TypePointer Uniform 132
|
||||
167: TypeMatrix 21(fvec3) 3
|
||||
168: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 108(DebugTypeMatrix) 22 17 134
|
||||
179: 11(int) Constant 61
|
||||
180: 90(int) Constant 4
|
||||
182: 90(int) Constant 2
|
||||
187: 11(int) Constant 63
|
||||
188: TypePointer Function 18(fvec4)
|
||||
190: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 191 20 26 187 16 69 19
|
||||
197: 11(int) Constant 64
|
||||
199: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 200 20 26 197 16 69 19
|
||||
208: 11(int) Constant 66
|
||||
210: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 211 22 26 208 16 69 19
|
||||
213: TypePointer Uniform 18(fvec4)
|
||||
222: 11(int) Constant 67
|
||||
223: 90(int) Constant 6
|
||||
230: 11(int) Constant 68
|
||||
231: 90(int) Constant 5
|
||||
237: 11(int) Constant 70
|
||||
245: 11(int) Constant 73
|
||||
249: 11(int) Constant 74
|
||||
253: 11(int) Constant 75
|
||||
254: TypePointer Output 18(fvec4)
|
||||
255(outStream.Pos): 254(ptr) Variable Output
|
||||
256: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 257 20 26 253 16 38 257 255(outStream.Pos) 162
|
||||
260: TypePointer Output 11(int)
|
||||
261(outStream.ViewportIndex): 260(ptr) Variable Output
|
||||
262: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 263 12 26 253 16 38 263 261(outStream.ViewportIndex) 162
|
||||
266(outStream.PrimitiveID): 260(ptr) Variable Output
|
||||
267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 268 12 26 253 16 38 268 266(outStream.PrimitiveID) 162
|
||||
271: TypePointer Output 21(fvec3)
|
||||
272(outStream.Normal): 271(ptr) Variable Output
|
||||
273: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 274 22 26 253 16 38 274 272(outStream.Normal) 162
|
||||
277(outStream.Color): 271(ptr) Variable Output
|
||||
278: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 279 22 26 253 16 38 279 277(outStream.Color) 162
|
||||
282(outStream.ViewVec): 271(ptr) Variable Output
|
||||
283: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 284 22 26 253 16 38 284 282(outStream.ViewVec) 162
|
||||
287(outStream.LightVec): 271(ptr) Variable Output
|
||||
288: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 289 22 26 253 16 38 289 287(outStream.LightVec) 162
|
||||
298: 11(int) Constant 78
|
||||
300: TypeArray 18(fvec4) 17
|
||||
301: TypePointer Input 300
|
||||
302(input.Pos): 301(ptr) Variable Input
|
||||
303: TypePointer Input 18(fvec4)
|
||||
307: TypeArray 21(fvec3) 17
|
||||
308: TypePointer Input 307
|
||||
309(input.Normal): 308(ptr) Variable Input
|
||||
310: TypePointer Input 21(fvec3)
|
||||
314(input.Color): 308(ptr) Variable Input
|
||||
337: TypePointer Input 11(int)
|
||||
338(InvocationID): 337(ptr) Variable Input
|
||||
341(PrimitiveID): 337(ptr) Variable Input
|
||||
Line 1 56 1
|
||||
6(main): 4 Function None 5
|
||||
7: Label
|
||||
299(input): 42(ptr) Variable Function
|
||||
336(InvocationID): 60(ptr) Variable Function
|
||||
340(PrimitiveID): 60(ptr) Variable Function
|
||||
343(outStream): 59(ptr) Variable Function
|
||||
344(param): 42(ptr) Variable Function
|
||||
346(param): 59(ptr) Variable Function
|
||||
347(param): 60(ptr) Variable Function
|
||||
349(param): 60(ptr) Variable Function
|
||||
Line 1 56 0
|
||||
304: 303(ptr) AccessChain 302(input.Pos) 98
|
||||
305: 18(fvec4) Load 304
|
||||
306: 188(ptr) AccessChain 299(input) 98 98
|
||||
Store 306 305
|
||||
311: 310(ptr) AccessChain 309(input.Normal) 98
|
||||
312: 21(fvec3) Load 311
|
||||
313: 129(ptr) AccessChain 299(input) 98 128
|
||||
Store 313 312
|
||||
315: 310(ptr) AccessChain 314(input.Color) 98
|
||||
316: 21(fvec3) Load 315
|
||||
317: 129(ptr) AccessChain 299(input) 98 182
|
||||
Store 317 316
|
||||
318: 303(ptr) AccessChain 302(input.Pos) 128
|
||||
319: 18(fvec4) Load 318
|
||||
320: 188(ptr) AccessChain 299(input) 128 98
|
||||
Store 320 319
|
||||
321: 310(ptr) AccessChain 309(input.Normal) 128
|
||||
322: 21(fvec3) Load 321
|
||||
323: 129(ptr) AccessChain 299(input) 128 128
|
||||
Store 323 322
|
||||
324: 310(ptr) AccessChain 314(input.Color) 128
|
||||
325: 21(fvec3) Load 324
|
||||
326: 129(ptr) AccessChain 299(input) 128 182
|
||||
Store 326 325
|
||||
327: 303(ptr) AccessChain 302(input.Pos) 182
|
||||
328: 18(fvec4) Load 327
|
||||
329: 188(ptr) AccessChain 299(input) 182 98
|
||||
Store 329 328
|
||||
330: 310(ptr) AccessChain 309(input.Normal) 182
|
||||
331: 21(fvec3) Load 330
|
||||
332: 129(ptr) AccessChain 299(input) 182 128
|
||||
Store 332 331
|
||||
333: 310(ptr) AccessChain 314(input.Color) 182
|
||||
334: 21(fvec3) Load 333
|
||||
335: 129(ptr) AccessChain 299(input) 182 182
|
||||
Store 335 334
|
||||
339: 11(int) Load 338(InvocationID)
|
||||
Store 336(InvocationID) 339
|
||||
342: 11(int) Load 341(PrimitiveID)
|
||||
Store 340(PrimitiveID) 342
|
||||
345: 40 Load 299(input)
|
||||
Store 344(param) 345
|
||||
348: 11(int) Load 336(InvocationID)
|
||||
Store 347(param) 348
|
||||
350: 11(int) Load 340(PrimitiveID)
|
||||
Store 349(param) 350
|
||||
351: 4 FunctionCall 67(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;) 344(param) 346(param) 347(param) 349(param)
|
||||
352:43(GSOutput) Load 346(param)
|
||||
Store 343(outStream) 352
|
||||
Return
|
||||
FunctionEnd
|
||||
66(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;): 3 Function None 60
|
||||
62(input): 41(ptr) FunctionParameter
|
||||
63(outStream): 58(ptr) FunctionParameter
|
||||
64(InvocationID): 59(ptr) FunctionParameter
|
||||
65(PrimitiveID): 59(ptr) FunctionParameter
|
||||
69: Label
|
||||
90(i): 89(ptr) Variable Function
|
||||
107(output): 58(ptr) Variable Function
|
||||
175(pos): 174(ptr) Variable Function
|
||||
183(worldPos): 174(ptr) Variable Function
|
||||
193(lPos): 118(ptr) Variable Function
|
||||
70: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 68
|
||||
71: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 25 15 15 15 15
|
||||
74: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 72 62(input) 75
|
||||
79: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 76 63(outStream) 75
|
||||
82: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 80 64(InvocationID) 75
|
||||
84: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 83 65(PrimitiveID) 75
|
||||
85: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 68 66(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;)
|
||||
94: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 91 90(i) 75
|
||||
Store 90(i) 95
|
||||
Branch 96
|
||||
96: Label
|
||||
LoopMerge 98 99 None
|
||||
Branch 100
|
||||
100: Label
|
||||
101: 86(int) Load 90(i)
|
||||
106: 103(bool) SLessThan 101 102
|
||||
BranchConditional 106 97 98
|
||||
97: Label
|
||||
111: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 108 107(output) 75
|
||||
Store 107(output) 115
|
||||
116: 86(int) Load 90(i)
|
||||
119: 118(ptr) AccessChain 62(input) 116 117
|
||||
120: 20(fvec3) Load 119
|
||||
153: 10(int) Load 64(InvocationID)
|
||||
155: 154(ptr) AccessChain 150 95 117 153
|
||||
156: 121 Load 155
|
||||
159: 17(fvec4) CompositeExtract 156 0
|
||||
160: 20(fvec3) VectorShuffle 159 159 0 1 2
|
||||
161: 17(fvec4) CompositeExtract 156 1
|
||||
162: 20(fvec3) VectorShuffle 161 161 0 1 2
|
||||
163: 17(fvec4) CompositeExtract 156 2
|
||||
164: 20(fvec3) VectorShuffle 163 163 0 1 2
|
||||
165: 157 CompositeConstruct 160 162 164
|
||||
166: 20(fvec3) VectorTimesMatrix 120 165
|
||||
167: 118(ptr) AccessChain 107(output) 102
|
||||
Store 167 166
|
||||
169: 86(int) Load 90(i)
|
||||
171: 118(ptr) AccessChain 62(input) 169 170
|
||||
172: 20(fvec3) Load 171
|
||||
173: 118(ptr) AccessChain 107(output) 168
|
||||
Store 173 172
|
||||
179: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 176 175(pos) 75
|
||||
180: 86(int) Load 90(i)
|
||||
181: 174(ptr) AccessChain 62(input) 180 95
|
||||
182: 17(fvec4) Load 181
|
||||
Store 175(pos) 182
|
||||
187: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 184 183(worldPos) 75
|
||||
188: 17(fvec4) Load 175(pos)
|
||||
189: 10(int) Load 64(InvocationID)
|
||||
190: 154(ptr) AccessChain 150 95 117 189
|
||||
191: 121 Load 190
|
||||
192: 17(fvec4) VectorTimesMatrix 188 191
|
||||
Store 183(worldPos) 192
|
||||
197: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 194 193(lPos) 75
|
||||
199: 198(ptr) AccessChain 150 95 170
|
||||
200: 17(fvec4) Load 199
|
||||
201: 10(int) Load 64(InvocationID)
|
||||
202: 154(ptr) AccessChain 150 95 117 201
|
||||
203: 121 Load 202
|
||||
204: 17(fvec4) VectorTimesMatrix 200 203
|
||||
205: 20(fvec3) VectorShuffle 204 204 0 1 2
|
||||
Store 193(lPos) 205
|
||||
207: 20(fvec3) Load 193(lPos)
|
||||
208: 17(fvec4) Load 183(worldPos)
|
||||
209: 20(fvec3) VectorShuffle 208 208 0 1 2
|
||||
210: 20(fvec3) FSub 207 209
|
||||
211: 118(ptr) AccessChain 107(output) 206
|
||||
Store 211 210
|
||||
213: 17(fvec4) Load 183(worldPos)
|
||||
214: 20(fvec3) VectorShuffle 213 213 0 1 2
|
||||
215: 20(fvec3) FNegate 214
|
||||
216: 118(ptr) AccessChain 107(output) 212
|
||||
Store 216 215
|
||||
217: 17(fvec4) Load 183(worldPos)
|
||||
218: 10(int) Load 64(InvocationID)
|
||||
219: 154(ptr) AccessChain 150 95 95 218
|
||||
220: 121 Load 219
|
||||
221: 17(fvec4) VectorTimesMatrix 217 220
|
||||
222: 174(ptr) AccessChain 107(output) 95
|
||||
Store 222 221
|
||||
223: 10(int) Load 64(InvocationID)
|
||||
224: 59(ptr) AccessChain 107(output) 117
|
||||
Store 224 223
|
||||
225: 10(int) Load 65(PrimitiveID)
|
||||
226: 59(ptr) AccessChain 107(output) 170
|
||||
Store 226 225
|
||||
232: 174(ptr) AccessChain 107(output) 95
|
||||
233: 17(fvec4) Load 232
|
||||
Store 228(outStream.Pos) 233
|
||||
238: 59(ptr) AccessChain 107(output) 117
|
||||
239: 10(int) Load 238
|
||||
Store 235(outStream.ViewportIndex) 239
|
||||
243: 59(ptr) AccessChain 107(output) 170
|
||||
244: 10(int) Load 243
|
||||
Store 240(outStream.PrimitiveID) 244
|
||||
249: 118(ptr) AccessChain 107(output) 102
|
||||
250: 20(fvec3) Load 249
|
||||
Store 246(outStream.Normal) 250
|
||||
254: 118(ptr) AccessChain 107(output) 168
|
||||
255: 20(fvec3) Load 254
|
||||
Store 251(outStream.Color) 255
|
||||
259: 118(ptr) AccessChain 107(output) 212
|
||||
260: 20(fvec3) Load 259
|
||||
Store 256(outStream.ViewVec) 260
|
||||
264: 118(ptr) AccessChain 107(output) 206
|
||||
265: 20(fvec3) Load 264
|
||||
Store 261(outStream.LightVec) 265
|
||||
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
|
||||
63(input): 42(ptr) FunctionParameter
|
||||
64(outStream): 59(ptr) FunctionParameter
|
||||
65(InvocationID): 60(ptr) FunctionParameter
|
||||
66(PrimitiveID): 60(ptr) FunctionParameter
|
||||
70: Label
|
||||
94(i): 93(ptr) Variable Function
|
||||
117(output): 59(ptr) Variable Function
|
||||
189(pos): 188(ptr) Variable Function
|
||||
198(worldPos): 188(ptr) Variable Function
|
||||
209(lPos): 129(ptr) Variable Function
|
||||
71: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69
|
||||
72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 16 16 16 16
|
||||
75: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 73 63(input) 76
|
||||
80: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 77 64(outStream) 76
|
||||
83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 81 65(InvocationID) 76
|
||||
85: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 84 66(PrimitiveID) 76
|
||||
86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 69 67(@main(struct-VSOutput-vf4-vf3-vf31[3];struct-GSOutput-vf4-u1-u1-vf3-vf3-vf3-vf31;u1;u1;)
|
||||
87: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69
|
||||
88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 89 89 16 16
|
||||
97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 95 94(i) 76
|
||||
Store 94(i) 98
|
||||
Branch 99
|
||||
99: Label
|
||||
103: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69
|
||||
104: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 89 89 16 16
|
||||
LoopMerge 101 102 None
|
||||
Branch 105
|
||||
105: Label
|
||||
106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69
|
||||
107: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 89 89 16 16
|
||||
108: 90(int) Load 94(i)
|
||||
113: 110(bool) SLessThan 108 109
|
||||
BranchConditional 113 100 101
|
||||
100: Label
|
||||
114: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69
|
||||
115: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 116 116 16 16
|
||||
120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 118 117(output) 76
|
||||
Store 117(output) 124
|
||||
125: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 126 126 16 16
|
||||
127: 90(int) Load 94(i)
|
||||
130: 129(ptr) AccessChain 63(input) 127 128
|
||||
131: 21(fvec3) Load 130
|
||||
163: 11(int) Load 65(InvocationID)
|
||||
165: 164(ptr) AccessChain 160 98 128 163
|
||||
166: 132 Load 165
|
||||
169: 18(fvec4) CompositeExtract 166 0
|
||||
170: 21(fvec3) VectorShuffle 169 169 0 1 2
|
||||
171: 18(fvec4) CompositeExtract 166 1
|
||||
172: 21(fvec3) VectorShuffle 171 171 0 1 2
|
||||
173: 18(fvec4) CompositeExtract 166 2
|
||||
174: 21(fvec3) VectorShuffle 173 173 0 1 2
|
||||
175: 167 CompositeConstruct 170 172 174
|
||||
176: 21(fvec3) VectorTimesMatrix 131 175
|
||||
177: 129(ptr) AccessChain 117(output) 109
|
||||
Store 177 176
|
||||
178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 179 179 16 16
|
||||
181: 90(int) Load 94(i)
|
||||
183: 129(ptr) AccessChain 63(input) 181 182
|
||||
184: 21(fvec3) Load 183
|
||||
185: 129(ptr) AccessChain 117(output) 180
|
||||
Store 185 184
|
||||
186: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 187 187 16 16
|
||||
192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 190 189(pos) 76
|
||||
193: 90(int) Load 94(i)
|
||||
194: 188(ptr) AccessChain 63(input) 193 98
|
||||
195: 18(fvec4) Load 194
|
||||
Store 189(pos) 195
|
||||
196: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 197 197 16 16
|
||||
201: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 199 198(worldPos) 76
|
||||
202: 18(fvec4) Load 189(pos)
|
||||
203: 11(int) Load 65(InvocationID)
|
||||
204: 164(ptr) AccessChain 160 98 128 203
|
||||
205: 132 Load 204
|
||||
206: 18(fvec4) VectorTimesMatrix 202 205
|
||||
Store 198(worldPos) 206
|
||||
207: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 208 208 16 16
|
||||
212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 210 209(lPos) 76
|
||||
214: 213(ptr) AccessChain 160 98 182
|
||||
215: 18(fvec4) Load 214
|
||||
216: 11(int) Load 65(InvocationID)
|
||||
217: 164(ptr) AccessChain 160 98 128 216
|
||||
218: 132 Load 217
|
||||
219: 18(fvec4) VectorTimesMatrix 215 218
|
||||
220: 21(fvec3) VectorShuffle 219 219 0 1 2
|
||||
Store 209(lPos) 220
|
||||
221: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 222 222 16 16
|
||||
224: 21(fvec3) Load 209(lPos)
|
||||
225: 18(fvec4) Load 198(worldPos)
|
||||
226: 21(fvec3) VectorShuffle 225 225 0 1 2
|
||||
227: 21(fvec3) FSub 224 226
|
||||
228: 129(ptr) AccessChain 117(output) 223
|
||||
Store 228 227
|
||||
229: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 230 230 16 16
|
||||
232: 18(fvec4) Load 198(worldPos)
|
||||
233: 21(fvec3) VectorShuffle 232 232 0 1 2
|
||||
234: 21(fvec3) FNegate 233
|
||||
235: 129(ptr) AccessChain 117(output) 231
|
||||
Store 235 234
|
||||
236: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 237 237 16 16
|
||||
238: 18(fvec4) Load 198(worldPos)
|
||||
239: 11(int) Load 65(InvocationID)
|
||||
240: 164(ptr) AccessChain 160 98 98 239
|
||||
241: 132 Load 240
|
||||
242: 18(fvec4) VectorTimesMatrix 238 241
|
||||
243: 188(ptr) AccessChain 117(output) 98
|
||||
Store 243 242
|
||||
244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 245 245 16 16
|
||||
246: 11(int) Load 65(InvocationID)
|
||||
247: 60(ptr) AccessChain 117(output) 128
|
||||
Store 247 246
|
||||
248: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 249 249 16 16
|
||||
250: 11(int) Load 66(PrimitiveID)
|
||||
251: 60(ptr) AccessChain 117(output) 182
|
||||
Store 251 250
|
||||
252: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 253 253 16 16
|
||||
258: 188(ptr) AccessChain 117(output) 98
|
||||
259: 18(fvec4) Load 258
|
||||
Store 255(outStream.Pos) 259
|
||||
264: 60(ptr) AccessChain 117(output) 128
|
||||
265: 11(int) Load 264
|
||||
Store 261(outStream.ViewportIndex) 265
|
||||
269: 60(ptr) AccessChain 117(output) 182
|
||||
270: 11(int) Load 269
|
||||
Store 266(outStream.PrimitiveID) 270
|
||||
275: 129(ptr) AccessChain 117(output) 109
|
||||
276: 21(fvec3) Load 275
|
||||
Store 272(outStream.Normal) 276
|
||||
280: 129(ptr) AccessChain 117(output) 180
|
||||
281: 21(fvec3) Load 280
|
||||
Store 277(outStream.Color) 281
|
||||
285: 129(ptr) AccessChain 117(output) 231
|
||||
286: 21(fvec3) Load 285
|
||||
Store 282(outStream.ViewVec) 286
|
||||
290: 129(ptr) AccessChain 117(output) 223
|
||||
291: 21(fvec3) Load 290
|
||||
Store 287(outStream.LightVec) 291
|
||||
EmitVertex
|
||||
Branch 102
|
||||
102: Label
|
||||
292: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69
|
||||
293: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 89 89 16 16
|
||||
294: 90(int) Load 94(i)
|
||||
295: 90(int) IAdd 294 128
|
||||
Store 94(i) 295
|
||||
Branch 99
|
||||
99: Label
|
||||
266: 86(int) Load 90(i)
|
||||
267: 86(int) IAdd 266 117
|
||||
Store 90(i) 267
|
||||
Branch 96
|
||||
98: Label
|
||||
101: Label
|
||||
296: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 69
|
||||
297: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 26 298 298 16 16
|
||||
EndPrimitive
|
||||
Return
|
||||
FunctionEnd
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user