• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.16bitstorage.frag
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 173
5
6                              Capability Shader
7                              Capability StorageUniformBufferBlock16
8                              Capability StorageUniform16
9                              Extension  "SPV_KHR_16bit_storage"
10               1:             ExtInstImport  "GLSL.std.450"
11                              MemoryModel Logical GLSL450
12                              EntryPoint Fragment 4  "main"
13                              ExecutionMode 4 OriginUpperLeft
14                              Source GLSL 450
15                              SourceExtension  "GL_EXT_shader_16bit_storage"
16                              Name 4  "main"
17                              Name 12  "S"
18                              MemberName 12(S) 0  "x"
19                              MemberName 12(S) 1  "y"
20                              MemberName 12(S) 2  "z"
21                              Name 17  "B2"
22                              MemberName 17(B2) 0  "o"
23                              MemberName 17(B2) 1  "p"
24                              MemberName 17(B2) 2  "q"
25                              MemberName 17(B2) 3  "r"
26                              MemberName 17(B2) 4  "u"
27                              MemberName 17(B2) 5  "v"
28                              MemberName 17(B2) 6  "x"
29                              MemberName 17(B2) 7  "w"
30                              Name 19  "b2"
31                              Name 23  "S"
32                              MemberName 23(S) 0  "x"
33                              MemberName 23(S) 1  "y"
34                              MemberName 23(S) 2  "z"
35                              Name 25  "B1"
36                              MemberName 25(B1) 0  "a"
37                              MemberName 25(B1) 1  "b"
38                              MemberName 25(B1) 2  "c"
39                              MemberName 25(B1) 3  "d"
40                              MemberName 25(B1) 4  "g"
41                              MemberName 25(B1) 5  "h"
42                              MemberName 25(B1) 6  "j"
43                              Name 27  "b1"
44                              Name 46  "S"
45                              MemberName 46(S) 0  "x"
46                              MemberName 46(S) 1  "y"
47                              MemberName 46(S) 2  "z"
48                              Name 50  "B5"
49                              MemberName 50(B5) 0  "o"
50                              MemberName 50(B5) 1  "p"
51                              MemberName 50(B5) 2  "q"
52                              MemberName 50(B5) 3  "r"
53                              MemberName 50(B5) 4  "u"
54                              MemberName 50(B5) 5  "v"
55                              MemberName 50(B5) 6  "x"
56                              MemberName 50(B5) 7  "w"
57                              Name 52  "b5"
58                              Name 70  "x0"
59                              Name 76  "x1"
60                              Name 88  "S2"
61                              MemberName 88(S2) 0  "x"
62                              MemberName 88(S2) 1  "y"
63                              MemberName 88(S2) 2  "z"
64                              Name 89  "S3"
65                              MemberName 89(S3) 0  "x"
66                              Name 90  "B4"
67                              MemberName 90(B4) 0  "x"
68                              MemberName 90(B4) 1  "y"
69                              Name 92  "b4"
70                              Name 93  "S2"
71                              MemberName 93(S2) 0  "x"
72                              MemberName 93(S2) 1  "y"
73                              MemberName 93(S2) 2  "z"
74                              Name 94  "B3"
75                              MemberName 94(B3) 0  "x"
76                              Name 96  "b3"
77                              Name 113  "v3"
78                              Name 135  "u3"
79                              Decorate 11 ArrayStride 2
80                              MemberDecorate 12(S) 0 Offset 0
81                              MemberDecorate 12(S) 1 Offset 4
82                              MemberDecorate 12(S) 2 Offset 8
83                              Decorate 13 ArrayStride 16
84                              Decorate 15 ArrayStride 4
85                              Decorate 16 ArrayStride 2
86                              MemberDecorate 17(B2) 0 Offset 0
87                              MemberDecorate 17(B2) 1 Offset 4
88                              MemberDecorate 17(B2) 2 Offset 8
89                              MemberDecorate 17(B2) 3 Offset 14
90                              MemberDecorate 17(B2) 4 Offset 24
91                              MemberDecorate 17(B2) 5 Offset 40
92                              MemberDecorate 17(B2) 6 Offset 72
93                              MemberDecorate 17(B2) 7 Offset 472
94                              Decorate 17(B2) BufferBlock
95                              Decorate 19(b2) DescriptorSet 0
96                              Decorate 19(b2) Binding 1
97                              Decorate 22 ArrayStride 16
98                              MemberDecorate 23(S) 0 Offset 0
99                              MemberDecorate 23(S) 1 Offset 4
100                              MemberDecorate 23(S) 2 Offset 8
101                              Decorate 24 ArrayStride 16
102                              MemberDecorate 25(B1) 0 Offset 0
103                              MemberDecorate 25(B1) 1 Offset 4
104                              MemberDecorate 25(B1) 2 Offset 8
105                              MemberDecorate 25(B1) 3 Offset 16
106                              MemberDecorate 25(B1) 4 Offset 48
107                              MemberDecorate 25(B1) 5 Offset 64
108                              MemberDecorate 25(B1) 6 Offset 96
109                              Decorate 25(B1) Block
110                              Decorate 27(b1) DescriptorSet 0
111                              Decorate 27(b1) Binding 0
112                              Decorate 45 ArrayStride 16
113                              MemberDecorate 46(S) 0 Offset 0
114                              MemberDecorate 46(S) 1 Offset 4
115                              MemberDecorate 46(S) 2 Offset 8
116                              Decorate 47 ArrayStride 16
117                              Decorate 48 ArrayStride 16
118                              Decorate 49 ArrayStride 16
119                              MemberDecorate 50(B5) 0 Offset 0
120                              MemberDecorate 50(B5) 1 Offset 4
121                              MemberDecorate 50(B5) 2 Offset 8
122                              MemberDecorate 50(B5) 3 Offset 16
123                              MemberDecorate 50(B5) 4 Offset 48
124                              MemberDecorate 50(B5) 5 Offset 64
125                              MemberDecorate 50(B5) 6 Offset 96
126                              MemberDecorate 50(B5) 7 Offset 1696
127                              Decorate 50(B5) Block
128                              Decorate 52(b5) DescriptorSet 0
129                              Decorate 52(b5) Binding 2
130                              MemberDecorate 88(S2) 0 ColMajor
131                              MemberDecorate 88(S2) 0 Offset 0
132                              MemberDecorate 88(S2) 0 MatrixStride 16
133                              MemberDecorate 88(S2) 1 Offset 64
134                              MemberDecorate 88(S2) 2 Offset 68
135                              MemberDecorate 89(S3) 0 Offset 0
136                              MemberDecorate 90(B4) 0 Offset 0
137                              MemberDecorate 90(B4) 1 Offset 80
138                              Decorate 90(B4) BufferBlock
139                              Decorate 92(b4) DescriptorSet 0
140                              Decorate 92(b4) Binding 4
141                              MemberDecorate 93(S2) 0 RowMajor
142                              MemberDecorate 93(S2) 0 Offset 0
143                              MemberDecorate 93(S2) 0 MatrixStride 16
144                              MemberDecorate 93(S2) 1 Offset 64
145                              MemberDecorate 93(S2) 2 Offset 68
146                              MemberDecorate 94(B3) 0 Offset 0
147                              Decorate 94(B3) BufferBlock
148                              Decorate 96(b3) DescriptorSet 0
149                              Decorate 96(b3) Binding 3
150               2:             TypeVoid
151               3:             TypeFunction 2
152               6:             TypeFloat 16
153               7:             TypeVector 6(float16_t) 2
154               8:             TypeVector 6(float16_t) 3
155               9:             TypeInt 32 0
156              10:      9(int) Constant 2
157              11:             TypeArray 6(float16_t) 10
158           12(S):             TypeStruct 6(float16_t) 7(f16vec2) 8(f16vec3)
159              13:             TypeArray 12(S) 10
160              14:      9(int) Constant 100
161              15:             TypeArray 7(f16vec2) 14
162              16:             TypeRuntimeArray 6(float16_t)
163          17(B2):             TypeStruct 6(float16_t) 7(f16vec2) 8(f16vec3) 11 12(S) 13 15 16
164              18:             TypePointer Uniform 17(B2)
165          19(b2):     18(ptr) Variable Uniform
166              20:             TypeInt 32 1
167              21:     20(int) Constant 0
168              22:             TypeArray 6(float16_t) 10
169           23(S):             TypeStruct 6(float16_t) 7(f16vec2) 8(f16vec3)
170              24:             TypeArray 23(S) 10
171          25(B1):             TypeStruct 6(float16_t) 7(f16vec2) 8(f16vec3) 22 23(S) 24 20(int)
172              26:             TypePointer Uniform 25(B1)
173          27(b1):     26(ptr) Variable Uniform
174              28:             TypePointer Uniform 6(float16_t)
175              32:     20(int) Constant 1
176              33:     20(int) Constant 2
177              34:             TypePointer Uniform 8(f16vec3)
178              37:             TypeFloat 32
179              38:             TypeVector 37(float) 3
180              40:             TypeVector 37(float) 2
181              43:             TypePointer Uniform 7(f16vec2)
182              45:             TypeArray 6(float16_t) 10
183           46(S):             TypeStruct 6(float16_t) 7(f16vec2) 8(f16vec3)
184              47:             TypeArray 46(S) 10
185              48:             TypeArray 7(f16vec2) 14
186              49:             TypeArray 6(float16_t) 14
187          50(B5):             TypeStruct 6(float16_t) 7(f16vec2) 8(f16vec3) 45 46(S) 47 48 49
188              51:             TypePointer Uniform 50(B5)
189          52(b5):     51(ptr) Variable Uniform
190              59:     20(int) Constant 3
191              69:             TypePointer Function 37(float)
192              74:             TypeVector 37(float) 4
193              75:             TypePointer Function 74(fvec4)
194              83:   37(float) Constant 1065353216
195              87:             TypeMatrix 74(fvec4) 4
196          88(S2):             TypeStruct 87 6(float16_t) 37(float)
197          89(S3):             TypeStruct 88(S2)
198          90(B4):             TypeStruct 88(S2) 89(S3)
199              91:             TypePointer Uniform 90(B4)
200          92(b4):     91(ptr) Variable Uniform
201          93(S2):             TypeStruct 87 6(float16_t) 37(float)
202          94(B3):             TypeStruct 93(S2)
203              95:             TypePointer Uniform 94(B3)
204          96(b3):     95(ptr) Variable Uniform
205              97:             TypePointer Uniform 87
206             104:      9(int) Constant 0
207             108:     20(int) Constant 5
208             112:             TypePointer Function 38(fvec3)
209             114:     20(int) Constant 7
210             115:     20(int) Constant 6
211             116:             TypePointer Uniform 20(int)
212             166:   37(float) Constant 1073741824
213             167:   40(fvec2) ConstantComposite 83 166
214             170:   37(float) Constant 1077936128
215         4(main):           2 Function None 3
216               5:             Label
217          70(x0):     69(ptr) Variable Function
218          76(x1):     75(ptr) Variable Function
219         113(v3):    112(ptr) Variable Function
220         135(u3):    112(ptr) Variable Function
221              29:     28(ptr) AccessChain 27(b1) 21
222              30:6(float16_t) Load 29
223              31:     28(ptr) AccessChain 19(b2) 21
224                              Store 31 30
225              35:     34(ptr) AccessChain 19(b2) 33
226              36:  8(f16vec3) Load 35
227              39:   38(fvec3) FConvert 36
228              41:   40(fvec2) VectorShuffle 39 39 0 1
229              42:  7(f16vec2) FConvert 41
230              44:     43(ptr) AccessChain 19(b2) 32
231                              Store 44 42
232              53:     34(ptr) AccessChain 52(b5) 33
233              54:  8(f16vec3) Load 53
234              55:   38(fvec3) FConvert 54
235              56:   40(fvec2) VectorShuffle 55 55 0 1
236              57:  7(f16vec2) FConvert 56
237              58:     43(ptr) AccessChain 19(b2) 32
238                              Store 58 57
239              60:     28(ptr) AccessChain 19(b2) 59 21
240              61:6(float16_t) Load 60
241              62:     28(ptr) AccessChain 19(b2) 59 21
242                              Store 62 61
243              63:     28(ptr) AccessChain 52(b5) 59 32
244              64:6(float16_t) Load 63
245              65:     28(ptr) AccessChain 19(b2) 59 32
246                              Store 65 64
247              66:     43(ptr) AccessChain 19(b2) 32
248              67:  7(f16vec2) Load 66
249              68:     43(ptr) AccessChain 19(b2) 32
250                              Store 68 67
251              71:     28(ptr) AccessChain 27(b1) 21
252              72:6(float16_t) Load 71
253              73:   37(float) FConvert 72
254                              Store 70(x0) 73
255              77:     28(ptr) AccessChain 27(b1) 21
256              78:6(float16_t) Load 77
257              79:   37(float) FConvert 78
258              80:     43(ptr) AccessChain 19(b2) 32
259              81:  7(f16vec2) Load 80
260              82:   40(fvec2) FConvert 81
261              84:   37(float) CompositeExtract 82 0
262              85:   37(float) CompositeExtract 82 1
263              86:   74(fvec4) CompositeConstruct 79 84 85 83
264                              Store 76(x1) 86
265              98:     97(ptr) AccessChain 96(b3) 21 21
266              99:          87 Load 98
267             100:     97(ptr) AccessChain 92(b4) 21 21
268                              Store 100 99
269             101:     43(ptr) AccessChain 19(b2) 32
270             102:  7(f16vec2) Load 101
271             103:   40(fvec2) FConvert 102
272             105:   37(float) CompositeExtract 103 0
273             106:6(float16_t) FConvert 105
274             107:     28(ptr) AccessChain 19(b2) 21
275                              Store 107 106
276             109:     43(ptr) AccessChain 19(b2) 108 32 32
277             110:  7(f16vec2) Load 109
278             111:     43(ptr) AccessChain 19(b2) 32
279                              Store 111 110
280             117:    116(ptr) AccessChain 27(b1) 115
281             118:     20(int) Load 117
282             119:     28(ptr) AccessChain 19(b2) 114 118
283             120:6(float16_t) Load 119
284             121:   37(float) FConvert 120
285             122:    116(ptr) AccessChain 27(b1) 115
286             123:     20(int) Load 122
287             124:     20(int) IAdd 123 32
288             125:     28(ptr) AccessChain 19(b2) 114 124
289             126:6(float16_t) Load 125
290             127:   37(float) FConvert 126
291             128:    116(ptr) AccessChain 27(b1) 115
292             129:     20(int) Load 128
293             130:     20(int) IAdd 129 33
294             131:     28(ptr) AccessChain 19(b2) 114 130
295             132:6(float16_t) Load 131
296             133:   37(float) FConvert 132
297             134:   38(fvec3) CompositeConstruct 121 127 133
298                              Store 113(v3) 134
299             136:    116(ptr) AccessChain 27(b1) 115
300             137:     20(int) Load 136
301             138:     28(ptr) AccessChain 52(b5) 114 137
302             139:6(float16_t) Load 138
303             140:   37(float) FConvert 139
304             141:    116(ptr) AccessChain 27(b1) 115
305             142:     20(int) Load 141
306             143:     20(int) IAdd 142 32
307             144:     28(ptr) AccessChain 52(b5) 114 143
308             145:6(float16_t) Load 144
309             146:   37(float) FConvert 145
310             147:    116(ptr) AccessChain 27(b1) 115
311             148:     20(int) Load 147
312             149:     20(int) IAdd 148 33
313             150:     28(ptr) AccessChain 52(b5) 114 149
314             151:6(float16_t) Load 150
315             152:   37(float) FConvert 151
316             153:   38(fvec3) CompositeConstruct 140 146 152
317                              Store 135(u3) 153
318             154:     43(ptr) AccessChain 19(b2) 115 21
319             155:  7(f16vec2) Load 154
320             156:     43(ptr) AccessChain 19(b2) 115 21
321                              Store 156 155
322             157:     43(ptr) AccessChain 52(b5) 115 32
323             158:  7(f16vec2) Load 157
324             159:     43(ptr) AccessChain 19(b2) 115 32
325                              Store 159 158
326             160:     28(ptr) AccessChain 27(b1) 21
327             161:6(float16_t) Load 160
328             162:     28(ptr) AccessChain 19(b2) 32 104
329                              Store 162 161
330             163:     28(ptr) AccessChain 19(b2) 32 104
331             164:6(float16_t) Load 163
332             165:     28(ptr) AccessChain 19(b2) 21
333                              Store 165 164
334             168:  7(f16vec2) FConvert 167
335             169:     43(ptr) AccessChain 19(b2) 32
336                              Store 169 168
337             171:6(float16_t) FConvert 170
338             172:     28(ptr) AccessChain 19(b2) 21
339                              Store 172 171
340                              Return
341                              FunctionEnd
342