1. store_src_rg coords = src.rg | |
2. init_lane_masks CondMask = LoopMask = RetMask = true | |
3. zero_4_slots_unmasked a(0..3) = 0 | |
4. copy_constant $0 = 0x00000001 (1.401298e-45) | |
5. copy_slot_unmasked a = $0 | |
6. copy_constant $0 = 0x00000002 (2.802597e-45) | |
7. copy_slot_unmasked b = $0 | |
8. copy_constant $0 = 0x00000005 (7.006492e-45) | |
9. copy_slot_unmasked c = $0 | |
10. store_condition_mask $8 = CondMask | |
11. copy_slot_unmasked $9 = a | |
12. copy_constant $10 = 0x00000001 (1.401298e-45) | |
13. cmpeq_int $9 = equal($9, $10) | |
14. copy_slot_unmasked $10 = b | |
15. copy_constant $11 = 0x00000002 (2.802597e-45) | |
16. cmpeq_int $10 = equal($10, $11) | |
17. bitwise_and_int $9 &= $10 | |
18. copy_slot_unmasked $10 = c | |
19. copy_constant $11 = 0x00000005 (7.006492e-45) | |
20. cmpeq_int $10 = equal($10, $11) | |
21. bitwise_and_int $9 &= $10 | |
22. copy_slot_unmasked $10 = d | |
23. zero_slot_unmasked $11 = 0 | |
24. cmpeq_int $10 = equal($10, $11) | |
25. bitwise_and_int $9 &= $10 | |
26. copy_4_constants $0..3 = colorRed | |
27. merge_condition_mask CondMask = $8 & $9 | |
28. copy_4_constants $4..7 = colorGreen | |
29. copy_4_slots_masked $0..3 = Mask($4..7) | |
30. load_condition_mask CondMask = $8 | |
31. copy_4_slots_unmasked [main].result = $0..3 | |
32. load_src src.rgba = [main].result |