1. store_src_rg coords = src.rg | |
2. init_lane_masks CondMask = LoopMask = RetMask = true | |
3. copy_constant $0 = colorGreen(1) | |
4. copy_slot_unmasked f = $0 | |
5. copy_constant $0 = colorGreen(1) | |
6. cast_to_int_from_float $0 = FloatToInt($0) | |
7. copy_slot_unmasked i = $0 | |
8. copy_constant $0 = colorGreen(1) | |
9. cast_to_uint_from_float $0 = FloatToUint($0) | |
10. copy_slot_unmasked u = $0 | |
11. copy_constant $0 = colorGreen(1) | |
12. zero_slot_unmasked $1 = 0 | |
13. cmpne_float $0 = notEqual($0, $1) | |
14. copy_slot_unmasked b = $0 | |
15. copy_slot_unmasked $0 = f | |
16. copy_slot_unmasked f1 = $0 | |
17. copy_slot_unmasked $0 = i | |
18. cast_to_float_from_int $0 = IntToFloat($0) | |
19. copy_slot_unmasked f2 = $0 | |
20. copy_slot_unmasked $0 = u | |
21. cast_to_float_from_uint $0 = UintToFloat($0) | |
22. copy_slot_unmasked f3 = $0 | |
23. copy_slot_unmasked $0 = b | |
24. copy_constant $1 = 0x3F800000 (1.0) | |
25. bitwise_and_int $0 &= $1 | |
26. copy_slot_unmasked f4 = $0 | |
27. copy_slot_unmasked $0 = f | |
28. cast_to_int_from_float $0 = FloatToInt($0) | |
29. copy_slot_unmasked i1 = $0 | |
30. copy_slot_unmasked $0 = i | |
31. copy_slot_unmasked i2 = $0 | |
32. copy_slot_unmasked $0 = u | |
33. copy_slot_unmasked i3 = $0 | |
34. copy_slot_unmasked $0 = b | |
35. copy_constant $1 = 0x00000001 (1.401298e-45) | |
36. bitwise_and_int $0 &= $1 | |
37. copy_slot_unmasked i4 = $0 | |
38. copy_slot_unmasked $0 = f | |
39. cast_to_uint_from_float $0 = FloatToUint($0) | |
40. copy_slot_unmasked u1 = $0 | |
41. copy_slot_unmasked $0 = i | |
42. copy_slot_unmasked u2 = $0 | |
43. copy_slot_unmasked $0 = u | |
44. copy_slot_unmasked u3 = $0 | |
45. copy_slot_unmasked $0 = b | |
46. copy_constant $1 = 0x00000001 (1.401298e-45) | |
47. bitwise_and_int $0 &= $1 | |
48. copy_slot_unmasked u4 = $0 | |
49. copy_slot_unmasked $0 = f | |
50. zero_slot_unmasked $1 = 0 | |
51. cmpne_float $0 = notEqual($0, $1) | |
52. copy_slot_unmasked b1 = $0 | |
53. copy_slot_unmasked $0 = i | |
54. zero_slot_unmasked $1 = 0 | |
55. cmpne_int $0 = notEqual($0, $1) | |
56. copy_slot_unmasked b2 = $0 | |
57. copy_slot_unmasked $0 = u | |
58. zero_slot_unmasked $1 = 0 | |
59. cmpne_int $0 = notEqual($0, $1) | |
60. copy_slot_unmasked b3 = $0 | |
61. copy_slot_unmasked $0 = b | |
62. copy_slot_unmasked b4 = $0 | |
63. store_condition_mask $8 = CondMask | |
64. copy_2_slots_unmasked $9..10 = f1(0..1) | |
65. add_float $9 += $10 | |
66. copy_slot_unmasked $10 = f3 | |
67. add_float $9 += $10 | |
68. copy_slot_unmasked $10 = f4 | |
69. add_float $9 += $10 | |
70. copy_slot_unmasked $10 = i1 | |
71. cast_to_float_from_int $10 = IntToFloat($10) | |
72. add_float $9 += $10 | |
73. copy_slot_unmasked $10 = i2 | |
74. cast_to_float_from_int $10 = IntToFloat($10) | |
75. add_float $9 += $10 | |
76. copy_slot_unmasked $10 = i3 | |
77. cast_to_float_from_int $10 = IntToFloat($10) | |
78. add_float $9 += $10 | |
79. copy_slot_unmasked $10 = i4 | |
80. cast_to_float_from_int $10 = IntToFloat($10) | |
81. add_float $9 += $10 | |
82. copy_slot_unmasked $10 = u1 | |
83. cast_to_float_from_uint $10 = UintToFloat($10) | |
84. add_float $9 += $10 | |
85. copy_slot_unmasked $10 = u2 | |
86. cast_to_float_from_uint $10 = UintToFloat($10) | |
87. add_float $9 += $10 | |
88. copy_slot_unmasked $10 = u3 | |
89. cast_to_float_from_uint $10 = UintToFloat($10) | |
90. add_float $9 += $10 | |
91. copy_slot_unmasked $10 = u4 | |
92. cast_to_float_from_uint $10 = UintToFloat($10) | |
93. add_float $9 += $10 | |
94. copy_slot_unmasked $10 = b1 | |
95. copy_constant $11 = 0x3F800000 (1.0) | |
96. bitwise_and_int $10 &= $11 | |
97. add_float $9 += $10 | |
98. copy_slot_unmasked $10 = b2 | |
99. copy_constant $11 = 0x3F800000 (1.0) | |
100. bitwise_and_int $10 &= $11 | |
101. add_float $9 += $10 | |
102. copy_slot_unmasked $10 = b3 | |
103. copy_constant $11 = 0x3F800000 (1.0) | |
104. bitwise_and_int $10 &= $11 | |
105. add_float $9 += $10 | |
106. copy_slot_unmasked $10 = b4 | |
107. copy_constant $11 = 0x3F800000 (1.0) | |
108. bitwise_and_int $10 &= $11 | |
109. add_float $9 += $10 | |
110. copy_constant $10 = 0x41800000 (16.0) | |
111. cmpeq_float $9 = equal($9, $10) | |
112. copy_4_constants $0..3 = colorRed | |
113. merge_condition_mask CondMask = $8 & $9 | |
114. copy_4_constants $4..7 = colorGreen | |
115. copy_4_slots_masked $0..3 = Mask($4..7) | |
116. load_condition_mask CondMask = $8 | |
117. copy_4_slots_unmasked [main].result = $0..3 | |
118. load_src src.rgba = [main].result |