1. store_src_rg coords = src.rg | |
2. init_lane_masks CondMask = LoopMask = RetMask = true | |
3. zero_slot_unmasked result(0) = 0 | |
4. copy_constant result(1) = 0x3F800000 (1.0) | |
5. copy_constant result(2) = 0x40000000 (2.0) | |
6. copy_constant result(3) = 0x40400000 (3.0) | |
7. copy_4_slots_unmasked $0..3 = result | |
8. copy_4_slots_unmasked color = $0..3 | |
9. copy_constant x = 0x3F800000 (1.0) | |
10. copy_constant y = 0x40000000 (2.0) | |
11. copy_slot_unmasked $0 = color(0) | |
12. copy_slot_unmasked $1 = color(2) | |
13. copy_2_slots_unmasked color = $0..1 | |
14. copy_constant z = 0x40A00000 (5.0) | |
15. copy_2_slots_unmasked $0..1 = color | |
16. swizzle_2 $0..1 = ($0..1).yx | |
17. copy_2_slots_unmasked color = $0..1 | |
18. copy_2_slots_unmasked $0..1 = x(0..1) | |
19. add_float $0 += $1 | |
20. copy_slot_unmasked $1 = z | |
21. copy_2_slots_unmasked [tricky].result = $0..1 | |
22. copy_2_slots_unmasked $0..1 = color | |
23. copy_slot_unmasked color(0) = $0 | |
24. copy_slot_unmasked color(2) = $1 | |
25. copy_2_slots_unmasked $0..1 = [tricky].result | |
26. copy_2_slots_unmasked t = $0..1 | |
27. copy_slot_unmasked color(1) = $0 | |
28. copy_slot_unmasked color(3) = $1 | |
29. copy_4_slots_unmasked $0..3 = color | |
30. copy_4_slots_unmasked result = $0..3 | |
31. store_condition_mask $8 = CondMask | |
32. copy_4_slots_unmasked $9..12 = result | |
33. copy_constant $13 = 0x40000000 (2.0) | |
34. copy_constant $14 = 0x40400000 (3.0) | |
35. zero_slot_unmasked $15 = 0 | |
36. copy_constant $16 = 0x40A00000 (5.0) | |
37. cmpeq_4_floats $9..12 = equal($9..12, $13..16) | |
38. bitwise_and_2_ints $9..10 &= $11..12 | |
39. bitwise_and_int $9 &= $10 | |
40. copy_4_constants $0..3 = colorRed | |
41. merge_condition_mask CondMask = $8 & $9 | |
42. copy_4_constants $4..7 = colorGreen | |
43. copy_4_slots_masked $0..3 = Mask($4..7) | |
44. load_condition_mask CondMask = $8 | |
45. copy_4_slots_unmasked [main].result = $0..3 | |
46. load_src src.rgba = [main].result |