1617a3babSopenharmony_cispv.specConstantOperations.vert
2617a3babSopenharmony_ci// Module Version 10000
3617a3babSopenharmony_ci// Generated by (magic number): 8000b
4617a3babSopenharmony_ci// Id's are bound by 162
5617a3babSopenharmony_ci
6617a3babSopenharmony_ci                              Capability Shader
7617a3babSopenharmony_ci                              Capability Float64
8617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
9617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
10617a3babSopenharmony_ci                              EntryPoint Vertex 4  "main"
11617a3babSopenharmony_ci                              Source GLSL 450
12617a3babSopenharmony_ci                              Name 4  "main"
13617a3babSopenharmony_ci                              Name 8  "non_const_array_size_from_spec_const("
14617a3babSopenharmony_ci                              Name 11  "i"
15617a3babSopenharmony_ci                              Name 19  "sp_int"
16617a3babSopenharmony_ci                              Name 27  "array"
17617a3babSopenharmony_ci                              Name 40  "sp_float"
18617a3babSopenharmony_ci                              Name 42  "sp_uint"
19617a3babSopenharmony_ci                              Name 43  "sp_sint"
20617a3babSopenharmony_ci                              Name 45  "sp_double"
21617a3babSopenharmony_ci                              Name 46  "float_from_double"
22617a3babSopenharmony_ci                              Name 47  "double_from_float"
23617a3babSopenharmony_ci                              Name 49  "bool_from_int"
24617a3babSopenharmony_ci                              Name 50  "bool_from_uint"
25617a3babSopenharmony_ci                              Name 51  "int_from_bool"
26617a3babSopenharmony_ci                              Name 53  "uint_from_bool"
27617a3babSopenharmony_ci                              Name 54  "sp_uint_from_sint"
28617a3babSopenharmony_ci                              Name 55  "sp_sint_from_uint"
29617a3babSopenharmony_ci                              Name 56  "negate_int"
30617a3babSopenharmony_ci                              Name 57  "not_int"
31617a3babSopenharmony_ci                              Name 58  "sp_int_add_two"
32617a3babSopenharmony_ci                              Name 61  "sp_int_add_two_sub_three"
33617a3babSopenharmony_ci                              Name 63  "sp_int_add_two_sub_four"
34617a3babSopenharmony_ci                              Name 64  "sp_sint_mul_two"
35617a3babSopenharmony_ci                              Name 66  "sp_uint_mul_two"
36617a3babSopenharmony_ci                              Name 68  "sp_sint_mul_two_div_five"
37617a3babSopenharmony_ci                              Name 70  "sp_uint_mul_two_div_five"
38617a3babSopenharmony_ci                              Name 71  "sp_sint_rem_four"
39617a3babSopenharmony_ci                              Name 73  "sp_uint_rem_four"
40617a3babSopenharmony_ci                              Name 75  "sp_sint_mul_three_div_five"
41617a3babSopenharmony_ci                              Name 77  "sp_sint_shift_right_arithmetic"
42617a3babSopenharmony_ci                              Name 79  "sp_uint_shift_right_arithmetic"
43617a3babSopenharmony_ci                              Name 80  "sp_sint_shift_left"
44617a3babSopenharmony_ci                              Name 81  "sp_uint_shift_left"
45617a3babSopenharmony_ci                              Name 83  "sp_sint_or_256"
46617a3babSopenharmony_ci                              Name 85  "sp_uint_xor_512"
47617a3babSopenharmony_ci                              Name 86  "sp_int_lt_sp_sint"
48617a3babSopenharmony_ci                              Name 87  "sp_uint_equal_sp_uint"
49617a3babSopenharmony_ci                              Name 88  "sp_int_gt_sp_sint"
50617a3babSopenharmony_ci                              Name 91  "iv"
51617a3babSopenharmony_ci                              Name 95  "uv"
52617a3babSopenharmony_ci                              Name 98  "bv_from_iv"
53617a3babSopenharmony_ci                              Name 99  "bv_from_uv"
54617a3babSopenharmony_ci                              Name 102  "iv_from_bv"
55617a3babSopenharmony_ci                              Name 104  "uv_from_bv"
56617a3babSopenharmony_ci                              Name 105  "uv_from_iv"
57617a3babSopenharmony_ci                              Name 106  "iv_from_uv"
58617a3babSopenharmony_ci                              Name 107  "not_iv"
59617a3babSopenharmony_ci                              Name 108  "negate_iv"
60617a3babSopenharmony_ci                              Name 110  "iv_add_two"
61617a3babSopenharmony_ci                              Name 113  "iv_add_two_sub_three"
62617a3babSopenharmony_ci                              Name 115  "iv_add_two_sub_four"
63617a3babSopenharmony_ci                              Name 116  "iv_mul_two"
64617a3babSopenharmony_ci                              Name 118  "iv_mul_two_div_five"
65617a3babSopenharmony_ci                              Name 119  "iv_rem_four"
66617a3babSopenharmony_ci                              Name 121  "iv_shift_right_arithmetic"
67617a3babSopenharmony_ci                              Name 122  "iv_shift_left"
68617a3babSopenharmony_ci                              Name 125  "iv_or_1024"
69617a3babSopenharmony_ci                              Name 128  "uv_xor_2048"
70617a3babSopenharmony_ci                              Name 129  "iv_x"
71617a3babSopenharmony_ci                              Name 131  "iv_yx"
72617a3babSopenharmony_ci                              Name 133  "iv_zyx"
73617a3babSopenharmony_ci                              Name 134  "iv_yzxw"
74617a3babSopenharmony_ci                              Name 135  "a"
75617a3babSopenharmony_ci                              Name 136  "b"
76617a3babSopenharmony_ci                              Name 137  "c"
77617a3babSopenharmony_ci                              Name 142  "ternayArray1"
78617a3babSopenharmony_ci                              Name 145  "t1"
79617a3babSopenharmony_ci                              Name 146  "t2"
80617a3babSopenharmony_ci                              Name 148  "t3"
81617a3babSopenharmony_ci                              Name 152  "t4"
82617a3babSopenharmony_ci                              Name 161  "v2"
83617a3babSopenharmony_ci                              Decorate 19(sp_int) SpecId 201
84617a3babSopenharmony_ci                              Decorate 40(sp_float) SpecId 200
85617a3babSopenharmony_ci                              Decorate 42(sp_uint) SpecId 202
86617a3babSopenharmony_ci                              Decorate 43(sp_sint) SpecId 203
87617a3babSopenharmony_ci                              Decorate 45(sp_double) SpecId 204
88617a3babSopenharmony_ci                              Decorate 135(a) SpecId 210
89617a3babSopenharmony_ci                              Decorate 136(b) SpecId 211
90617a3babSopenharmony_ci                              Decorate 137(c) SpecId 212
91617a3babSopenharmony_ci               2:             TypeVoid
92617a3babSopenharmony_ci               3:             TypeFunction 2
93617a3babSopenharmony_ci               6:             TypeInt 32 1
94617a3babSopenharmony_ci               7:             TypeFunction 6(int)
95617a3babSopenharmony_ci              10:             TypePointer Function 6(int)
96617a3babSopenharmony_ci              12:      6(int) Constant 0
97617a3babSopenharmony_ci      19(sp_int):      6(int) SpecConstant 10
98617a3babSopenharmony_ci              20:      6(int) Constant 2
99617a3babSopenharmony_ci              21:      6(int) SpecConstantOp 128 19(sp_int) 20
100617a3babSopenharmony_ci              22:             TypeBool
101617a3babSopenharmony_ci              24:      6(int) SpecConstantOp 128 19(sp_int) 20
102617a3babSopenharmony_ci              25:             TypeArray 6(int) 24
103617a3babSopenharmony_ci              26:             TypePointer Function 25
104617a3babSopenharmony_ci              29:      6(int) Constant 1023
105617a3babSopenharmony_ci              32:      6(int) Constant 1
106617a3babSopenharmony_ci              34:      6(int) SpecConstantOp 128 19(sp_int) 32
107617a3babSopenharmony_ci              39:             TypeFloat 32
108617a3babSopenharmony_ci    40(sp_float):   39(float) SpecConstant 1078530010
109617a3babSopenharmony_ci              41:             TypeInt 32 0
110617a3babSopenharmony_ci     42(sp_uint):     41(int) SpecConstant 100
111617a3babSopenharmony_ci     43(sp_sint):      6(int) SpecConstant 4294967286
112617a3babSopenharmony_ci              44:             TypeFloat 64
113617a3babSopenharmony_ci   45(sp_double):44(float64_t) SpecConstant 2333366019 1074118410
114617a3babSopenharmony_ci46(float_from_double):   39(float) SpecConstantOp 115 45(sp_double)
115617a3babSopenharmony_ci47(double_from_float):44(float64_t) SpecConstantOp 115 40(sp_float)
116617a3babSopenharmony_ci              48:     41(int) Constant 0
117617a3babSopenharmony_ci49(bool_from_int):    22(bool) SpecConstantOp 171 19(sp_int) 48
118617a3babSopenharmony_ci50(bool_from_uint):    22(bool) SpecConstantOp 171 42(sp_uint) 48
119617a3babSopenharmony_ci51(int_from_bool):      6(int) SpecConstantOp 169 49(bool_from_int) 32 12
120617a3babSopenharmony_ci              52:     41(int) Constant 1
121617a3babSopenharmony_ci53(uint_from_bool):     41(int) SpecConstantOp 169 49(bool_from_int) 52 48
122617a3babSopenharmony_ci54(sp_uint_from_sint):     41(int) SpecConstantOp 128 43(sp_sint) 48
123617a3babSopenharmony_ci55(sp_sint_from_uint):      6(int) SpecConstantOp 128 42(sp_uint) 48
124617a3babSopenharmony_ci  56(negate_int):      6(int) SpecConstantOp 126 19(sp_int)
125617a3babSopenharmony_ci     57(not_int):      6(int) SpecConstantOp 200 19(sp_int)
126617a3babSopenharmony_ci58(sp_int_add_two):      6(int) SpecConstantOp 128 19(sp_int) 20
127617a3babSopenharmony_ci              59:      6(int) SpecConstantOp 128 19(sp_int) 20
128617a3babSopenharmony_ci              60:      6(int) Constant 3
129617a3babSopenharmony_ci61(sp_int_add_two_sub_three):      6(int) SpecConstantOp 130 59 60
130617a3babSopenharmony_ci              62:      6(int) Constant 4
131617a3babSopenharmony_ci63(sp_int_add_two_sub_four):      6(int) SpecConstantOp 130 58(sp_int_add_two) 62
132617a3babSopenharmony_ci64(sp_sint_mul_two):      6(int) SpecConstantOp 132 43(sp_sint) 20
133617a3babSopenharmony_ci              65:     41(int) Constant 2
134617a3babSopenharmony_ci66(sp_uint_mul_two):     41(int) SpecConstantOp 132 42(sp_uint) 65
135617a3babSopenharmony_ci              67:      6(int) Constant 5
136617a3babSopenharmony_ci68(sp_sint_mul_two_div_five):      6(int) SpecConstantOp 135 64(sp_sint_mul_two) 67
137617a3babSopenharmony_ci              69:     41(int) Constant 5
138617a3babSopenharmony_ci70(sp_uint_mul_two_div_five):     41(int) SpecConstantOp 134 66(sp_uint_mul_two) 69
139617a3babSopenharmony_ci71(sp_sint_rem_four):      6(int) SpecConstantOp 139 43(sp_sint) 62
140617a3babSopenharmony_ci              72:     41(int) Constant 4
141617a3babSopenharmony_ci73(sp_uint_rem_four):     41(int) SpecConstantOp 137 42(sp_uint) 72
142617a3babSopenharmony_ci              74:      6(int) SpecConstantOp 132 43(sp_sint) 60
143617a3babSopenharmony_ci75(sp_sint_mul_three_div_five):      6(int) SpecConstantOp 135 74 67
144617a3babSopenharmony_ci              76:      6(int) Constant 10
145617a3babSopenharmony_ci77(sp_sint_shift_right_arithmetic):      6(int) SpecConstantOp 195 43(sp_sint) 76
146617a3babSopenharmony_ci              78:      6(int) Constant 20
147617a3babSopenharmony_ci79(sp_uint_shift_right_arithmetic):     41(int) SpecConstantOp 194 42(sp_uint) 78
148617a3babSopenharmony_ci80(sp_sint_shift_left):      6(int) SpecConstantOp 196 43(sp_sint) 32
149617a3babSopenharmony_ci81(sp_uint_shift_left):     41(int) SpecConstantOp 196 42(sp_uint) 20
150617a3babSopenharmony_ci              82:      6(int) Constant 256
151617a3babSopenharmony_ci83(sp_sint_or_256):      6(int) SpecConstantOp 197 43(sp_sint) 82
152617a3babSopenharmony_ci              84:     41(int) Constant 512
153617a3babSopenharmony_ci85(sp_uint_xor_512):     41(int) SpecConstantOp 198 42(sp_uint) 84
154617a3babSopenharmony_ci86(sp_int_lt_sp_sint):    22(bool) SpecConstantOp 177 19(sp_int) 43(sp_sint)
155617a3babSopenharmony_ci87(sp_uint_equal_sp_uint):    22(bool) SpecConstantOp 170 42(sp_uint) 42(sp_uint)
156617a3babSopenharmony_ci88(sp_int_gt_sp_sint):    22(bool) SpecConstantOp 173 19(sp_int) 43(sp_sint)
157617a3babSopenharmony_ci              89:      6(int) Constant 30
158617a3babSopenharmony_ci              90:             TypeVector 6(int) 4
159617a3babSopenharmony_ci          91(iv):   90(ivec4) SpecConstantComposite 78 89 19(sp_int) 19(sp_int)
160617a3babSopenharmony_ci              92:     41(int) Constant 4294967295
161617a3babSopenharmony_ci              93:     41(int) Constant 4294967294
162617a3babSopenharmony_ci              94:             TypeVector 41(int) 4
163617a3babSopenharmony_ci          95(uv):   94(ivec4) SpecConstantComposite 42(sp_uint) 42(sp_uint) 92 93
164617a3babSopenharmony_ci              96:             TypeVector 22(bool) 4
165617a3babSopenharmony_ci              97:   94(ivec4) ConstantComposite 48 48 48 48
166617a3babSopenharmony_ci  98(bv_from_iv):   96(bvec4) SpecConstantOp 171 91(iv) 97
167617a3babSopenharmony_ci  99(bv_from_uv):   96(bvec4) SpecConstantOp 171 95(uv) 97
168617a3babSopenharmony_ci             100:   90(ivec4) ConstantComposite 12 12 12 12
169617a3babSopenharmony_ci             101:   90(ivec4) ConstantComposite 32 32 32 32
170617a3babSopenharmony_ci 102(iv_from_bv):   90(ivec4) SpecConstantOp 169 98(bv_from_iv) 101 100
171617a3babSopenharmony_ci             103:   94(ivec4) ConstantComposite 52 52 52 52
172617a3babSopenharmony_ci 104(uv_from_bv):   94(ivec4) SpecConstantOp 169 98(bv_from_iv) 103 97
173617a3babSopenharmony_ci 105(uv_from_iv):   94(ivec4) SpecConstantOp 128 91(iv) 97
174617a3babSopenharmony_ci 106(iv_from_uv):   90(ivec4) SpecConstantOp 128 95(uv) 97
175617a3babSopenharmony_ci     107(not_iv):   90(ivec4) SpecConstantOp 200 91(iv)
176617a3babSopenharmony_ci  108(negate_iv):   90(ivec4) SpecConstantOp 126 91(iv)
177617a3babSopenharmony_ci             109:   90(ivec4) ConstantComposite 20 20 20 20
178617a3babSopenharmony_ci 110(iv_add_two):   90(ivec4) SpecConstantOp 128 91(iv) 109
179617a3babSopenharmony_ci             111:   90(ivec4) SpecConstantOp 128 91(iv) 109
180617a3babSopenharmony_ci             112:   90(ivec4) ConstantComposite 60 60 60 60
181617a3babSopenharmony_ci113(iv_add_two_sub_three):   90(ivec4) SpecConstantOp 130 111 112
182617a3babSopenharmony_ci             114:   90(ivec4) ConstantComposite 62 62 62 62
183617a3babSopenharmony_ci115(iv_add_two_sub_four):   90(ivec4) SpecConstantOp 130 113(iv_add_two_sub_three) 114
184617a3babSopenharmony_ci 116(iv_mul_two):   90(ivec4) SpecConstantOp 132 91(iv) 109
185617a3babSopenharmony_ci             117:   90(ivec4) ConstantComposite 67 67 67 67
186617a3babSopenharmony_ci118(iv_mul_two_div_five):   90(ivec4) SpecConstantOp 135 116(iv_mul_two) 117
187617a3babSopenharmony_ci119(iv_rem_four):   90(ivec4) SpecConstantOp 139 91(iv) 114
188617a3babSopenharmony_ci             120:   90(ivec4) ConstantComposite 76 76 76 76
189617a3babSopenharmony_ci121(iv_shift_right_arithmetic):   90(ivec4) SpecConstantOp 195 91(iv) 120
190617a3babSopenharmony_ci122(iv_shift_left):   90(ivec4) SpecConstantOp 196 91(iv) 109
191617a3babSopenharmony_ci             123:      6(int) Constant 1024
192617a3babSopenharmony_ci             124:   90(ivec4) ConstantComposite 123 123 123 123
193617a3babSopenharmony_ci 125(iv_or_1024):   90(ivec4) SpecConstantOp 197 91(iv) 124
194617a3babSopenharmony_ci             126:     41(int) Constant 2048
195617a3babSopenharmony_ci             127:   94(ivec4) ConstantComposite 126 126 126 126
196617a3babSopenharmony_ci128(uv_xor_2048):   94(ivec4) SpecConstantOp 198 95(uv) 127
197617a3babSopenharmony_ci       129(iv_x):      6(int) SpecConstantOp 81 91(iv) 0
198617a3babSopenharmony_ci             130:             TypeVector 6(int) 2
199617a3babSopenharmony_ci      131(iv_yx):  130(ivec2) SpecConstantOp 79 91(iv) 91(iv) 1(GLSL.std.450) 0
200617a3babSopenharmony_ci             132:             TypeVector 6(int) 3
201617a3babSopenharmony_ci     133(iv_zyx):  132(ivec3) SpecConstantOp 79 91(iv) 91(iv) 2 1(GLSL.std.450) 0
202617a3babSopenharmony_ci    134(iv_yzxw):   90(ivec4) SpecConstantOp 79 91(iv) 91(iv) 1(GLSL.std.450) 2 0 3
203617a3babSopenharmony_ci          135(a):      6(int) SpecConstant 4
204617a3babSopenharmony_ci          136(b):      6(int) SpecConstant 6
205617a3babSopenharmony_ci          137(c):    22(bool) SpecConstantTrue
206617a3babSopenharmony_ci             138:    22(bool) SpecConstantOp 173 135(a) 136(b)
207617a3babSopenharmony_ci             139:      6(int) SpecConstantOp 169 138 135(a) 136(b)
208617a3babSopenharmony_ci             140:             TypeArray 6(int) 139
209617a3babSopenharmony_ci             141:             TypePointer Private 140
210617a3babSopenharmony_ci142(ternayArray1):    141(ptr) Variable Private
211617a3babSopenharmony_ci             143:      6(int) Constant 13
212617a3babSopenharmony_ci             144:      6(int) Constant 17
213617a3babSopenharmony_ci         145(t1):      6(int) SpecConstantOp 169 137(c) 143 144
214617a3babSopenharmony_ci         146(t2):      6(int) SpecConstantOp 169 137(c) 135(a) 144
215617a3babSopenharmony_ci             147:    22(bool) ConstantTrue
216617a3babSopenharmony_ci         148(t3):      6(int) SpecConstantOp 169 147 135(a) 144
217617a3babSopenharmony_ci             149:    22(bool) SpecConstantOp 173 135(a) 136(b)
218617a3babSopenharmony_ci             150:      6(int) SpecConstantOp 128 143 135(a)
219617a3babSopenharmony_ci             151:      6(int) SpecConstantOp 132 144 136(b)
220617a3babSopenharmony_ci         152(t4):      6(int) SpecConstantOp 169 149 150 151
221617a3babSopenharmony_ci             153:    22(bool) SpecConstantOp 168 137(c)
222617a3babSopenharmony_ci             154:             TypeVector 39(float) 2
223617a3babSopenharmony_ci             155:   39(float) Constant 1065353216
224617a3babSopenharmony_ci             156:  154(fvec2) ConstantComposite 155 155
225617a3babSopenharmony_ci             157:   39(float) Constant 1073741824
226617a3babSopenharmony_ci             158:  154(fvec2) ConstantComposite 157 157
227617a3babSopenharmony_ci             159:             TypeVector 22(bool) 2
228617a3babSopenharmony_ci             160:  159(bvec2) SpecConstantComposite 153 153
229617a3babSopenharmony_ci         161(v2):  154(fvec2) SpecConstantOp 169 160 156 158
230617a3babSopenharmony_ci         4(main):           2 Function None 3
231617a3babSopenharmony_ci               5:             Label
232617a3babSopenharmony_ci                              Return
233617a3babSopenharmony_ci                              FunctionEnd
234617a3babSopenharmony_ci8(non_const_array_size_from_spec_const():      6(int) Function None 7
235617a3babSopenharmony_ci               9:             Label
236617a3babSopenharmony_ci           11(i):     10(ptr) Variable Function
237617a3babSopenharmony_ci       27(array):     26(ptr) Variable Function
238617a3babSopenharmony_ci                              Store 11(i) 12
239617a3babSopenharmony_ci                              Branch 13
240617a3babSopenharmony_ci              13:             Label
241617a3babSopenharmony_ci                              LoopMerge 15 16 None
242617a3babSopenharmony_ci                              Branch 17
243617a3babSopenharmony_ci              17:             Label
244617a3babSopenharmony_ci              18:      6(int) Load 11(i)
245617a3babSopenharmony_ci              23:    22(bool) SLessThan 18 21
246617a3babSopenharmony_ci                              BranchConditional 23 14 15
247617a3babSopenharmony_ci              14:               Label
248617a3babSopenharmony_ci              28:      6(int)   Load 11(i)
249617a3babSopenharmony_ci              30:     10(ptr)   AccessChain 27(array) 28
250617a3babSopenharmony_ci                                Store 30 29
251617a3babSopenharmony_ci                                Branch 16
252617a3babSopenharmony_ci              16:               Label
253617a3babSopenharmony_ci              31:      6(int)   Load 11(i)
254617a3babSopenharmony_ci              33:      6(int)   IAdd 31 32
255617a3babSopenharmony_ci                                Store 11(i) 33
256617a3babSopenharmony_ci                                Branch 13
257617a3babSopenharmony_ci              15:             Label
258617a3babSopenharmony_ci              35:     10(ptr) AccessChain 27(array) 34
259617a3babSopenharmony_ci              36:      6(int) Load 35
260617a3babSopenharmony_ci                              ReturnValue 36
261617a3babSopenharmony_ci                              FunctionEnd
262