1. store_src_rg coords = src.rg | |
2. init_lane_masks CondMask = LoopMask = RetMask = true | |
3. zero_2_slots_unmasked expected(0..1) = 0 | |
4. copy_constant expected(2) = 0x3F400000 (0.75) | |
5. copy_constant expected(3) = 0x3F800000 (1.0) | |
6. copy_constant $0 = testInputs(0) | |
7. zero_slot_unmasked $1 = 0 | |
8. max_float $0 = max($0, $1) | |
9. copy_constant $1 = 0x3F800000 (1.0) | |
10. min_float $0 = min($0, $1) | |
11. copy_slot_unmasked $1 = expected(0) | |
12. cmpeq_float $0 = equal($0, $1) | |
13. copy_2_constants $1..2 = testInputs(0..1) | |
14. zero_2_slots_unmasked $3..4 = 0 | |
15. max_2_floats $1..2 = max($1..2, $3..4) | |
16. copy_constant $3 = 0x3F800000 (1.0) | |
17. copy_slot_unmasked $4 = $3 | |
18. min_2_floats $1..2 = min($1..2, $3..4) | |
19. copy_2_slots_unmasked $3..4 = expected(0..1) | |
20. cmpeq_2_floats $1..2 = equal($1..2, $3..4) | |
21. bitwise_and_int $1 &= $2 | |
22. bitwise_and_int $0 &= $1 | |
23. copy_3_constants $1..3 = testInputs(0..2) | |
24. zero_3_slots_unmasked $4..6 = 0 | |
25. max_3_floats $1..3 = max($1..3, $4..6) | |
26. copy_constant $4 = 0x3F800000 (1.0) | |
27. swizzle_3 $4..6 = ($4..6).xxx | |
28. min_3_floats $1..3 = min($1..3, $4..6) | |
29. copy_3_slots_unmasked $4..6 = expected(0..2) | |
30. cmpeq_3_floats $1..3 = equal($1..3, $4..6) | |
31. bitwise_and_int $2 &= $3 | |
32. bitwise_and_int $1 &= $2 | |
33. bitwise_and_int $0 &= $1 | |
34. copy_4_constants $1..4 = testInputs | |
35. zero_4_slots_unmasked $5..8 = 0 | |
36. max_4_floats $1..4 = max($1..4, $5..8) | |
37. copy_constant $5 = 0x3F800000 (1.0) | |
38. swizzle_4 $5..8 = ($5..8).xxxx | |
39. min_4_floats $1..4 = min($1..4, $5..8) | |
40. copy_4_slots_unmasked $5..8 = expected | |
41. cmpeq_4_floats $1..4 = equal($1..4, $5..8) | |
42. bitwise_and_2_ints $1..2 &= $3..4 | |
43. bitwise_and_int $1 &= $2 | |
44. bitwise_and_int $0 &= $1 | |
45. zero_slot_unmasked $1 = 0 | |
46. copy_slot_unmasked $2 = expected(0) | |
47. cmpeq_float $1 = equal($1, $2) | |
48. bitwise_and_int $0 &= $1 | |
49. zero_2_slots_unmasked $1..2 = 0 | |
50. copy_2_slots_unmasked $3..4 = expected(0..1) | |
51. cmpeq_2_floats $1..2 = equal($1..2, $3..4) | |
52. bitwise_and_int $1 &= $2 | |
53. bitwise_and_int $0 &= $1 | |
54. zero_2_slots_unmasked $1..2 = 0 | |
55. copy_constant $3 = 0x3F400000 (0.75) | |
56. copy_3_slots_unmasked $4..6 = expected(0..2) | |
57. cmpeq_3_floats $1..3 = equal($1..3, $4..6) | |
58. bitwise_and_int $2 &= $3 | |
59. bitwise_and_int $1 &= $2 | |
60. bitwise_and_int $0 &= $1 | |
61. zero_2_slots_unmasked $1..2 = 0 | |
62. copy_constant $3 = 0x3F400000 (0.75) | |
63. copy_constant $4 = 0x3F800000 (1.0) | |
64. copy_4_slots_unmasked $5..8 = expected | |
65. cmpeq_4_floats $1..4 = equal($1..4, $5..8) | |
66. bitwise_and_2_ints $1..2 &= $3..4 | |
67. bitwise_and_int $1 &= $2 | |
68. bitwise_and_int $0 &= $1 | |
69. swizzle_4 $0..3 = ($0..3).xxxx | |
70. copy_4_constants $4..7 = colorRed | |
71. copy_4_constants $8..11 = colorGreen | |
72. mix_4_ints $0..3 = mix($4..7, $8..11, $0..3) | |
73. load_src src.rgba = $0..3 |