xref: /aosp_15_r20/external/skia/tests/sksl/shared/SwizzleScalar.skrp (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
120 instructions
2
3store_src_rg                   coords = src.rg
4init_lane_masks                CondMask = LoopMask = RetMask = true
5copy_uniform                   $0 = unknownInput
6swizzle_4                      $0..3 = ($0..3).xxxx
7copy_4_slots_unmasked          h4 = $0..3
8copy_uniform                   $0 = unknownInput
9copy_slot_unmasked             $1 = $0
10copy_constant                  h4(2) = 0
11copy_constant                  h4(3) = 0x3F800000 (1.0)
12copy_2_slots_unmasked          h4(0..1) = $0..1
13copy_constant                  h4(0) = 0
14copy_uniform                   h4(1) = unknownInput
15copy_constant                  h4(2) = 0x3F800000 (1.0)
16copy_constant                  h4(3) = 0
17copy_constant                  h4(0) = 0
18copy_uniform                   h4(1) = unknownInput
19copy_constant                  h4(2) = 0
20copy_uniform                   h4(3) = unknownInput
21copy_4_slots_unmasked          $0..3 = h4
22load_src                       src.rgba = $0..3
23