1. store_src_rg coords = src.rg | |
2. init_lane_masks CondMask = LoopMask = RetMask = true | |
3. copy_4_constants $0..3 = testInputs | |
4. copy_4_slots_unmasked _0_v = $0..3 | |
5. copy_slot_unmasked $0 = _0_v(0) | |
6. copy_slot_unmasked _1_x = $0 | |
7. copy_slot_unmasked $0 = _0_v(1) | |
8. copy_slot_unmasked _2_y = $0 | |
9. copy_slot_unmasked $0 = _0_v(2) | |
10. copy_slot_unmasked _3_z = $0 | |
11. copy_slot_unmasked $0 = _0_v(3) | |
12. copy_slot_unmasked _4_w = $0 | |
13. copy_4_slots_unmasked $0..3 = _1_x(0..3) | |
14. copy_4_slots_unmasked a = $0..3 | |
15. copy_constant $0 = testInputs(0) | |
16. copy_slot_unmasked _9_x = $0 | |
17. copy_constant $0 = testInputs(1) | |
18. copy_slot_unmasked _10_y = $0 | |
19. copy_constant $0 = testInputs(2) | |
20. copy_slot_unmasked _11_z = $0 | |
21. copy_constant $0 = testInputs(3) | |
22. copy_slot_unmasked _12_w = $0 | |
23. copy_4_slots_unmasked $0..3 = _9_x(0..3) | |
24. copy_4_slots_unmasked b = $0..3 | |
25. zero_slot_unmasked c(0) = 0 | |
26. copy_constant c(1) = 0x3F800000 (1.0) | |
27. copy_constant c(2) = 0x40000000 (2.0) | |
28. copy_constant c(3) = 0x40400000 (3.0) | |
29. store_condition_mask $8 = CondMask | |
30. copy_4_slots_unmasked $9..12 = a | |
31. copy_constant $13 = 0xBFA00000 (-1.25) | |
32. zero_slot_unmasked $14 = 0 | |
33. copy_constant $15 = 0x3F400000 (0.75) | |
34. copy_constant $16 = 0x40100000 (2.25) | |
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_constant $14 = 0xBFA00000 (-1.25) | |
40. zero_slot_unmasked $15 = 0 | |
41. copy_constant $16 = 0x3F400000 (0.75) | |
42. copy_constant $17 = 0x40100000 (2.25) | |
43. cmpeq_4_floats $10..13 = equal($10..13, $14..17) | |
44. bitwise_and_2_ints $10..11 &= $12..13 | |
45. bitwise_and_int $10 &= $11 | |
46. bitwise_and_int $9 &= $10 | |
47. copy_4_slots_unmasked $10..13 = c | |
48. zero_slot_unmasked $14 = 0 | |
49. copy_constant $15 = 0x3F800000 (1.0) | |
50. copy_constant $16 = 0x40000000 (2.0) | |
51. copy_constant $17 = 0x40400000 (3.0) | |
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 |