xref: /aosp_15_r20/external/skia/tests/sksl/shared/SwizzleScalarInt.skrp (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
123 instructions
2
3store_src_rg                   coords = src.rg
4init_lane_masks                CondMask = LoopMask = RetMask = true
5copy_uniform                   $0 = unknownInput
6cast_to_int_from_float         $0 = FloatToInt($0)
7copy_slot_unmasked             i = $0
8swizzle_4                      $0..3 = ($0..3).xxxx
9copy_4_slots_unmasked          i4 = $0..3
10copy_slot_unmasked             $0 = i
11copy_slot_unmasked             $1 = $0
12copy_constant                  i4(2) = 0
13copy_constant                  i4(3) = 0x00000001 (1.401298e-45)
14copy_2_slots_unmasked          i4(0..1) = $0..1
15copy_constant                  i4(0) = 0
16copy_slot_unmasked             i4(1) = i
17copy_constant                  i4(2) = 0x00000001 (1.401298e-45)
18copy_constant                  i4(3) = 0
19copy_constant                  i4(0) = 0
20copy_slot_unmasked             i4(1) = i
21copy_constant                  i4(2) = 0
22copy_slot_unmasked             i4(3) = i
23copy_4_slots_unmasked          $0..3 = i4
24cast_to_float_from_4_ints      $0..3 = IntToFloat($0..3)
25load_src                       src.rgba = $0..3
26