xref: /aosp_15_r20/external/skia/tests/sksl/intrinsics/Transpose.skrp (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
136 instructions
2
3[immutable slots]
4i0 = 0x3F800000 (1.0)
5i1 = 0x40000000 (2.0)
6i2 = 0x40400000 (3.0)
7i3 = 0x40800000 (4.0)
8i4 = 0x40A00000 (5.0)
9i5 = 0x40C00000 (6.0)
10i6 = 0x3F800000 (1.0)
11i7 = 0x40400000 (3.0)
12i8 = 0x40000000 (2.0)
13i9 = 0x40800000 (4.0)
14i10 = 0x3F800000 (1.0)
15i11 = 0x40800000 (4.0)
16i12 = 0x40000000 (2.0)
17i13 = 0x40A00000 (5.0)
18i14 = 0x40400000 (3.0)
19i15 = 0x40C00000 (6.0)
20i16 = 0x3F800000 (1.0)
21i17 = 0x40800000 (4.0)
22i18 = 0x40E00000 (7.0)
23i19 = 0x40000000 (2.0)
24i20 = 0x40A00000 (5.0)
25i21 = 0x41000000 (8.0)
26i22 = 0x40400000 (3.0)
27i23 = 0x40C00000 (6.0)
28i24 = 0x41100000 (9.0)
29
30store_src_rg                   coords = src.rg
31init_lane_masks                CondMask = LoopMask = RetMask = true
32copy_4_uniforms                $0..3 = testMatrix2x2
33swizzle_3                      $1..3 = ($1..3).yxz
34copy_4_immutables_unmasked     $4..7 = i6..9 [0x3F800000 (1.0), 0x40400000 (3.0), 0x40000000 (2.0), 0x40800000 (4.0)]
35cmpeq_4_floats                 $0..3 = equal($0..3, $4..7)
36bitwise_and_2_ints             $0..1 &= $2..3
37bitwise_and_int                $0 &= $1
38copy_4_immutables_unmasked     $1..4 = i0..3 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40400000 (3.0), 0x40800000 (4.0)]
39copy_2_immutables_unmasked     $5..6 = i4..5 [0x40A00000 (5.0), 0x40C00000 (6.0)]
40shuffle                        $2..6 = ($2..6)[2 0 3 1 4]
41copy_4_immutables_unmasked     $7..10 = i10..13 [0x3F800000 (1.0), 0x40800000 (4.0), 0x40000000 (2.0), 0x40A00000 (5.0)]
42copy_2_immutables_unmasked     $11..12 = i14..15 [0x40400000 (3.0), 0x40C00000 (6.0)]
43cmpeq_n_floats                 $1..6 = equal($1..6, $7..12)
44bitwise_and_3_ints             $1..3 &= $4..6
45bitwise_and_int                $2 &= $3
46bitwise_and_int                $1 &= $2
47bitwise_and_int                $0 &= $1
48copy_4_uniforms                $1..4 = testMatrix3x3(0..3)
49copy_4_uniforms                $5..8 = testMatrix3x3(4..7)
50copy_uniform                   $9 = testMatrix3x3(8)
51shuffle                        $2..9 = ($2..9)[2 5 0 3 6 1 4 7]
52copy_4_immutables_unmasked     $10..13 = i16..19 [0x3F800000 (1.0), 0x40800000 (4.0), 0x40E00000 (7.0), 0x40000000 (2.0)]
53copy_4_immutables_unmasked     $14..17 = i20..23 [0x40A00000 (5.0), 0x41000000 (8.0), 0x40400000 (3.0), 0x40C00000 (6.0)]
54copy_constant                  $18 = 0x41100000 (9.0)
55cmpeq_n_floats                 $1..9 = equal($1..9, $10..18)
56bitwise_and_4_ints             $2..5 &= $6..9
57bitwise_and_2_ints             $2..3 &= $4..5
58bitwise_and_int                $2 &= $3
59bitwise_and_int                $1 &= $2
60bitwise_and_int                $0 &= $1
61swizzle_4                      $0..3 = ($0..3).xxxx
62copy_4_uniforms                $4..7 = colorRed
63copy_4_uniforms                $8..11 = colorGreen
64mix_4_ints                     $0..3 = mix($4..7, $8..11, $0..3)
65load_src                       src.rgba = $0..3
66