1. store_src_rg coords = src.rg | |
2. init_lane_masks CondMask = LoopMask = RetMask = true | |
3. copy_constant expected(0) = 0x3FA00000 (1.25) | |
4. zero_slot_unmasked expected(1) = 0 | |
5. copy_constant expected(2) = 0x3F400000 (0.75) | |
6. copy_constant expected(3) = 0x40100000 (2.25) | |
7. copy_constant $0 = testInputs(0) | |
8. abs_float $0 = abs($0) | |
9. copy_slot_unmasked $1 = expected(0) | |
10. cmpeq_float $0 = equal($0, $1) | |
11. copy_2_constants $1..2 = testInputs(0..1) | |
12. abs_2_floats $1..2 = abs($1..2) | |
13. copy_2_slots_unmasked $3..4 = expected(0..1) | |
14. cmpeq_2_floats $1..2 = equal($1..2, $3..4) | |
15. bitwise_and_int $1 &= $2 | |
16. bitwise_and_int $0 &= $1 | |
17. copy_3_constants $1..3 = testInputs(0..2) | |
18. abs_3_floats $1..3 = abs($1..3) | |
19. copy_3_slots_unmasked $4..6 = expected(0..2) | |
20. cmpeq_3_floats $1..3 = equal($1..3, $4..6) | |
21. bitwise_and_int $2 &= $3 | |
22. bitwise_and_int $1 &= $2 | |
23. bitwise_and_int $0 &= $1 | |
24. copy_4_constants $1..4 = testInputs | |
25. abs_4_floats $1..4 = abs($1..4) | |
26. copy_4_slots_unmasked $5..8 = expected | |
27. cmpeq_4_floats $1..4 = equal($1..4, $5..8) | |
28. bitwise_and_2_ints $1..2 &= $3..4 | |
29. bitwise_and_int $1 &= $2 | |
30. bitwise_and_int $0 &= $1 | |
31. copy_constant $1 = 0x3FA00000 (1.25) | |
32. copy_slot_unmasked $2 = expected(0) | |
33. cmpeq_float $1 = equal($1, $2) | |
34. bitwise_and_int $0 &= $1 | |
35. copy_constant $1 = 0x3FA00000 (1.25) | |
36. zero_slot_unmasked $2 = 0 | |
37. copy_2_slots_unmasked $3..4 = expected(0..1) | |
38. cmpeq_2_floats $1..2 = equal($1..2, $3..4) | |
39. bitwise_and_int $1 &= $2 | |
40. bitwise_and_int $0 &= $1 | |
41. copy_constant $1 = 0x3FA00000 (1.25) | |
42. zero_slot_unmasked $2 = 0 | |
43. copy_constant $3 = 0x3F400000 (0.75) | |
44. copy_3_slots_unmasked $4..6 = expected(0..2) | |
45. cmpeq_3_floats $1..3 = equal($1..3, $4..6) | |
46. bitwise_and_int $2 &= $3 | |
47. bitwise_and_int $1 &= $2 | |
48. bitwise_and_int $0 &= $1 | |
49. copy_constant $1 = 0x3FA00000 (1.25) | |
50. zero_slot_unmasked $2 = 0 | |
51. copy_constant $3 = 0x3F400000 (0.75) | |
52. copy_constant $4 = 0x40100000 (2.25) | |
53. copy_4_slots_unmasked $5..8 = expected | |
54. cmpeq_4_floats $1..4 = equal($1..4, $5..8) | |
55. bitwise_and_2_ints $1..2 &= $3..4 | |
56. bitwise_and_int $1 &= $2 | |
57. bitwise_and_int $0 &= $1 | |
58. swizzle_4 $0..3 = ($0..3).xxxx | |
59. copy_4_constants $4..7 = colorRed | |
60. copy_4_constants $8..11 = colorGreen | |
61. mix_4_ints $0..3 = mix($4..7, $8..11, $0..3) | |
62. load_src src.rgba = $0..3 |