blob: 918e8e3ec0f2d076fe4f36e359bcac589207b4d5 [file] [log] [blame]
1. store_src_rg coords = src.rg
2. init_lane_masks CondMask = LoopMask = RetMask = true
3. copy_4_constants $0..3 = testInputs
4. abs_4_floats $0..3 = abs($0..3)
5. copy_constant $4 = 0x42C80000 (100.0)
6. swizzle_4 $4..7 = ($4..7).xxxx
7. mul_4_floats $0..3 *= $4..7
8. cast_to_uint_from_4_floats $0..3 = FloatToUint($0..3)
9. copy_4_slots_unmasked uintValues = $0..3
10. copy_4_constants $0..3 = colorGreen
11. copy_constant $4 = 0x42C80000 (100.0)
12. swizzle_4 $4..7 = ($4..7).xxxx
13. mul_4_floats $0..3 *= $4..7
14. cast_to_uint_from_4_floats $0..3 = FloatToUint($0..3)
15. copy_4_slots_unmasked uintGreen = $0..3
16. copy_constant expectedA(0) = 0x00000032 (7.006492e-44)
17. zero_slot_unmasked expectedA(1) = 0
18. copy_constant expectedA(2) = 0x00000032 (7.006492e-44)
19. copy_constant expectedA(3) = 0x00000032 (7.006492e-44)
20. zero_3_slots_unmasked expectedB(0..2) = 0
21. copy_constant expectedB(3) = 0x00000064 (1.401298e-43)
22. store_condition_mask $8 = CondMask
23. copy_slot_unmasked $9 = uintValues(0)
24. copy_constant $10 = 0x00000032 (7.006492e-44)
25. min_uint $9 = min($9, $10)
26. copy_slot_unmasked $10 = expectedA(0)
27. cmpeq_int $9 = equal($9, $10)
28. copy_2_slots_unmasked $10..11 = uintValues(0..1)
29. copy_constant $12 = 0x00000032 (7.006492e-44)
30. copy_slot_unmasked $13 = $12
31. min_2_uints $10..11 = min($10..11, $12..13)
32. copy_2_slots_unmasked $12..13 = expectedA(0..1)
33. cmpeq_2_ints $10..11 = equal($10..11, $12..13)
34. bitwise_and_int $10 &= $11
35. bitwise_and_int $9 &= $10
36. copy_3_slots_unmasked $10..12 = uintValues(0..2)
37. copy_constant $13 = 0x00000032 (7.006492e-44)
38. swizzle_3 $13..15 = ($13..15).xxx
39. min_3_uints $10..12 = min($10..12, $13..15)
40. copy_3_slots_unmasked $13..15 = expectedA(0..2)
41. cmpeq_3_ints $10..12 = equal($10..12, $13..15)
42. bitwise_and_int $11 &= $12
43. bitwise_and_int $10 &= $11
44. bitwise_and_int $9 &= $10
45. copy_4_slots_unmasked $10..13 = uintValues
46. copy_constant $14 = 0x00000032 (7.006492e-44)
47. swizzle_4 $14..17 = ($14..17).xxxx
48. min_4_uints $10..13 = min($10..13, $14..17)
49. copy_4_slots_unmasked $14..17 = expectedA
50. cmpeq_4_ints $10..13 = equal($10..13, $14..17)
51. bitwise_and_2_ints $10..11 &= $12..13
52. bitwise_and_int $10 &= $11
53. bitwise_and_int $9 &= $10
54. copy_constant $10 = 0x00000032 (7.006492e-44)
55. copy_slot_unmasked $11 = expectedA(0)
56. cmpeq_int $10 = equal($10, $11)
57. bitwise_and_int $9 &= $10
58. copy_constant $10 = 0x00000032 (7.006492e-44)
59. zero_slot_unmasked $11 = 0
60. copy_2_slots_unmasked $12..13 = expectedA(0..1)
61. cmpeq_2_ints $10..11 = equal($10..11, $12..13)
62. bitwise_and_int $10 &= $11
63. bitwise_and_int $9 &= $10
64. copy_constant $10 = 0x00000032 (7.006492e-44)
65. zero_slot_unmasked $11 = 0
66. copy_constant $12 = 0x00000032 (7.006492e-44)
67. copy_3_slots_unmasked $13..15 = expectedA(0..2)
68. cmpeq_3_ints $10..12 = equal($10..12, $13..15)
69. bitwise_and_int $11 &= $12
70. bitwise_and_int $10 &= $11
71. bitwise_and_int $9 &= $10
72. copy_constant $10 = 0x00000032 (7.006492e-44)
73. zero_slot_unmasked $11 = 0
74. copy_constant $12 = 0x00000032 (7.006492e-44)
75. copy_constant $13 = 0x00000032 (7.006492e-44)
76. copy_4_slots_unmasked $14..17 = expectedA
77. cmpeq_4_ints $10..13 = equal($10..13, $14..17)
78. bitwise_and_2_ints $10..11 &= $12..13
79. bitwise_and_int $10 &= $11
80. bitwise_and_int $9 &= $10
81. copy_slot_unmasked $10 = uintValues(0)
82. copy_slot_unmasked $11 = uintGreen(0)
83. min_uint $10 = min($10, $11)
84. copy_slot_unmasked $11 = expectedB(0)
85. cmpeq_int $10 = equal($10, $11)
86. bitwise_and_int $9 &= $10
87. copy_2_slots_unmasked $10..11 = uintValues(0..1)
88. copy_2_slots_unmasked $12..13 = uintGreen(0..1)
89. min_2_uints $10..11 = min($10..11, $12..13)
90. copy_2_slots_unmasked $12..13 = expectedB(0..1)
91. cmpeq_2_ints $10..11 = equal($10..11, $12..13)
92. bitwise_and_int $10 &= $11
93. bitwise_and_int $9 &= $10
94. copy_3_slots_unmasked $10..12 = uintValues(0..2)
95. copy_3_slots_unmasked $13..15 = uintGreen(0..2)
96. min_3_uints $10..12 = min($10..12, $13..15)
97. copy_3_slots_unmasked $13..15 = expectedB(0..2)
98. cmpeq_3_ints $10..12 = equal($10..12, $13..15)
99. bitwise_and_int $11 &= $12
100. bitwise_and_int $10 &= $11
101. bitwise_and_int $9 &= $10
102. copy_4_slots_unmasked $10..13 = uintValues
103. copy_4_slots_unmasked $14..17 = uintGreen
104. min_4_uints $10..13 = min($10..13, $14..17)
105. copy_4_slots_unmasked $14..17 = expectedB
106. cmpeq_4_ints $10..13 = equal($10..13, $14..17)
107. bitwise_and_2_ints $10..11 &= $12..13
108. bitwise_and_int $10 &= $11
109. bitwise_and_int $9 &= $10
110. zero_slot_unmasked $10 = 0
111. copy_slot_unmasked $11 = expectedB(0)
112. cmpeq_int $10 = equal($10, $11)
113. bitwise_and_int $9 &= $10
114. zero_2_slots_unmasked $10..11 = 0
115. copy_2_slots_unmasked $12..13 = expectedB(0..1)
116. cmpeq_2_ints $10..11 = equal($10..11, $12..13)
117. bitwise_and_int $10 &= $11
118. bitwise_and_int $9 &= $10
119. zero_3_slots_unmasked $10..12 = 0
120. copy_3_slots_unmasked $13..15 = expectedB(0..2)
121. cmpeq_3_ints $10..12 = equal($10..12, $13..15)
122. bitwise_and_int $11 &= $12
123. bitwise_and_int $10 &= $11
124. bitwise_and_int $9 &= $10
125. zero_3_slots_unmasked $10..12 = 0
126. copy_constant $13 = 0x00000064 (1.401298e-43)
127. copy_4_slots_unmasked $14..17 = expectedB
128. cmpeq_4_ints $10..13 = equal($10..13, $14..17)
129. bitwise_and_2_ints $10..11 &= $12..13
130. bitwise_and_int $10 &= $11
131. bitwise_and_int $9 &= $10
132. copy_4_constants $0..3 = colorRed
133. merge_condition_mask CondMask = $8 & $9
134. copy_4_constants $4..7 = colorGreen
135. copy_4_slots_masked $0..3 = Mask($4..7)
136. load_condition_mask CondMask = $8
137. copy_4_slots_unmasked [main].result = $0..3
138. load_src src.rgba = [main].result