xref: /aosp_15_r20/external/skia/tests/sksl/shared/ArrayNarrowingConversions.skrp (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
138 instructions
2
3[immutable slots]
4i0 = 0x00000001 (1.401298e-45)
5i1 = 0x00000002 (2.802597e-45)
6i2 = 0x3F800000 (1.0)
7i3 = 0x40000000 (2.0)
8
9store_src_rg                   coords = src.rg
10init_lane_masks                CondMask = LoopMask = RetMask = true
11copy_2_immutables_unmasked     i2[0], i2[1] = i0..1 [0x00000001 (1.401298e-45), 0x00000002 (2.802597e-45)]
12copy_2_immutables_unmasked     s2[0], s2[1] = i0..1 [0x00000001 (1.401298e-45), 0x00000002 (2.802597e-45)]
13copy_2_immutables_unmasked     f2[0], f2[1] = i2..3 [0x3F800000 (1.0), 0x40000000 (2.0)]
14copy_2_immutables_unmasked     h2[0], h2[1] = i2..3 [0x3F800000 (1.0), 0x40000000 (2.0)]
15copy_2_slots_unmasked          i2[0], i2[1] = s2[0], s2[1]
16copy_2_slots_unmasked          s2[0], s2[1] = i2[0], i2[1]
17copy_2_slots_unmasked          f2[0], f2[1] = h2[0], h2[1]
18copy_2_slots_unmasked          h2[0], h2[1] = f2[0], f2[1]
19copy_2_slots_unmasked          $0..1 = i2[0], i2[1]
20copy_2_slots_unmasked          $12..13 = s2[0], s2[1]
21copy_2_slots_unmasked          $2..3 = $12..13
22cmpeq_2_ints                   $0..1 = equal($0..1, $2..3)
23bitwise_and_int                $0 &= $1
24copy_2_slots_unmasked          $1..2 = f2[0], f2[1]
25copy_2_slots_unmasked          $12..13 = h2[0], h2[1]
26copy_2_slots_unmasked          $3..4 = $12..13
27cmpeq_2_floats                 $1..2 = equal($1..2, $3..4)
28bitwise_and_int                $1 &= $2
29bitwise_and_int                $0 &= $1
30copy_2_slots_unmasked          $1..2 = i2[0], i2[1]
31copy_2_immutables_unmasked     $12..13 = i0..1 [0x00000001 (1.401298e-45), 0x00000002 (2.802597e-45)]
32copy_2_slots_unmasked          $3..4 = $12..13
33cmpeq_2_ints                   $1..2 = equal($1..2, $3..4)
34bitwise_and_int                $1 &= $2
35bitwise_and_int                $0 &= $1
36copy_2_slots_unmasked          $12..13 = h2[0], h2[1]
37copy_2_slots_unmasked          $1..2 = $12..13
38copy_2_immutables_unmasked     $3..4 = i2..3 [0x3F800000 (1.0), 0x40000000 (2.0)]
39cmpeq_2_floats                 $1..2 = equal($1..2, $3..4)
40bitwise_and_int                $1 &= $2
41bitwise_and_int                $0 &= $1
42swizzle_4                      $0..3 = ($0..3).xxxx
43copy_4_uniforms                $4..7 = colorRed
44copy_4_uniforms                $8..11 = colorGreen
45mix_4_ints                     $0..3 = mix($4..7, $8..11, $0..3)
46load_src                       src.rgba = $0..3
47