1 1. store_src_rg pos = src.rg 2 2. init_lane_masks CondMask = LoopMask = RetMask = true 3 3. copy_constant x = 0x00000005 (7.006492e-45) 4 4. copy_slot_unmasked [get].result = x 5 5. copy_slot_unmasked $0 = [get].result 6 6. label label 0x00000000 7 7. copy_constant x = 0x00000003 (4.203895e-45) 8 8. copy_slot_unmasked [get].result = x 9 9. copy_slot_unmasked $1 = [get].result 10 10. label label 0x00000001 11 11. add_int $0 += $1 12 12. copy_constant x = 0x00000002 (2.802597e-45) 13 13. copy_slot_unmasked [get].result = x 14 14. copy_slot_unmasked $1 = [get].result 15 15. label label 0x00000002 16 16. add_int $0 += $1 17 17. copy_slot_unmasked ten = $0 18 18. copy_constant $1 = 0x0000000A (1.401298e-44) 19 19. cmpeq_int $0 = equal($0, $1) 20 20. swizzle_4 $0..3 = ($0..3).xxxx 21 21. copy_4_constants $4..7 = colorRed 22 22. copy_4_constants $8..11 = colorGreen 23 23. mix_4_ints $0..3 = mix($4..7, $8..11, $0..3) 24 24. copy_4_slots_unmasked [main].result = $0..3 25 25. load_src src.rgba = [main].result 26