| 21 instructions |
| |
| [immutable slots] |
| i0 = 0x40400000 (3.0) |
| i1 = 0x40000000 (2.0) |
| i2 = 0x3F800000 (1.0) |
| i3 = 0 |
| |
| store_src_rg coords = src.rg |
| init_lane_masks CondMask = LoopMask = RetMask = true |
| copy_4_immutables_unmasked x = i0..3 [0x40400000 (3.0), 0x40000000 (2.0), 0x3F800000 (1.0), 0] |
| copy_4_slots_unmasked $0..3 = x |
| swizzle_3 $0..2 = ($0..2).zyx |
| copy_3_slots_unmasked x(0..2) = $0..2 |
| splat_2_constants s.i, s.j = 0 |
| splat_2_constants s.i, s.j = 0x40000000 (2.0) |
| copy_slot_unmasked s.i = s.j |
| copy_slot_unmasked s.j = s.i |
| splat_2_constants a[0], a[1] = 0 |
| copy_constant a[0] = 0x3F800000 (1.0) |
| copy_constant a[1] = 0 |
| copy_slot_unmasked a[1] = a[0] |
| copy_3_slots_unmasked $0..2 = x(3), s.i, s.j |
| div_float $1 /= $2 |
| copy_2_slots_unmasked $2..3 = a[0], a[1] |
| sub_float $2 -= $3 |
| copy_2_slots_unmasked $3..4 = a[0], a[1] |
| mul_float $3 *= $4 |
| load_src src.rgba = $0..3 |