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