1. store_src_rg coords = src.rg | |
2. init_lane_masks CondMask = LoopMask = RetMask = true | |
3. zero_4_slots_unmasked a = 0 | |
4. zero_4_slots_unmasked b = 0 | |
5. zero_4_slots_unmasked c = 0 | |
6. zero_4_slots_unmasked d = 0 | |
7. copy_4_constants $0..3 = colorRed | |
8. copy_4_slots_unmasked b = $0..3 | |
9. copy_4_constants $0..3 = colorGreen | |
10. copy_4_slots_unmasked c = $0..3 | |
11. copy_4_constants $0..3 = colorBlack | |
12. copy_4_slots_unmasked x = $0..3 | |
13. copy_4_slots_unmasked d = $0..3 | |
14. copy_4_constants $0..3 = colorWhite | |
15. copy_4_slots_unmasked a = $0..3 | |
16. copy_4_slots_unmasked $0..3 = a | |
17. copy_4_slots_unmasked $4..7 = a | |
18. mul_4_floats $0..3 *= $4..7 | |
19. copy_4_slots_unmasked a = $0..3 | |
20. copy_4_slots_unmasked $0..3 = b | |
21. copy_4_slots_unmasked $4..7 = b | |
22. mul_4_floats $0..3 *= $4..7 | |
23. copy_4_slots_unmasked b = $0..3 | |
24. copy_4_slots_unmasked $0..3 = c | |
25. copy_4_slots_unmasked $4..7 = c | |
26. mul_4_floats $0..3 *= $4..7 | |
27. copy_4_slots_unmasked c = $0..3 | |
28. copy_4_slots_unmasked $0..3 = d | |
29. copy_4_slots_unmasked $4..7 = d | |
30. mul_4_floats $0..3 *= $4..7 | |
31. copy_4_slots_unmasked d = $0..3 | |
32. store_condition_mask $8 = CondMask | |
33. copy_4_slots_unmasked $9..12 = a | |
34. copy_4_constants $13..16 = colorWhite | |
35. cmpeq_4_floats $9..12 = equal($9..12, $13..16) | |
36. bitwise_and_2_ints $9..10 &= $11..12 | |
37. bitwise_and_int $9 &= $10 | |
38. copy_4_slots_unmasked $10..13 = b | |
39. copy_4_constants $14..17 = colorRed | |
40. cmpeq_4_floats $10..13 = equal($10..13, $14..17) | |
41. bitwise_and_2_ints $10..11 &= $12..13 | |
42. bitwise_and_int $10 &= $11 | |
43. bitwise_and_int $9 &= $10 | |
44. copy_4_slots_unmasked $10..13 = c | |
45. copy_4_constants $14..17 = colorGreen | |
46. cmpeq_4_floats $10..13 = equal($10..13, $14..17) | |
47. bitwise_and_2_ints $10..11 &= $12..13 | |
48. bitwise_and_int $10 &= $11 | |
49. bitwise_and_int $9 &= $10 | |
50. copy_4_slots_unmasked $10..13 = d | |
51. copy_4_constants $14..17 = colorBlack | |
52. cmpeq_4_floats $10..13 = equal($10..13, $14..17) | |
53. bitwise_and_2_ints $10..11 &= $12..13 | |
54. bitwise_and_int $10 &= $11 | |
55. bitwise_and_int $9 &= $10 | |
56. copy_4_constants $0..3 = colorRed | |
57. merge_condition_mask CondMask = $8 & $9 | |
58. copy_4_constants $4..7 = colorGreen | |
59. copy_4_slots_masked $0..3 = Mask($4..7) | |
60. load_condition_mask CondMask = $8 | |
61. copy_4_slots_unmasked [main].result = $0..3 | |
62. load_src src.rgba = [main].result |