xref: /aosp_15_r20/external/skia/tests/sksl/intrinsics/MatrixCompMultES2.skrp (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
150 instructions
2
3[immutable slots]
4i0 = 0x49742400 (1000000.0)
5i1 = 0x49742400 (1000000.0)
6i2 = 0x49742400 (1000000.0)
7i3 = 0x49742400 (1000000.0)
8i4 = 0x7149F2CA (1e+30)
9i5 = 0x7149F2CA (1e+30)
10i6 = 0x7149F2CA (1e+30)
11i7 = 0x7149F2CA (1e+30)
12i8 = 0
13i9 = 0x40A00000 (5.0)
14i10 = 0x41200000 (10.0)
15i11 = 0x41700000 (15.0)
16i12 = 0x3F800000 (1.0)
17i13 = 0
18i14 = 0
19i15 = 0x3F800000 (1.0)
20i16 = 0x40000000 (2.0)
21i17 = 0x40000000 (2.0)
22i18 = 0x40000000 (2.0)
23i19 = 0x40000000 (2.0)
24i20 = 0x40000000 (2.0)
25i21 = 0x40000000 (2.0)
26i22 = 0x40000000 (2.0)
27i23 = 0x40000000 (2.0)
28i24 = 0x40000000 (2.0)
29i25 = 0x3F800000 (1.0)
30i26 = 0
31i27 = 0
32i28 = 0x40800000 (4.0)
33i29 = 0x40000000 (2.0)
34i30 = 0x40800000 (4.0)
35i31 = 0x40C00000 (6.0)
36i32 = 0x41000000 (8.0)
37i33 = 0x41200000 (10.0)
38i34 = 0x41400000 (12.0)
39i35 = 0x41600000 (14.0)
40i36 = 0x41800000 (16.0)
41i37 = 0x41900000 (18.0)
42
43store_src_rg                   coords = src.rg
44init_lane_masks                CondMask = LoopMask = RetMask = true
45splat_4_constants              h22 = 0x49742400 (1000000.0)
46splat_4_constants              $0..3 = 0x7149F2CA (1e+30)
47splat_4_constants              $4..7 = 0x7149F2CA (1e+30)
48mul_4_floats                   $0..3 *= $4..7
49copy_4_slots_unmasked          h22 = $0..3
50copy_4_immutables_unmasked     h22 = i8..11 [0, 0x40A00000 (5.0), 0x41200000 (10.0), 0x41700000 (15.0)]
51copy_4_uniforms                $0..3 = testMatrix2x2
52copy_4_immutables_unmasked     $4..7 = i12..15 [0x3F800000 (1.0), 0, 0, 0x3F800000 (1.0)]
53mul_4_floats                   $0..3 *= $4..7
54copy_4_slots_unmasked          f22 = $0..3
55copy_4_uniforms                $0..3 = testMatrix3x3(0..3)
56copy_4_uniforms                $4..7 = testMatrix3x3(4..7)
57copy_uniform                   $8 = testMatrix3x3(8)
58splat_4_constants              $9..12 = 0x40000000 (2.0)
59splat_4_constants              $13..16 = 0x40000000 (2.0)
60copy_constant                  $17 = 0x40000000 (2.0)
61mul_n_floats                   $0..8 *= $9..17
62copy_4_slots_unmasked          h33(0..3) = $0..3
63copy_4_slots_unmasked          h33(4..7) = $4..7
64copy_slot_unmasked             h33(8) = $8
65copy_4_slots_unmasked          $0..3 = h22
66copy_4_immutables_unmasked     $4..7 = i8..11 [0, 0x40A00000 (5.0), 0x41200000 (10.0), 0x41700000 (15.0)]
67cmpeq_4_floats                 $0..3 = equal($0..3, $4..7)
68bitwise_and_2_ints             $0..1 &= $2..3
69bitwise_and_int                $0 &= $1
70copy_4_slots_unmasked          $1..4 = f22
71copy_4_immutables_unmasked     $5..8 = i25..28 [0x3F800000 (1.0), 0, 0, 0x40800000 (4.0)]
72cmpeq_4_floats                 $1..4 = equal($1..4, $5..8)
73bitwise_and_2_ints             $1..2 &= $3..4
74bitwise_and_int                $1 &= $2
75bitwise_and_int                $0 &= $1
76copy_4_slots_unmasked          $1..4 = h33(0..3)
77copy_4_slots_unmasked          $5..8 = h33(4..7)
78copy_slot_unmasked             $9 = h33(8)
79copy_4_immutables_unmasked     $10..13 = i29..32 [0x40000000 (2.0), 0x40800000 (4.0), 0x40C00000 (6.0), 0x41000000 (8.0)]
80copy_4_immutables_unmasked     $14..17 = i33..36 [0x41200000 (10.0), 0x41400000 (12.0), 0x41600000 (14.0), 0x41800000 (16.0)]
81copy_constant                  $18 = 0x41900000 (18.0)
82cmpeq_n_floats                 $1..9 = equal($1..9, $10..18)
83bitwise_and_4_ints             $2..5 &= $6..9
84bitwise_and_2_ints             $2..3 &= $4..5
85bitwise_and_int                $2 &= $3
86bitwise_and_int                $1 &= $2
87bitwise_and_int                $0 &= $1
88swizzle_4                      $0..3 = ($0..3).xxxx
89copy_4_uniforms                $4..7 = colorRed
90copy_4_uniforms                $8..11 = colorGreen
91mix_4_ints                     $0..3 = mix($4..7, $8..11, $0..3)
92load_src                       src.rgba = $0..3
93