14 instructions | |
store_src src = src.rgba | |
store_dst dst = dst.rgba | |
init_lane_masks CondMask = LoopMask = RetMask = true | |
copy_4_slots_unmasked $0..3 = src | |
copy_constant $4 = 0x3F800000 (1.0) | |
copy_slot_unmasked $5 = src(3) | |
sub_float $4 -= $5 | |
swizzle_4 $4..7 = ($4..7).xxxx | |
splat_4_constants $8..11 = 0x3F800000 (1.0) | |
copy_4_slots_unmasked $12..15 = dst | |
sub_4_floats $8..11 -= $12..15 | |
mul_4_floats $4..7 *= $8..11 | |
add_4_floats $0..3 += $4..7 | |
load_src src.rgba = $0..3 |