1. store_src_rg v0..1 = src.rg | |
2. init_lane_masks CondMask = LoopMask = RetMask = true | |
3. zero_4_slots_unmasked color = 0 | |
4. copy_4_constants $0..3 = colorGreen | |
5. copy_constant $4 = 0x3F000000 (0.5) | |
6. swizzle_4 $4..7 = ($4..7).xxxx | |
7. mul_4_floats $0..3 *= $4..7 | |
8. copy_4_slots_unmasked color = $0..3 | |
9. copy_constant $0 = 0x40000000 (2.0) | |
10. copy_slot_unmasked color(3) = $0 | |
11. copy_slot_unmasked $0 = color(1) | |
12. copy_constant $1 = 0x3E800000 (0.25) | |
13. div_float $0 /= $1 | |
14. copy_slot_unmasked color(1) = $0 | |
15. copy_2_slots_unmasked $1..2 = color(2..3) | |
16. copy_constant $3 = 0x3F000000 (0.5) | |
17. swizzle_3 $3..5 = ($3..5).xxx | |
18. mul_3_floats $0..2 *= $3..5 | |
19. copy_3_slots_unmasked color(1..3) = $0..2 | |
20. copy_slot_unmasked $0 = color(2) | |
21. copy_slot_unmasked $1 = color(1) | |
22. copy_slot_unmasked $2 = color(3) | |
23. copy_slot_unmasked $3 = color(0) | |
24. copy_constant $4 = 0x3E800000 (0.25) | |
25. zero_2_slots_unmasked $5..6 = 0 | |
26. copy_constant $7 = 0x3F400000 (0.75) | |
27. add_4_floats $0..3 += $4..7 | |
28. copy_slot_unmasked color(2) = $0 | |
29. copy_slot_unmasked color(1) = $1 | |
30. copy_slot_unmasked color(3) = $2 | |
31. copy_slot_unmasked color(0) = $3 | |
32. store_condition_mask $8 = CondMask | |
33. copy_4_slots_unmasked $9..12 = color | |
34. copy_constant $13 = 0x3F400000 (0.75) | |
35. copy_constant $14 = 0x3F800000 (1.0) | |
36. copy_constant $15 = 0x3E800000 (0.25) | |
37. copy_constant $16 = 0x3F800000 (1.0) | |
38. cmpeq_4_floats $9..12 = equal($9..12, $13..16) | |
39. bitwise_and_2_ints $9..10 &= $11..12 | |
40. bitwise_and_int $9 &= $10 | |
41. copy_4_constants $0..3 = colorRed | |
42. merge_condition_mask CondMask = $8 & $9 | |
43. copy_4_constants $4..7 = colorGreen | |
44. copy_4_slots_masked $0..3 = Mask($4..7) | |
45. load_condition_mask CondMask = $8 | |
46. copy_4_slots_unmasked [main].result = $0..3 | |
47. load_src src.rgba = [main].result |