1spv.debuginfo.include.glsl.frag
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 112
5
6                              Capability Shader
7                              Extension  "SPV_KHR_non_semantic_info"
8               1:             ExtInstImport  "NonSemantic.Shader.DebugInfo.100"
9               4:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint Fragment 15  "main" 82
12                              ExecutionMode 15 OriginUpperLeft
13               2:             String  "spv.debuginfo.include.glsl.frag"
14               3:             String  "spv.debuginfo.include.glsl.h"
15               9:             String  "uint"
16              18:             String  "float"
17              31:             String  "headerFunction"
18              34:             String  "
19out vec4 headerOut;
20
21uniform UBO {
22	vec4 headerUboItem;
23};
24
25vec4 headerFunction(vec4 a) {
26	return -a;
27}"
28              39:             String  "// OpModuleProcessed auto-map-locations
29// OpModuleProcessed auto-map-bindings
30// OpModuleProcessed client vulkan100
31// OpModuleProcessed target-env vulkan1.0
32// OpModuleProcessed keep-uncalled
33// OpModuleProcessed entry-point main
34#line 1
35#version 450
36
37#extension GL_GOOGLE_include_directive : require
38#include "spv.debuginfo.include.glsl.h"
39
40vec4 mainFileFunction(vec4 v) {
41	return -v;
42}
43
44void main() {
45	headerOut = headerFunction(mainFileFunction(headerUboItem));
46}"
47              42:             String  "a"
48              50:             String  "mainFileFunction"
49              53:             String  "v"
50              57:             String  "main"
51              84:             String  "headerOut"
52              88:             String  "headerUboItem"
53              91:             String  "UBO"
54              96:             String  ""
55              98:             String  "int"
56                              SourceExtension  "GL_GOOGLE_cpp_style_line_directive"
57                              SourceExtension  "GL_GOOGLE_include_directive"
58                              Name 15  "main"
59                              Name 29  "headerFunction(vf4;"
60                              Name 28  "a"
61                              Name 48  "mainFileFunction(vf4;"
62                              Name 47  "v"
63                              Name 82  "headerOut"
64                              Name 86  "UBO"
65                              MemberName 86(UBO) 0  "headerUboItem"
66                              Name 94  ""
67                              Name 101  "param"
68                              Name 108  "param"
69                              Decorate 82(headerOut) Location 0
70                              Decorate 86(UBO) Block
71                              MemberDecorate 86(UBO) 0 Offset 0
72                              Decorate 94 Binding 0
73                              Decorate 94 DescriptorSet 0
74               5:             TypeVoid
75               6:             TypeFunction 5
76               8:             TypeInt 32 0
77              11:      8(int) Constant 32
78              12:      8(int) Constant 6
79              13:      8(int) Constant 0
80              10:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 11 12 13
81              14:      8(int) Constant 3
82               7:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 14 5
83              17:             TypeFloat 32
84              19:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 18 11 14 13
85              20:             TypeVector 17(float) 4
86              21:      8(int) Constant 4
87              22:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 19 21
88              23:             TypePointer Function 20(fvec4)
89              24:      8(int) Constant 7
90              25:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 24 13
91              26:             TypeFunction 20(fvec4) 23(ptr)
92              27:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 14 22 22
93              33:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 3 34
94              35:      8(int) Constant 8
95              37:      8(int) Constant 1
96              38:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 2 39
97              40:      8(int) Constant 2
98              36:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 37 21 38 40
99              32:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 31 27 33 35 13 36 31 14 35
100              41:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 42 22 33 35 13 32 21 37
101              44:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
102              51:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 50 27 38 12 13 36 50 14 12
103              52:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 53 22 38 12 13 51 21 37
104              59:      8(int) Constant 10
105              58:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 57 7 38 59 13 36 57 14 59
106              63:      8(int) Constant 9
107              80:             TypePointer Output 20(fvec4)
108              81:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 14 13
109   82(headerOut):     80(ptr) Variable Output
110              85:      8(int) Constant 11
111              83:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 84 22 38 85 13 36 84 82(headerOut) 35
112         86(UBO):             TypeStruct 20(fvec4)
113              89:      8(int) Constant 5
114              87:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 88 22 38 89 24 13 13 14
115              90:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 91 37 38 85 13 36 91 13 14 87
116              92:             TypePointer Uniform 86(UBO)
117              93:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 90 40 13
118              94:     92(ptr) Variable Uniform
119              95:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 96 90 38 85 13 36 96 94 35
120              97:             TypeInt 32 1
121              99:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 98 11 21 13
122             100:     97(int) Constant 0
123             102:             TypePointer Uniform 20(fvec4)
124             103:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 3(DebugTypePointer) 22 40 13
125             111:      8(int) Constant 12
126        15(main):           5 Function None 6
127              16:             Label
128      101(param):     23(ptr) Variable Function
129      108(param):     23(ptr) Variable Function
130              78:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 58
131              79:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 59 59 13 13
132              77:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 58 15(main)
133             105:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 85 85 13 13
134             104:    102(ptr) AccessChain 94 100
135             106:   20(fvec4) Load 104
136                              Store 101(param) 106
137             107:   20(fvec4) FunctionCall 48(mainFileFunction(vf4;) 101(param)
138                              Store 108(param) 107
139             109:   20(fvec4) FunctionCall 29(headerFunction(vf4;) 108(param)
140                              Store 82(headerOut) 109
141             110:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 111 111 13 13
142                              Return
143                              FunctionEnd
14429(headerFunction(vf4;):   20(fvec4) Function None 26
145           28(a):     23(ptr) FunctionParameter
146              30:             Label
147              45:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 32
148              46:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 35 35 13 13
149              43:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 41 28(a) 44
150              60:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 32 29(headerFunction(vf4;)
151              62:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 33 63 63 13 13
152              61:   20(fvec4) Load 28(a)
153              64:   20(fvec4) FNegate 61
154                              ReturnValue 64
155                              FunctionEnd
15648(mainFileFunction(vf4;):   20(fvec4) Function None 26
157           47(v):     23(ptr) FunctionParameter
158              49:             Label
159              55:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 51
160              56:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 12 12 13 13
161              54:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 52 47(v) 44
162              69:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 51 48(mainFileFunction(vf4;)
163              71:           5 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 38 24 24 13 13
164              70:   20(fvec4) Load 47(v)
165              72:   20(fvec4) FNegate 70
166                              ReturnValue 72
167                              FunctionEnd
168