xref: /aosp_15_r20/external/skia/tests/sksl/shared/UniformMatrixResize.skrp (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
137 instructions
2
3[immutable slots]
4i0 = 0x3F800000 (1.0)
5i1 = 0x40000000 (2.0)
6i2 = 0x40800000 (4.0)
7i3 = 0x40A00000 (5.0)
8i4 = 0x3F800000 (1.0)
9i5 = 0x40000000 (2.0)
10i6 = 0
11i7 = 0x40800000 (4.0)
12i8 = 0x40A00000 (5.0)
13i9 = 0
14i10 = 0
15i11 = 0
16i12 = 0x3F800000 (1.0)
17
18store_src_rg                   coords = src.rg
19init_lane_masks                CondMask = LoopMask = RetMask = true
20store_condition_mask           $19 = CondMask
21branch_if_no_lanes_active      branch_if_no_lanes_active +5 (label 2 at #9)
22copy_4_uniforms                $20..23 = testMatrix3x3(0..3)
23copy_4_uniforms                $24..27 = testMatrix3x3(4..7)
24copy_uniform                   $28 = testMatrix3x3(8)
25shuffle                        $22..23 = ($22..23)[1 2]
26label                          label 0x00000002
27copy_4_immutables_unmasked     $24..27 = i0..3 [0x3F800000 (1.0), 0x40000000 (2.0), 0x40800000 (4.0), 0x40A00000 (5.0)]
28cmpeq_4_floats                 $20..23 = equal($20..23, $24..27)
29bitwise_and_2_ints             $20..21 &= $22..23
30bitwise_and_int                $20 &= $21
31copy_constant                  $0 = 0
32merge_condition_mask           CondMask = $19 & $20
33branch_if_no_lanes_active      branch_if_no_lanes_active +18 (label 1 at #34)
34copy_4_uniforms                $1..4 = testMatrix3x3(0..3)
35copy_4_uniforms                $5..8 = testMatrix3x3(4..7)
36copy_uniform                   $9 = testMatrix3x3(8)
37shuffle                        $3..4 = ($3..4)[1 2]
38label                          label 0x00000003
39copy_constant                  $5 = 0
40copy_constant                  $6 = 0x3F800000 (1.0)
41shuffle                        $3..9 = ($3..9)[2 0 1 2 2 2 3]
42copy_4_immutables_unmasked     $10..13 = i4..7 [0x3F800000 (1.0), 0x40000000 (2.0), 0, 0x40800000 (4.0)]
43copy_4_immutables_unmasked     $14..17 = i8..11 [0x40A00000 (5.0), 0, 0, 0]
44copy_constant                  $18 = 0x3F800000 (1.0)
45cmpeq_n_floats                 $1..9 = equal($1..9, $10..18)
46bitwise_and_4_ints             $2..5 &= $6..9
47bitwise_and_2_ints             $2..3 &= $4..5
48bitwise_and_int                $2 &= $3
49bitwise_and_int                $1 &= $2
50copy_slot_masked               $0 = Mask($1)
51label                          label 0x00000001
52load_condition_mask            CondMask = $19
53swizzle_4                      $0..3 = ($0..3).xxxx
54copy_4_uniforms                $4..7 = colorRed
55copy_4_uniforms                $8..11 = colorGreen
56mix_4_ints                     $0..3 = mix($4..7, $8..11, $0..3)
57load_src                       src.rgba = $0..3
58