xref: /aosp_15_r20/external/skia/tests/sksl/shared/MatrixConstructorsES3.skrp (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
170 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 = 0x3F800000 (1.0)
11i7 = 0x40000000 (2.0)
12i8 = 0x40400000 (3.0)
13i9 = 0x40800000 (4.0)
14i10 = 0x3F800000 (1.0)
15i11 = 0x40000000 (2.0)
16i12 = 0x40400000 (3.0)
17i13 = 0x40800000 (4.0)
18i14 = 0x3F800000 (1.0)
19i15 = 0x40000000 (2.0)
20i16 = 0x40400000 (3.0)
21i17 = 0x40800000 (4.0)
22i18 = 0x3F800000 (1.0)
23i19 = 0x40000000 (2.0)
24i20 = 0x40400000 (3.0)
25i21 = 0x40800000 (4.0)
26i22 = 0x3F800000 (1.0)
27
28store_src_rg                   coords = src.rg
29init_lane_masks                CondMask = LoopMask = RetMask = true
30copy_4_uniforms                f4 = testMatrix2x2
31copy_4_slots_unmasked          $0..3 = f4
32copy_2_slots_unmasked          $4..5 = f4(0..1)
33copy_4_immutables_unmasked     $6..9 = i0..3 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
34copy_2_immutables_unmasked     $10..11 = i4..5 [0x3F800000 (1.0), 0x40000000 (2.0)]
35cmpeq_n_floats                 $0..5 = equal($0..5, $6..11)
36bitwise_and_3_ints             $0..2 &= $3..5
37bitwise_and_int                $1 &= $2
38bitwise_and_int                $0 &= $1
39copy_slot_unmasked             ok = $0
40copy_3_slots_unmasked          $1..3 = f4(0..2)
41copy_4_slots_unmasked          $4..7 = f4
42swizzle_4                      $4..7 = ($4..7).wxyz
43copy_slot_unmasked             $8 = f4(3)
44copy_4_immutables_unmasked     $9..12 = i6..9 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
45copy_4_immutables_unmasked     $13..16 = i10..13 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
46cmpeq_n_floats                 $1..8 = equal($1..8, $9..16)
47bitwise_and_4_ints             $1..4 &= $5..8
48bitwise_and_2_ints             $1..2 &= $3..4
49bitwise_and_int                $1 &= $2
50bitwise_and_int                $0 &= $1
51copy_slot_unmasked             ok = $0
52copy_4_slots_unmasked          $1..4 = f4
53copy_4_slots_unmasked          $5..8 = f4
54copy_slot_unmasked             $9 = f4(0)
55copy_4_immutables_unmasked     $10..13 = i14..17 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
56copy_4_immutables_unmasked     $14..17 = i18..21 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
57copy_constant                  $18 = 0x3F800000 (1.0)
58cmpeq_n_floats                 $1..9 = equal($1..9, $10..18)
59bitwise_and_4_ints             $2..5 &= $6..9
60bitwise_and_2_ints             $2..3 &= $4..5
61bitwise_and_int                $2 &= $3
62bitwise_and_int                $1 &= $2
63bitwise_and_int                $0 &= $1
64copy_slot_unmasked             ok = $0
65copy_3_slots_unmasked          $1..3 = f4(0..2)
66copy_4_slots_unmasked          $4..7 = f4
67swizzle_4                      $4..7 = ($4..7).wxyz
68copy_slot_unmasked             $8 = f4(3)
69copy_4_immutables_unmasked     $9..12 = i6..9 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
70copy_4_immutables_unmasked     $13..16 = i10..13 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
71cmpeq_n_floats                 $1..8 = equal($1..8, $9..16)
72bitwise_and_4_ints             $1..4 &= $5..8
73bitwise_and_2_ints             $1..2 &= $3..4
74bitwise_and_int                $1 &= $2
75bitwise_and_int                $0 &= $1
76copy_slot_unmasked             ok = $0
77copy_slot_unmasked             $1 = f4(0)
78copy_4_slots_unmasked          $2..5 = f4
79swizzle_4                      $2..5 = ($2..5).yzwx
80copy_4_slots_unmasked          $6..9 = f4
81swizzle_4                      $6..9 = ($6..9).yzwx
82copy_3_slots_unmasked          $10..12 = f4(1..3)
83copy_4_immutables_unmasked     $13..16 = i6..9 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
84copy_4_immutables_unmasked     $17..20 = i10..13 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
85copy_4_immutables_unmasked     $21..24 = i14..17 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
86cmpeq_n_floats                 $1..12 = equal($1..12, $13..24)
87bitwise_and_4_ints             $5..8 &= $9..12
88bitwise_and_4_ints             $1..4 &= $5..8
89bitwise_and_2_ints             $1..2 &= $3..4
90bitwise_and_int                $1 &= $2
91bitwise_and_int                $0 &= $1
92copy_slot_unmasked             ok = $0
93swizzle_4                      $0..3 = ($0..3).xxxx
94copy_4_uniforms                $4..7 = colorRed
95copy_4_uniforms                $8..11 = colorGreen
96mix_4_ints                     $0..3 = mix($4..7, $8..11, $0..3)
97load_src                       src.rgba = $0..3
98