1. store_src_rg coords = src.rg | |
2. init_lane_masks CondMask = LoopMask = RetMask = true | |
3. copy_4_constants $0..3 = colorWhite | |
4. copy_4_slots_unmasked x = $0..3 | |
5. copy_constant r = 0xC0A00000 (-5.0) | |
6. store_loop_mask $0 = LoopMask | |
7. jump jump +18 (#25) | |
8. copy_slot_unmasked $1 = r | |
9. zero_slot_unmasked $2 = 0 | |
10. max_float $1 = max($1, $2) | |
11. copy_constant $2 = 0x3F800000 (1.0) | |
12. min_float $1 = min($1, $2) | |
13. copy_slot_masked x(0) = Mask($1) | |
14. store_condition_mask $1 = CondMask | |
15. copy_slot_unmasked $2 = x(0) | |
16. zero_slot_unmasked $3 = 0 | |
17. cmpeq_float $2 = equal($2, $3) | |
18. merge_condition_mask CondMask = $1 & $2 | |
19. mask_off_loop_mask LoopMask &= ~(CondMask & LoopMask & RetMask) | |
20. load_condition_mask CondMask = $1 | |
21. copy_slot_unmasked $1 = r | |
22. copy_constant $2 = 0x3F800000 (1.0) | |
23. add_float $1 += $2 | |
24. copy_slot_masked r = Mask($1) | |
25. copy_slot_unmasked $1 = r | |
26. copy_constant $2 = 0x40A00000 (5.0) | |
27. cmplt_float $1 = lessThan($1, $2) | |
28. merge_loop_mask LoopMask &= $1 | |
29. stack_rewind | |
30. branch_if_any_active_lanes branch_if_any_active_lanes -22 (#8) | |
31. load_loop_mask LoopMask = $0 | |
32. copy_constant b = 0x40A00000 (5.0) | |
33. store_loop_mask $0 = LoopMask | |
34. jump jump +20 (#54) | |
35. zero_slot_unmasked [temporary 0] = 0 | |
36. copy_slot_unmasked $1 = b | |
37. copy_slot_masked x(2) = Mask($1) | |
38. store_condition_mask $1 = CondMask | |
39. copy_slot_unmasked $2 = x(3) | |
40. copy_constant $3 = 0x3F800000 (1.0) | |
41. cmpeq_float $2 = equal($2, $3) | |
42. merge_condition_mask CondMask = $1 & $2 | |
43. copy_constant $3 = 0xFFFFFFFF | |
44. copy_slot_masked [temporary 0] = Mask($3) | |
45. mask_off_loop_mask LoopMask &= ~(CondMask & LoopMask & RetMask) | |
46. load_condition_mask CondMask = $1 | |
47. zero_slot_unmasked $1 = 0 | |
48. copy_slot_masked x(1) = Mask($1) | |
49. reenable_loop_mask LoopMask |= [temporary 0] | |
50. copy_slot_unmasked $1 = b | |
51. copy_constant $2 = 0x3F800000 (1.0) | |
52. sub_float $1 -= $2 | |
53. copy_slot_masked b = Mask($1) | |
54. zero_slot_unmasked $1 = 0 | |
55. copy_slot_unmasked $2 = b | |
56. cmple_float $1 = lessThanEqual($1, $2) | |
57. merge_loop_mask LoopMask &= $1 | |
58. stack_rewind | |
59. branch_if_any_active_lanes branch_if_any_active_lanes -24 (#35) | |
60. load_loop_mask LoopMask = $0 | |
61. copy_4_slots_unmasked $0..3 = x | |
62. copy_4_slots_unmasked [main].result = $0..3 | |
63. load_src src.rgba = [main].result |