1617a3babSopenharmony_cispv.debuginfo.bufferref.glsl.frag
2617a3babSopenharmony_ci// Module Version 10000
3617a3babSopenharmony_ci// Generated by (magic number): 8000b
4617a3babSopenharmony_ci// Id's are bound by 132
5617a3babSopenharmony_ci
6617a3babSopenharmony_ci                              Capability Shader
7617a3babSopenharmony_ci                              Capability PhysicalStorageBufferAddressesEXT
8617a3babSopenharmony_ci                              Extension  "SPV_KHR_non_semantic_info"
9617a3babSopenharmony_ci                              Extension  "SPV_KHR_physical_storage_buffer"
10617a3babSopenharmony_ci                              Extension  "SPV_KHR_storage_buffer_storage_class"
11617a3babSopenharmony_ci               2:             ExtInstImport  "NonSemantic.Shader.DebugInfo.100"
12617a3babSopenharmony_ci               3:             ExtInstImport  "GLSL.std.450"
13617a3babSopenharmony_ci                              MemoryModel PhysicalStorageBuffer64EXT GLSL450
14617a3babSopenharmony_ci                              EntryPoint Fragment 14  "main" 70 123
15617a3babSopenharmony_ci                              ExecutionMode 14 OriginUpperLeft
16617a3babSopenharmony_ci               1:             String  ""
17617a3babSopenharmony_ci               8:             String  "uint"
18617a3babSopenharmony_ci              16:             String  "main"
19617a3babSopenharmony_ci              19:             String  "// OpModuleProcessed auto-map-locations
20617a3babSopenharmony_ci// OpModuleProcessed auto-map-bindings
21617a3babSopenharmony_ci// OpModuleProcessed client vulkan100
22617a3babSopenharmony_ci// OpModuleProcessed target-env vulkan1.0
23617a3babSopenharmony_ci// OpModuleProcessed keep-uncalled
24617a3babSopenharmony_ci// OpModuleProcessed entry-point main
25617a3babSopenharmony_ci#line 1
26617a3babSopenharmony_ci"
27617a3babSopenharmony_ci              32:             String  "Mesh"
28617a3babSopenharmony_ci              34:             String  "float"
29617a3babSopenharmony_ci              40:             String  "data"
30617a3babSopenharmony_ci              44:             String  "MeshVertexPositions"
31617a3babSopenharmony_ci              48:             String  "meshData"
32617a3babSopenharmony_ci              60:             String  "PerPass_meshes"
33617a3babSopenharmony_ci              64:             String  "perPass_meshes"
34617a3babSopenharmony_ci              66:             String  "int"
35617a3babSopenharmony_ci              72:             String  "tri_idx0"
36617a3babSopenharmony_ci              87:             String  "vertex_pos0"
37617a3babSopenharmony_ci             125:             String  "out_fragColor"
38617a3babSopenharmony_ci                              SourceExtension  "GL_EXT_buffer_reference"
39617a3babSopenharmony_ci                              Name 14  "main"
40617a3babSopenharmony_ci                              Name 30  "Mesh"
41617a3babSopenharmony_ci                              MemberName 30(Mesh) 0  "positions"
42617a3babSopenharmony_ci                              Name 38  "MeshVertexPositions"
43617a3babSopenharmony_ci                              MemberName 38(MeshVertexPositions) 0  "data"
44617a3babSopenharmony_ci                              Name 46  "meshData"
45617a3babSopenharmony_ci                              Name 51  "Mesh"
46617a3babSopenharmony_ci                              MemberName 51(Mesh) 0  "positions"
47617a3babSopenharmony_ci                              Name 55  "PerPass_meshes"
48617a3babSopenharmony_ci                              MemberName 55(PerPass_meshes) 0  "data"
49617a3babSopenharmony_ci                              Name 62  "perPass_meshes"
50617a3babSopenharmony_ci                              Name 70  "tri_idx0"
51617a3babSopenharmony_ci                              Name 85  "vertex_pos0"
52617a3babSopenharmony_ci                              Name 123  "out_fragColor"
53617a3babSopenharmony_ci                              Decorate 36 ArrayStride 4
54617a3babSopenharmony_ci                              MemberDecorate 38(MeshVertexPositions) 0 Offset 0
55617a3babSopenharmony_ci                              Decorate 38(MeshVertexPositions) Block
56617a3babSopenharmony_ci                              MemberDecorate 51(Mesh) 0 Offset 0
57617a3babSopenharmony_ci                              Decorate 53 ArrayStride 8
58617a3babSopenharmony_ci                              MemberDecorate 55(PerPass_meshes) 0 NonWritable
59617a3babSopenharmony_ci                              MemberDecorate 55(PerPass_meshes) 0 Offset 0
60617a3babSopenharmony_ci                              Decorate 55(PerPass_meshes) Block
61617a3babSopenharmony_ci                              Decorate 62(perPass_meshes) DescriptorSet 0
62617a3babSopenharmony_ci                              Decorate 62(perPass_meshes) Binding 0
63617a3babSopenharmony_ci                              Decorate 70(tri_idx0) Flat
64617a3babSopenharmony_ci                              Decorate 70(tri_idx0) Location 0
65617a3babSopenharmony_ci                              Decorate 123(out_fragColor) Location 0
66617a3babSopenharmony_ci                              Decorate 46(meshData) DecorationAliasedPointerEXT
67617a3babSopenharmony_ci               4:             TypeVoid
68617a3babSopenharmony_ci               5:             TypeFunction 4
69617a3babSopenharmony_ci               7:             TypeInt 32 0
70617a3babSopenharmony_ci              10:      7(int) Constant 32
71617a3babSopenharmony_ci              11:      7(int) Constant 6
72617a3babSopenharmony_ci              12:      7(int) Constant 0
73617a3babSopenharmony_ci               9:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 8 10 11 12
74617a3babSopenharmony_ci              13:      7(int) Constant 3
75617a3babSopenharmony_ci               6:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 13 4
76617a3babSopenharmony_ci              18:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 19
77617a3babSopenharmony_ci              20:      7(int) Constant 20
78617a3babSopenharmony_ci              22:      7(int) Constant 1
79617a3babSopenharmony_ci              23:      7(int) Constant 4
80617a3babSopenharmony_ci              24:      7(int) Constant 2
81617a3babSopenharmony_ci              21:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 22 23 18 24
82617a3babSopenharmony_ci              17:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 16 6 18 20 12 21 16 13 20
83617a3babSopenharmony_ci              28:      7(int) Constant 21
84617a3babSopenharmony_ci                              TypeForwardPointer 29 PhysicalStorageBufferEXT
85617a3babSopenharmony_ci        30(Mesh):             TypeStruct 29
86617a3babSopenharmony_ci              31:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 32 22 18 28 12 21 32 12 13
87617a3babSopenharmony_ci              33:             TypeFloat 32
88617a3babSopenharmony_ci              35:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 34 10 13 12
89617a3babSopenharmony_ci              36:             TypeRuntimeArray 33(float)
90617a3babSopenharmony_ci              37:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 35 12
91617a3babSopenharmony_ci38(MeshVertexPositions):             TypeStruct 36
92617a3babSopenharmony_ci              41:      7(int) Constant 5
93617a3babSopenharmony_ci              42:      7(int) Constant 9
94617a3babSopenharmony_ci              39:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 40 37 18 41 42 12 12 13
95617a3babSopenharmony_ci              43:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 44 22 18 28 12 21 44 12 13 39
96617a3babSopenharmony_ci              29:             TypePointer PhysicalStorageBufferEXT 38(MeshVertexPositions)
97617a3babSopenharmony_ci              45:             TypePointer Function 30(Mesh)
98617a3babSopenharmony_ci              47:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 48 31 18 28 12 17 23
99617a3babSopenharmony_ci              50:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression)
100617a3babSopenharmony_ci        51(Mesh):             TypeStruct 29(ptr)
101617a3babSopenharmony_ci              52:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 32 22 18 28 12 21 32 12 13
102617a3babSopenharmony_ci              53:             TypeRuntimeArray 51(Mesh)
103617a3babSopenharmony_ci              54:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 52 12
104617a3babSopenharmony_ci55(PerPass_meshes):             TypeStruct 53
105617a3babSopenharmony_ci              57:      7(int) Constant 13
106617a3babSopenharmony_ci              58:      7(int) Constant 8
107617a3babSopenharmony_ci              56:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 40 54 18 57 58 12 12 13
108617a3babSopenharmony_ci              59:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 60 22 18 28 12 21 60 12 13 56
109617a3babSopenharmony_ci              61:             TypePointer StorageBuffer 55(PerPass_meshes)
110617a3babSopenharmony_ci62(perPass_meshes):     61(ptr) Variable StorageBuffer
111617a3babSopenharmony_ci              63:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 64 59 18 28 12 21 64 62(perPass_meshes) 58
112617a3babSopenharmony_ci              65:             TypeInt 32 1
113617a3babSopenharmony_ci              67:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 66 10 23 12
114617a3babSopenharmony_ci              68:     65(int) Constant 0
115617a3babSopenharmony_ci              69:             TypePointer Input 7(int)
116617a3babSopenharmony_ci    70(tri_idx0):     69(ptr) Variable Input
117617a3babSopenharmony_ci              71:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 72 9 18 28 12 21 72 70(tri_idx0) 58
118617a3babSopenharmony_ci              74:             TypePointer StorageBuffer 51(Mesh)
119617a3babSopenharmony_ci              78:             TypePointer Function 29(ptr)
120617a3babSopenharmony_ci              81:      7(int) Constant 23
121617a3babSopenharmony_ci              82:             TypeVector 33(float) 3
122617a3babSopenharmony_ci              83:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 35 13
123617a3babSopenharmony_ci              84:             TypePointer Function 82(fvec3)
124617a3babSopenharmony_ci              86:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 87 83 18 81 12 17 23
125617a3babSopenharmony_ci              90:      7(int) Constant 25
126617a3babSopenharmony_ci              96:             TypePointer PhysicalStorageBufferEXT 33(float)
127617a3babSopenharmony_ci             100:      7(int) Constant 24
128617a3babSopenharmony_ci             119:      7(int) Constant 27
129617a3babSopenharmony_ci             120:             TypeVector 33(float) 4
130617a3babSopenharmony_ci             121:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 35 23
131617a3babSopenharmony_ci             122:             TypePointer Output 120(fvec4)
132617a3babSopenharmony_ci123(out_fragColor):    122(ptr) Variable Output
133617a3babSopenharmony_ci             124:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 125 121 18 119 12 21 125 123(out_fragColor) 58
134617a3babSopenharmony_ci             127:   33(float) Constant 1065353216
135617a3babSopenharmony_ci                              Line 1 20 11
136617a3babSopenharmony_ci        14(main):           4 Function None 5
137617a3babSopenharmony_ci              15:             Label
138617a3babSopenharmony_ci    46(meshData):     45(ptr) Variable Function
139617a3babSopenharmony_ci 85(vertex_pos0):     84(ptr) Variable Function
140617a3babSopenharmony_ci              25:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 17 14(main)
141617a3babSopenharmony_ci              26:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 17
142617a3babSopenharmony_ci              27:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 28 28 12 12
143617a3babSopenharmony_ci              49:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 47 46(meshData) 50
144617a3babSopenharmony_ci              73:      7(int) Load 70(tri_idx0)
145617a3babSopenharmony_ci              75:     74(ptr) AccessChain 62(perPass_meshes) 68 73
146617a3babSopenharmony_ci              76:    51(Mesh) Load 75
147617a3babSopenharmony_ci              77:     29(ptr) CompositeExtract 76 0
148617a3babSopenharmony_ci              79:     78(ptr) AccessChain 46(meshData) 68
149617a3babSopenharmony_ci                              Store 79 77
150617a3babSopenharmony_ci              80:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 81 81 12 12
151617a3babSopenharmony_ci              88:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 86 85(vertex_pos0) 50
152617a3babSopenharmony_ci              89:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 90 90 12 12
153617a3babSopenharmony_ci              91:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 81 81 12 12
154617a3babSopenharmony_ci              92:     78(ptr) AccessChain 46(meshData) 68
155617a3babSopenharmony_ci              93:     29(ptr) Load 92
156617a3babSopenharmony_ci              94:      7(int) Load 70(tri_idx0)
157617a3babSopenharmony_ci              95:      7(int) IMul 13 94
158617a3babSopenharmony_ci              97:     96(ptr) AccessChain 93 68 95
159617a3babSopenharmony_ci              98:   33(float) Load 97 Aligned 4
160617a3babSopenharmony_ci              99:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 100 100 12 12
161617a3babSopenharmony_ci             101:     78(ptr) AccessChain 46(meshData) 68
162617a3babSopenharmony_ci             102:     29(ptr) Load 101
163617a3babSopenharmony_ci             103:      7(int) Load 70(tri_idx0)
164617a3babSopenharmony_ci             104:      7(int) IMul 13 103
165617a3babSopenharmony_ci             105:      7(int) IAdd 104 22
166617a3babSopenharmony_ci             106:     96(ptr) AccessChain 102 68 105
167617a3babSopenharmony_ci             107:   33(float) Load 106 Aligned 4
168617a3babSopenharmony_ci             108:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 90 90 12 12
169617a3babSopenharmony_ci             109:     78(ptr) AccessChain 46(meshData) 68
170617a3babSopenharmony_ci             110:     29(ptr) Load 109
171617a3babSopenharmony_ci             111:      7(int) Load 70(tri_idx0)
172617a3babSopenharmony_ci             112:      7(int) IMul 13 111
173617a3babSopenharmony_ci             113:      7(int) IAdd 112 24
174617a3babSopenharmony_ci             114:     96(ptr) AccessChain 110 68 113
175617a3babSopenharmony_ci             115:   33(float) Load 114 Aligned 4
176617a3babSopenharmony_ci             116:   82(fvec3) CompositeConstruct 98 107 115
177617a3babSopenharmony_ci             117:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 81 81 12 12
178617a3babSopenharmony_ci                              Store 85(vertex_pos0) 116
179617a3babSopenharmony_ci             118:           4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 18 119 119 12 12
180617a3babSopenharmony_ci             126:   82(fvec3) Load 85(vertex_pos0)
181617a3babSopenharmony_ci             128:   33(float) CompositeExtract 126 0
182617a3babSopenharmony_ci             129:   33(float) CompositeExtract 126 1
183617a3babSopenharmony_ci             130:   33(float) CompositeExtract 126 2
184617a3babSopenharmony_ci             131:  120(fvec4) CompositeConstruct 128 129 130 127
185617a3babSopenharmony_ci                              Store 123(out_fragColor) 131
186617a3babSopenharmony_ci                              Return
187617a3babSopenharmony_ci                              FunctionEnd
188