1. store_src_rg coords = src.rg | |
2. init_lane_masks CondMask = LoopMask = RetMask = true | |
3. copy_constant ok = 0xFFFFFFFF | |
4. copy_slot_unmasked $0 = ok | |
5. copy_4_constants $1..4 = testInputs | |
6. copy_constant $5 = 0xBFA00000 (-1.25) | |
7. zero_slot_unmasked $6 = 0 | |
8. copy_constant $7 = 0x3F400000 (0.75) | |
9. copy_constant $8 = 0x40100000 (2.25) | |
10. cmpeq_4_floats $1..4 = equal($1..4, $5..8) | |
11. bitwise_and_2_ints $1..2 &= $3..4 | |
12. bitwise_and_int $1 &= $2 | |
13. bitwise_and_int $0 &= $1 | |
14. copy_slot_unmasked ok = $0 | |
15. copy_4_constants $1..4 = testInputs | |
16. copy_constant $5 = 0xBFA00000 (-1.25) | |
17. zero_slot_unmasked $6 = 0 | |
18. copy_constant $7 = 0x3F400000 (0.75) | |
19. copy_constant $8 = 0x40100000 (2.25) | |
20. cmpeq_4_floats $1..4 = equal($1..4, $5..8) | |
21. bitwise_and_2_ints $1..2 &= $3..4 | |
22. bitwise_and_int $1 &= $2 | |
23. bitwise_and_int $0 &= $1 | |
24. copy_slot_unmasked ok = $0 | |
25. copy_4_constants $1..4 = colorGreen | |
26. zero_slot_unmasked $5 = 0 | |
27. copy_constant $6 = 0x3F800000 (1.0) | |
28. zero_slot_unmasked $7 = 0 | |
29. copy_constant $8 = 0x3F800000 (1.0) | |
30. cmpeq_4_floats $1..4 = equal($1..4, $5..8) | |
31. bitwise_and_2_ints $1..2 &= $3..4 | |
32. bitwise_and_int $1 &= $2 | |
33. bitwise_and_int $0 &= $1 | |
34. copy_slot_unmasked ok = $0 | |
35. copy_4_constants $1..4 = colorGreen | |
36. zero_slot_unmasked $5 = 0 | |
37. copy_constant $6 = 0x3F800000 (1.0) | |
38. zero_slot_unmasked $7 = 0 | |
39. copy_constant $8 = 0x3F800000 (1.0) | |
40. cmpeq_4_floats $1..4 = equal($1..4, $5..8) | |
41. bitwise_and_2_ints $1..2 &= $3..4 | |
42. bitwise_and_int $1 &= $2 | |
43. bitwise_and_int $0 &= $1 | |
44. copy_slot_unmasked ok = $0 | |
45. copy_4_constants $1..4 = colorGreen | |
46. cast_to_int_from_4_floats $1..4 = FloatToInt($1..4) | |
47. cast_to_float_from_4_ints $1..4 = IntToFloat($1..4) | |
48. zero_slot_unmasked $5 = 0 | |
49. copy_constant $6 = 0x3F800000 (1.0) | |
50. zero_slot_unmasked $7 = 0 | |
51. copy_constant $8 = 0x3F800000 (1.0) | |
52. cmpeq_4_floats $1..4 = equal($1..4, $5..8) | |
53. bitwise_and_2_ints $1..2 &= $3..4 | |
54. bitwise_and_int $1 &= $2 | |
55. bitwise_and_int $0 &= $1 | |
56. copy_slot_unmasked ok = $0 | |
57. copy_4_constants $1..4 = colorGreen | |
58. zero_slot_unmasked $5 = 0 | |
59. copy_constant $6 = 0x3F800000 (1.0) | |
60. zero_slot_unmasked $7 = 0 | |
61. copy_constant $8 = 0x3F800000 (1.0) | |
62. cmpeq_4_floats $1..4 = equal($1..4, $5..8) | |
63. bitwise_and_2_ints $1..2 &= $3..4 | |
64. bitwise_and_int $1 &= $2 | |
65. bitwise_and_int $0 &= $1 | |
66. copy_slot_unmasked ok = $0 | |
67. copy_4_constants $1..4 = colorGreen | |
68. zero_slot_unmasked $5 = 0 | |
69. copy_constant $6 = 0x3F800000 (1.0) | |
70. zero_slot_unmasked $7 = 0 | |
71. copy_constant $8 = 0x3F800000 (1.0) | |
72. cmpeq_4_floats $1..4 = equal($1..4, $5..8) | |
73. bitwise_and_2_ints $1..2 &= $3..4 | |
74. bitwise_and_int $1 &= $2 | |
75. bitwise_and_int $0 &= $1 | |
76. copy_slot_unmasked ok = $0 | |
77. copy_4_constants $1..4 = colorGreen | |
78. zero_4_slots_unmasked $5..8 = 0 | |
79. cmpne_4_floats $1..4 = notEqual($1..4, $5..8) | |
80. copy_constant $5 = 0x3F800000 (1.0) | |
81. swizzle_4 $5..8 = ($5..8).xxxx | |
82. bitwise_and_4_ints $1..4 &= $5..8 | |
83. zero_slot_unmasked $5 = 0 | |
84. copy_constant $6 = 0x3F800000 (1.0) | |
85. zero_slot_unmasked $7 = 0 | |
86. copy_constant $8 = 0x3F800000 (1.0) | |
87. cmpeq_4_floats $1..4 = equal($1..4, $5..8) | |
88. bitwise_and_2_ints $1..2 &= $3..4 | |
89. bitwise_and_int $1 &= $2 | |
90. bitwise_and_int $0 &= $1 | |
91. copy_slot_unmasked ok = $0 | |
92. copy_4_constants $1..4 = colorGreen | |
93. copy_4_constants $5..8 = colorRed | |
94. sub_4_floats $1..4 -= $5..8 | |
95. copy_constant $5 = 0xBF800000 (-1.0) | |
96. copy_constant $6 = 0x3F800000 (1.0) | |
97. zero_2_slots_unmasked $7..8 = 0 | |
98. cmpeq_4_floats $1..4 = equal($1..4, $5..8) | |
99. bitwise_and_2_ints $1..2 &= $3..4 | |
100. bitwise_and_int $1 &= $2 | |
101. bitwise_and_int $0 &= $1 | |
102. copy_slot_unmasked ok = $0 | |
103. copy_4_constants $1..4 = colorGreen | |
104. copy_constant $5 = 0x40A00000 (5.0) | |
105. swizzle_4 $5..8 = ($5..8).xxxx | |
106. add_4_floats $1..4 += $5..8 | |
107. copy_constant $5 = 0x40A00000 (5.0) | |
108. copy_constant $6 = 0x40C00000 (6.0) | |
109. copy_constant $7 = 0x40A00000 (5.0) | |
110. copy_constant $8 = 0x40C00000 (6.0) | |
111. cmpeq_4_floats $1..4 = equal($1..4, $5..8) | |
112. bitwise_and_2_ints $1..2 &= $3..4 | |
113. bitwise_and_int $1 &= $2 | |
114. bitwise_and_int $0 &= $1 | |
115. copy_slot_unmasked ok = $0 | |
116. store_condition_mask $9 = CondMask | |
117. copy_slot_unmasked $10 = ok | |
118. copy_4_constants $0..3 = colorRed | |
119. merge_condition_mask CondMask = $9 & $10 | |
120. copy_4_constants $4..7 = colorGreen | |
121. copy_4_slots_masked $0..3 = Mask($4..7) | |
122. load_condition_mask CondMask = $9 | |
123. copy_4_slots_unmasked [main].result = $0..3 | |
124. load_src src.rgba = [main].result |