xref: /aosp_15_r20/external/skia/tests/sksl/shared/MatrixEquality.skrp (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1387 instructions
2
3[immutable slots]
4i0 = 0x3F800000 (1.0)
5i1 = 0x40000000 (2.0)
6i2 = 0x40400000 (3.0)
7i3 = 0x40800000 (4.0)
8i4 = 0x3F800000 (1.0)
9i5 = 0x40000000 (2.0)
10i6 = 0x40400000 (3.0)
11i7 = 0x40800000 (4.0)
12i8 = 0x40A00000 (5.0)
13i9 = 0x40C00000 (6.0)
14i10 = 0x40E00000 (7.0)
15i11 = 0x41000000 (8.0)
16i12 = 0x41100000 (9.0)
17i13 = 0x42C80000 (100.0)
18i14 = 0
19i15 = 0
20i16 = 0x42C80000 (100.0)
21i17 = 0x41100000 (9.0)
22i18 = 0x41000000 (8.0)
23i19 = 0x40E00000 (7.0)
24i20 = 0x40C00000 (6.0)
25i21 = 0x40A00000 (5.0)
26i22 = 0x40800000 (4.0)
27i23 = 0x40400000 (3.0)
28i24 = 0x40000000 (2.0)
29i25 = 0x3F800000 (1.0)
30i26 = 0x3F800000 (1.0)
31i27 = 0
32i28 = 0
33i29 = 0x3F800000 (1.0)
34i30 = 0
35i31 = 0
36i32 = 0
37i33 = 0
38i34 = 0xBF800000 (-1.0)
39i35 = 0
40i36 = 0
41i37 = 0xBF800000 (-1.0)
42i38 = 0x80000000 (-0.0)
43i39 = 0
44i40 = 0
45i41 = 0x80000000 (-0.0)
46i42 = 0x41100000 (9.0)
47i43 = 0
48i44 = 0
49i45 = 0x41100000 (9.0)
50
51store_src_rg                   coords = src.rg
52init_lane_masks                CondMask = LoopMask = RetMask = true
53copy_constant                  _0_ok = 0xFFFFFFFF
54copy_slot_unmasked             $0 = _0_ok
55copy_4_uniforms                $1..4 = testMatrix2x2
56copy_4_immutables_unmasked     $5..8 = i0..3 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
57cmpeq_4_floats                 $1..4 = equal($1..4, $5..8)
58bitwise_and_2_ints             $1..2 &= $3..4
59bitwise_and_int                $1 &= $2
60bitwise_and_int                $0 &= $1
61copy_slot_unmasked             _0_ok = $0
62copy_4_uniforms                $1..4 = testMatrix3x3(0..3)
63copy_4_uniforms                $5..8 = testMatrix3x3(4..7)
64copy_uniform                   $9 = testMatrix3x3(8)
65copy_4_immutables_unmasked     $10..13 = i4..7 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
66copy_4_immutables_unmasked     $14..17 = i8..11 [0x40A00000 (5.0), 0x40C00000 (6.0), 0x40E00000 (7.0), 0x41000000 (8.0)]
67copy_constant                  $18 = 0x41100000 (9.0)
68cmpeq_n_floats                 $1..9 = equal($1..9, $10..18)
69bitwise_and_4_ints             $2..5 &= $6..9
70bitwise_and_2_ints             $2..3 &= $4..5
71bitwise_and_int                $2 &= $3
72bitwise_and_int                $1 &= $2
73bitwise_and_int                $0 &= $1
74copy_slot_unmasked             _0_ok = $0
75copy_4_uniforms                $1..4 = testMatrix2x2
76copy_4_immutables_unmasked     $5..8 = i13..16 [0x42C80000 (100.0), 0, 0, 0x42C80000 (100.0)]
77cmpne_4_floats                 $1..4 = notEqual($1..4, $5..8)
78bitwise_or_2_ints              $1..2 |= $3..4
79bitwise_or_int                 $1 |= $2
80bitwise_and_int                $0 &= $1
81copy_slot_unmasked             _0_ok = $0
82copy_4_uniforms                $1..4 = testMatrix3x3(0..3)
83copy_4_uniforms                $5..8 = testMatrix3x3(4..7)
84copy_uniform                   $9 = testMatrix3x3(8)
85copy_4_immutables_unmasked     $10..13 = i17..20 [0x41100000 (9.0), 0x41000000 (8.0), 0x40E00000 (7.0), 0x40C00000 (6.0)]
86copy_4_immutables_unmasked     $14..17 = i21..24 [0x40A00000 (5.0), 0x40800000 (4.0), 0x40400000 (3.0), 0x40000000 (2.0)]
87copy_constant                  $18 = 0x3F800000 (1.0)
88cmpne_n_floats                 $1..9 = notEqual($1..9, $10..18)
89bitwise_or_4_ints              $2..5 |= $6..9
90bitwise_or_2_ints              $2..3 |= $4..5
91bitwise_or_int                 $2 |= $3
92bitwise_or_int                 $1 |= $2
93bitwise_and_int                $0 &= $1
94copy_slot_unmasked             _0_ok = $0
95copy_2_uniforms                _1_zero, _2_one = colorGreen(0..1)
96copy_slot_unmasked             $0 = _2_one
97mul_imm_float                  $0 *= 0x40000000 (2.0)
98copy_slot_unmasked             _3_two = $0
99copy_slot_unmasked             $0 = _2_one
100mul_imm_float                  $0 *= 0x41100000 (9.0)
101copy_slot_unmasked             _4_nine = $0
102copy_slot_unmasked             $0 = _0_ok
103copy_slot_unmasked             $1 = _2_one
104copy_slot_unmasked             $2 = _1_zero
105copy_2_slots_unmasked          $3..4 = _1_zero, _2_one
106copy_4_immutables_unmasked     $5..8 = i26..29 [0x3F800000 (1.0), 0, 0, 0x3F800000 (1.0)]
107cmpeq_4_floats                 $1..4 = equal($1..4, $5..8)
108bitwise_and_2_ints             $1..2 &= $3..4
109bitwise_and_int                $1 &= $2
110bitwise_and_int                $0 &= $1
111copy_slot_unmasked             _0_ok = $0
112copy_slot_unmasked             $1 = _2_one
113copy_2_slots_unmasked          $2..3 = _1_zero, _2_one
114copy_slot_unmasked             $4 = $3
115copy_4_immutables_unmasked     $5..8 = i26..29 [0x3F800000 (1.0), 0, 0, 0x3F800000 (1.0)]
116cmpne_4_floats                 $1..4 = notEqual($1..4, $5..8)
117bitwise_or_2_ints              $1..2 |= $3..4
118bitwise_or_int                 $1 |= $2
119bitwise_and_int                $0 &= $1
120copy_slot_unmasked             _0_ok = $0
121copy_constant                  $1 = 0
122copy_slot_unmasked             $2 = _2_one
123swizzle_4                      $1..4 = ($1..4).yxxy
124copy_4_immutables_unmasked     $5..8 = i26..29 [0x3F800000 (1.0), 0, 0, 0x3F800000 (1.0)]
125cmpeq_4_floats                 $1..4 = equal($1..4, $5..8)
126bitwise_and_2_ints             $1..2 &= $3..4
127bitwise_and_int                $1 &= $2
128bitwise_and_int                $0 &= $1
129copy_slot_unmasked             _0_ok = $0
130copy_constant                  $1 = 0
131copy_slot_unmasked             $2 = _2_one
132swizzle_4                      $1..4 = ($1..4).yxxy
133splat_4_constants              $5..8 = 0
134cmpne_4_floats                 $1..4 = notEqual($1..4, $5..8)
135bitwise_or_2_ints              $1..2 |= $3..4
136bitwise_or_int                 $1 |= $2
137bitwise_and_int                $0 &= $1
138copy_slot_unmasked             _0_ok = $0
139copy_constant                  $1 = 0
140copy_slot_unmasked             $2 = _2_one
141bitwise_xor_imm_int            $2 ^= 0x80000000
142swizzle_4                      $1..4 = ($1..4).yxxy
143copy_4_immutables_unmasked     $5..8 = i34..37 [0xBF800000 (-1.0), 0, 0, 0xBF800000 (-1.0)]
144cmpeq_4_floats                 $1..4 = equal($1..4, $5..8)
145bitwise_and_2_ints             $1..2 &= $3..4
146bitwise_and_int                $1 &= $2
147bitwise_and_int                $0 &= $1
148copy_slot_unmasked             _0_ok = $0
149copy_constant                  $1 = 0
150copy_slot_unmasked             $2 = _1_zero
151swizzle_4                      $1..4 = ($1..4).yxxy
152copy_4_immutables_unmasked     $5..8 = i38..41 [0x80000000 (-0.0), 0, 0, 0x80000000 (-0.0)]
153cmpeq_4_floats                 $1..4 = equal($1..4, $5..8)
154bitwise_and_2_ints             $1..2 &= $3..4
155bitwise_and_int                $1 &= $2
156bitwise_and_int                $0 &= $1
157copy_slot_unmasked             _0_ok = $0
158copy_constant                  $1 = 0
159copy_slot_unmasked             $2 = _2_one
160bitwise_xor_imm_int            $2 ^= 0x80000000
161swizzle_4                      $1..4 = ($1..4).yxxy
162splat_4_constants              $5..8 = 0x80000000 (-0.0)
163bitwise_xor_4_ints             $1..4 ^= $5..8
164copy_4_immutables_unmasked     $5..8 = i26..29 [0x3F800000 (1.0), 0, 0, 0x3F800000 (1.0)]
165cmpeq_4_floats                 $1..4 = equal($1..4, $5..8)
166bitwise_and_2_ints             $1..2 &= $3..4
167bitwise_and_int                $1 &= $2
168bitwise_and_int                $0 &= $1
169copy_slot_unmasked             _0_ok = $0
170copy_constant                  $1 = 0
171copy_slot_unmasked             $2 = _1_zero
172swizzle_4                      $1..4 = ($1..4).yxxy
173splat_4_constants              $5..8 = 0x80000000 (-0.0)
174bitwise_xor_4_ints             $1..4 ^= $5..8
175copy_4_immutables_unmasked     $5..8 = i38..41 [0x80000000 (-0.0), 0, 0, 0x80000000 (-0.0)]
176cmpeq_4_floats                 $1..4 = equal($1..4, $5..8)
177bitwise_and_2_ints             $1..2 &= $3..4
178bitwise_and_int                $1 &= $2
179bitwise_and_int                $0 &= $1
180copy_slot_unmasked             _0_ok = $0
181copy_constant                  $1 = 0
182copy_slot_unmasked             $2 = _2_one
183swizzle_4                      $1..4 = ($1..4).yxxy
184copy_4_immutables_unmasked     $5..8 = i26..29 [0x3F800000 (1.0), 0, 0, 0x3F800000 (1.0)]
185cmpeq_4_floats                 $1..4 = equal($1..4, $5..8)
186bitwise_and_2_ints             $1..2 &= $3..4
187bitwise_and_int                $1 &= $2
188bitwise_and_int                $0 &= $1
189copy_slot_unmasked             _0_ok = $0
190copy_constant                  $1 = 0
191copy_slot_unmasked             $2 = _3_two
192swizzle_4                      $1..4 = ($1..4).yxxy
193copy_4_immutables_unmasked     $5..8 = i26..29 [0x3F800000 (1.0), 0, 0, 0x3F800000 (1.0)]
194cmpne_4_floats                 $1..4 = notEqual($1..4, $5..8)
195bitwise_or_2_ints              $1..2 |= $3..4
196bitwise_or_int                 $1 |= $2
197bitwise_and_int                $0 &= $1
198copy_slot_unmasked             _0_ok = $0
199copy_constant                  $1 = 0
200copy_slot_unmasked             $2 = _2_one
201swizzle_4                      $1..4 = ($1..4).yxxy
202copy_4_immutables_unmasked     $5..8 = i26..29 [0x3F800000 (1.0), 0, 0, 0x3F800000 (1.0)]
203cmpeq_4_floats                 $1..4 = equal($1..4, $5..8)
204bitwise_and_2_ints             $1..2 &= $3..4
205bitwise_and_int                $1 &= $2
206bitwise_and_int                $0 &= $1
207copy_slot_unmasked             _0_ok = $0
208copy_constant                  $1 = 0
209copy_slot_unmasked             $2 = _2_one
210swizzle_4                      $1..4 = ($1..4).yxxy
211splat_4_constants              $5..8 = 0
212cmpne_4_floats                 $1..4 = notEqual($1..4, $5..8)
213bitwise_or_2_ints              $1..2 |= $3..4
214bitwise_or_int                 $1 |= $2
215bitwise_and_int                $0 &= $1
216copy_slot_unmasked             _0_ok = $0
217copy_slot_unmasked             $1 = _2_one
218copy_slot_unmasked             $2 = _1_zero
219copy_slot_unmasked             $3 = _1_zero
220copy_2_slots_unmasked          $4..5 = _1_zero, _2_one
221copy_slot_unmasked             $6 = _1_zero
222copy_slot_unmasked             $7 = _1_zero
223copy_2_slots_unmasked          $8..9 = _1_zero, _2_one
224copy_4_immutables_unmasked     $10..13 = i26..29 [0x3F800000 (1.0), 0, 0, 0x3F800000 (1.0)]
225copy_constant                  $14 = 0
226copy_constant                  $15 = 0x3F800000 (1.0)
227shuffle                        $12..18 = ($12..18)[2 0 1 2 2 2 3]
228cmpeq_n_floats                 $1..9 = equal($1..9, $10..18)
229bitwise_and_4_ints             $2..5 &= $6..9
230bitwise_and_2_ints             $2..3 &= $4..5
231bitwise_and_int                $2 &= $3
232bitwise_and_int                $1 &= $2
233bitwise_and_int                $0 &= $1
234copy_slot_unmasked             _0_ok = $0
235copy_slot_unmasked             $1 = _4_nine
236copy_slot_unmasked             $2 = _1_zero
237copy_slot_unmasked             $3 = _1_zero
238copy_slot_unmasked             $4 = _1_zero
239copy_slot_unmasked             $5 = _4_nine
240copy_slot_unmasked             $6 = _1_zero
241copy_slot_unmasked             $7 = _1_zero
242copy_2_slots_unmasked          $8..9 = _1_zero, _2_one
243copy_4_immutables_unmasked     $10..13 = i42..45 [0x41100000 (9.0), 0, 0, 0x41100000 (9.0)]
244copy_constant                  $14 = 0
245copy_constant                  $15 = 0x3F800000 (1.0)
246shuffle                        $12..18 = ($12..18)[2 0 1 2 2 2 3]
247cmpeq_n_floats                 $1..9 = equal($1..9, $10..18)
248bitwise_and_4_ints             $2..5 &= $6..9
249bitwise_and_2_ints             $2..3 &= $4..5
250bitwise_and_int                $2 &= $3
251bitwise_and_int                $1 &= $2
252bitwise_and_int                $0 &= $1
253copy_slot_unmasked             _0_ok = $0
254copy_constant                  $1 = 0
255copy_slot_unmasked             $2 = _2_one
256shuffle                        $1..9 = ($1..9)[1 0 0 0 1 0 0 0 1]
257copy_4_immutables_unmasked     $10..13 = i26..29 [0x3F800000 (1.0), 0, 0, 0x3F800000 (1.0)]
258copy_constant                  $14 = 0
259copy_constant                  $15 = 0x3F800000 (1.0)
260shuffle                        $12..18 = ($12..18)[2 0 1 2 2 2 3]
261cmpeq_n_floats                 $1..9 = equal($1..9, $10..18)
262bitwise_and_4_ints             $2..5 &= $6..9
263bitwise_and_2_ints             $2..3 &= $4..5
264bitwise_and_int                $2 &= $3
265bitwise_and_int                $1 &= $2
266bitwise_and_int                $0 &= $1
267copy_slot_unmasked             _0_ok = $0
268copy_slot_unmasked             $1 = _4_nine
269splat_3_constants              $2..4 = 0
270copy_slot_unmasked             $5 = _4_nine
271splat_3_constants              $6..8 = 0
272copy_slot_unmasked             $9 = _2_one
273copy_4_immutables_unmasked     $10..13 = i42..45 [0x41100000 (9.0), 0, 0, 0x41100000 (9.0)]
274copy_constant                  $14 = 0
275copy_constant                  $15 = 0x3F800000 (1.0)
276shuffle                        $12..18 = ($12..18)[2 0 1 2 2 2 3]
277cmpeq_n_floats                 $1..9 = equal($1..9, $10..18)
278bitwise_and_4_ints             $2..5 &= $6..9
279bitwise_and_2_ints             $2..3 &= $4..5
280bitwise_and_int                $2 &= $3
281bitwise_and_int                $1 &= $2
282bitwise_and_int                $0 &= $1
283copy_slot_unmasked             _0_ok = $0
284copy_constant                  $1 = 0
285copy_slot_unmasked             $2 = _2_one
286shuffle                        $1..9 = ($1..9)[1 0 0 0 1 0 0 0 1]
287shuffle                        $3..4 = ($3..4)[1 2]
288copy_4_immutables_unmasked     $5..8 = i26..29 [0x3F800000 (1.0), 0, 0, 0x3F800000 (1.0)]
289cmpeq_4_floats                 $1..4 = equal($1..4, $5..8)
290bitwise_and_2_ints             $1..2 &= $3..4
291bitwise_and_int                $1 &= $2
292bitwise_and_int                $0 &= $1
293copy_slot_unmasked             _0_ok = $0
294copy_constant                  $1 = 0
295copy_slot_unmasked             $2 = _2_one
296shuffle                        $1..9 = ($1..9)[1 0 0 0 1 0 0 0 1]
297shuffle                        $3..4 = ($3..4)[1 2]
298copy_4_immutables_unmasked     $5..8 = i26..29 [0x3F800000 (1.0), 0, 0, 0x3F800000 (1.0)]
299cmpeq_4_floats                 $1..4 = equal($1..4, $5..8)
300bitwise_and_2_ints             $1..2 &= $3..4
301bitwise_and_int                $1 &= $2
302bitwise_and_int                $0 &= $1
303copy_slot_unmasked             _0_ok = $0
304copy_slot_unmasked             $1 = _2_one
305copy_slot_unmasked             $2 = _1_zero
306copy_2_slots_unmasked          $3..4 = _1_zero, _2_one
307copy_4_immutables_unmasked     $5..8 = i26..29 [0x3F800000 (1.0), 0, 0, 0x3F800000 (1.0)]
308cmpeq_4_floats                 $1..4 = equal($1..4, $5..8)
309bitwise_and_2_ints             $1..2 &= $3..4
310bitwise_and_int                $1 &= $2
311bitwise_and_int                $0 &= $1
312copy_slot_unmasked             _0_ok = $0
313copy_slot_unmasked             $1 = _2_one
314copy_slot_unmasked             $2 = _1_zero
315copy_2_slots_unmasked          $3..4 = _1_zero, _2_one
316copy_4_immutables_unmasked     $5..8 = i26..29 [0x3F800000 (1.0), 0, 0, 0x3F800000 (1.0)]
317cmpeq_4_floats                 $1..4 = equal($1..4, $5..8)
318bitwise_and_2_ints             $1..2 &= $3..4
319bitwise_and_int                $1 &= $2
320bitwise_and_int                $0 &= $1
321copy_slot_unmasked             _0_ok = $0
322copy_slot_unmasked             $1 = _2_one
323copy_slot_unmasked             $2 = _1_zero
324copy_2_slots_unmasked          $3..4 = _1_zero, _2_one
325copy_4_immutables_unmasked     $5..8 = i26..29 [0x3F800000 (1.0), 0, 0, 0x3F800000 (1.0)]
326cmpeq_4_floats                 $1..4 = equal($1..4, $5..8)
327bitwise_and_2_ints             $1..2 &= $3..4
328bitwise_and_int                $1 &= $2
329bitwise_and_int                $0 &= $1
330copy_slot_unmasked             _0_ok = $0
331copy_4_uniforms                $1..4 = testMatrix2x2
332copy_slot_unmasked             $5 = _2_one
333swizzle_4                      $5..8 = ($5..8).xxxx
334mul_4_floats                   $1..4 *= $5..8
335copy_4_immutables_unmasked     $5..8 = i4..7 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
336cmpeq_4_floats                 $1..4 = equal($1..4, $5..8)
337bitwise_and_2_ints             $1..2 &= $3..4
338bitwise_and_int                $1 &= $2
339bitwise_and_int                $0 &= $1
340copy_slot_unmasked             _0_ok = $0
341copy_4_uniforms                $1..4 = testMatrix2x2
342copy_slot_unmasked             $5 = _2_one
343swizzle_4                      $5..8 = ($5..8).xxxx
344mul_4_floats                   $1..4 *= $5..8
345copy_4_uniforms                $5..8 = testMatrix2x2
346cmpeq_4_floats                 $1..4 = equal($1..4, $5..8)
347bitwise_and_2_ints             $1..2 &= $3..4
348bitwise_and_int                $1 &= $2
349bitwise_and_int                $0 &= $1
350copy_slot_unmasked             _0_ok = $0
351copy_4_uniforms                $1..4 = testMatrix2x2
352copy_slot_unmasked             $5 = _1_zero
353swizzle_4                      $5..8 = ($5..8).xxxx
354mul_4_floats                   $1..4 *= $5..8
355splat_4_constants              $5..8 = 0
356cmpeq_4_floats                 $1..4 = equal($1..4, $5..8)
357bitwise_and_2_ints             $1..2 &= $3..4
358bitwise_and_int                $1 &= $2
359bitwise_and_int                $0 &= $1
360copy_slot_unmasked             _0_ok = $0
361copy_2_slots_unmasked          _5_m(0..1) = _2_one, _3_two
362copy_constant                  _5_m(2) = 0x40400000 (3.0)
363copy_constant                  _5_m(3) = 0x40800000 (4.0)
364copy_constant                  _5_m(4) = 0x40A00000 (5.0)
365copy_constant                  _5_m(5) = 0x40C00000 (6.0)
366copy_constant                  _5_m(6) = 0x40E00000 (7.0)
367copy_constant                  _5_m(7) = 0x41000000 (8.0)
368copy_slot_unmasked             _5_m(8) = _4_nine
369copy_slot_unmasked             $0 = _0_ok
370copy_3_slots_unmasked          $1..3 = _5_m(0..2)
371copy_3_immutables_unmasked     $4..6 = i4..6 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0)]
372cmpeq_3_floats                 $1..3 = equal($1..3, $4..6)
373bitwise_and_int                $2 &= $3
374bitwise_and_int                $1 &= $2
375bitwise_and_int                $0 &= $1
376copy_slot_unmasked             _0_ok = $0
377copy_3_slots_unmasked          $1..3 = _5_m(3..5)
378copy_3_immutables_unmasked     $4..6 = i7..9 [0x40800000 (4.0), 0x40A00000 (5.0), 0x40C00000 (6.0)]
379cmpeq_3_floats                 $1..3 = equal($1..3, $4..6)
380bitwise_and_int                $2 &= $3
381bitwise_and_int                $1 &= $2
382bitwise_and_int                $0 &= $1
383copy_slot_unmasked             _0_ok = $0
384copy_3_slots_unmasked          $1..3 = _5_m(6..8)
385copy_3_immutables_unmasked     $4..6 = i10..12 [0x40E00000 (7.0), 0x41000000 (8.0), 0x41100000 (9.0)]
386cmpeq_3_floats                 $1..3 = equal($1..3, $4..6)
387bitwise_and_int                $2 &= $3
388bitwise_and_int                $1 &= $2
389bitwise_and_int                $0 &= $1
390copy_slot_unmasked             _0_ok = $0
391copy_slot_unmasked             $1 = _5_m(0)
392cmpeq_imm_float                $1 = equal($1, 0x3F800000 (1.0))
393bitwise_and_int                $0 &= $1
394copy_slot_unmasked             _0_ok = $0
395copy_3_slots_unmasked          $1..3 = _5_m(0..2)
396copy_slot_unmasked             $1 = $2
397cmpeq_imm_float                $1 = equal($1, 0x40000000 (2.0))
398bitwise_and_int                $0 &= $1
399copy_slot_unmasked             _0_ok = $0
400copy_3_slots_unmasked          $1..3 = _5_m(0..2)
401copy_slot_unmasked             $1 = $3
402cmpeq_imm_float                $1 = equal($1, 0x40400000 (3.0))
403bitwise_and_int                $0 &= $1
404copy_slot_unmasked             _0_ok = $0
405copy_slot_unmasked             $1 = _5_m(3)
406cmpeq_imm_float                $1 = equal($1, 0x40800000 (4.0))
407bitwise_and_int                $0 &= $1
408copy_slot_unmasked             _0_ok = $0
409copy_3_slots_unmasked          $1..3 = _5_m(3..5)
410copy_slot_unmasked             $1 = $2
411cmpeq_imm_float                $1 = equal($1, 0x40A00000 (5.0))
412bitwise_and_int                $0 &= $1
413copy_slot_unmasked             _0_ok = $0
414copy_3_slots_unmasked          $1..3 = _5_m(3..5)
415copy_slot_unmasked             $1 = $3
416cmpeq_imm_float                $1 = equal($1, 0x40C00000 (6.0))
417bitwise_and_int                $0 &= $1
418copy_slot_unmasked             _0_ok = $0
419copy_slot_unmasked             $1 = _5_m(6)
420cmpeq_imm_float                $1 = equal($1, 0x40E00000 (7.0))
421bitwise_and_int                $0 &= $1
422copy_slot_unmasked             _0_ok = $0
423copy_3_slots_unmasked          $1..3 = _5_m(6..8)
424copy_slot_unmasked             $1 = $2
425cmpeq_imm_float                $1 = equal($1, 0x41000000 (8.0))
426bitwise_and_int                $0 &= $1
427copy_slot_unmasked             _0_ok = $0
428copy_3_slots_unmasked          $1..3 = _5_m(6..8)
429copy_slot_unmasked             $1 = $3
430cmpeq_imm_float                $1 = equal($1, 0x41100000 (9.0))
431bitwise_and_int                $0 &= $1
432copy_slot_unmasked             _0_ok = $0
433swizzle_4                      $0..3 = ($0..3).xxxx
434copy_4_uniforms                $4..7 = colorRed
435copy_4_uniforms                $8..11 = colorGreen
436mix_4_ints                     $0..3 = mix($4..7, $8..11, $0..3)
437load_src                       src.rgba = $0..3
438