blob: a5e6f7187e40640b97c481ebf1488a7270264f2c [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. copy_slot_unmasked $0 = uintValues(0)
23. copy_constant $1 = 0x00000032 (7.006492e-44)
24. min_uint $0 = min($0, $1)
25. copy_slot_unmasked $1 = expectedA(0)
26. cmpeq_int $0 = equal($0, $1)
27. copy_2_slots_unmasked $1..2 = uintValues(0..1)
28. copy_constant $3 = 0x00000032 (7.006492e-44)
29. copy_slot_unmasked $4 = $3
30. min_2_uints $1..2 = min($1..2, $3..4)
31. copy_2_slots_unmasked $3..4 = expectedA(0..1)
32. cmpeq_2_ints $1..2 = equal($1..2, $3..4)
33. bitwise_and_int $1 &= $2
34. bitwise_and_int $0 &= $1
35. copy_3_slots_unmasked $1..3 = uintValues(0..2)
36. copy_constant $4 = 0x00000032 (7.006492e-44)
37. swizzle_3 $4..6 = ($4..6).xxx
38. min_3_uints $1..3 = min($1..3, $4..6)
39. copy_3_slots_unmasked $4..6 = expectedA(0..2)
40. cmpeq_3_ints $1..3 = equal($1..3, $4..6)
41. bitwise_and_int $2 &= $3
42. bitwise_and_int $1 &= $2
43. bitwise_and_int $0 &= $1
44. copy_4_slots_unmasked $1..4 = uintValues
45. copy_constant $5 = 0x00000032 (7.006492e-44)
46. swizzle_4 $5..8 = ($5..8).xxxx
47. min_4_uints $1..4 = min($1..4, $5..8)
48. copy_4_slots_unmasked $5..8 = expectedA
49. cmpeq_4_ints $1..4 = equal($1..4, $5..8)
50. bitwise_and_2_ints $1..2 &= $3..4
51. bitwise_and_int $1 &= $2
52. bitwise_and_int $0 &= $1
53. copy_constant $1 = 0x00000032 (7.006492e-44)
54. copy_slot_unmasked $2 = expectedA(0)
55. cmpeq_int $1 = equal($1, $2)
56. bitwise_and_int $0 &= $1
57. copy_constant $1 = 0x00000032 (7.006492e-44)
58. zero_slot_unmasked $2 = 0
59. copy_2_slots_unmasked $3..4 = expectedA(0..1)
60. cmpeq_2_ints $1..2 = equal($1..2, $3..4)
61. bitwise_and_int $1 &= $2
62. bitwise_and_int $0 &= $1
63. copy_constant $1 = 0x00000032 (7.006492e-44)
64. zero_slot_unmasked $2 = 0
65. copy_constant $3 = 0x00000032 (7.006492e-44)
66. copy_3_slots_unmasked $4..6 = expectedA(0..2)
67. cmpeq_3_ints $1..3 = equal($1..3, $4..6)
68. bitwise_and_int $2 &= $3
69. bitwise_and_int $1 &= $2
70. bitwise_and_int $0 &= $1
71. copy_constant $1 = 0x00000032 (7.006492e-44)
72. zero_slot_unmasked $2 = 0
73. copy_constant $3 = 0x00000032 (7.006492e-44)
74. copy_constant $4 = 0x00000032 (7.006492e-44)
75. copy_4_slots_unmasked $5..8 = expectedA
76. cmpeq_4_ints $1..4 = equal($1..4, $5..8)
77. bitwise_and_2_ints $1..2 &= $3..4
78. bitwise_and_int $1 &= $2
79. bitwise_and_int $0 &= $1
80. copy_slot_unmasked $1 = uintValues(0)
81. copy_slot_unmasked $2 = uintGreen(0)
82. min_uint $1 = min($1, $2)
83. copy_slot_unmasked $2 = expectedB(0)
84. cmpeq_int $1 = equal($1, $2)
85. bitwise_and_int $0 &= $1
86. copy_2_slots_unmasked $1..2 = uintValues(0..1)
87. copy_2_slots_unmasked $3..4 = uintGreen(0..1)
88. min_2_uints $1..2 = min($1..2, $3..4)
89. copy_2_slots_unmasked $3..4 = expectedB(0..1)
90. cmpeq_2_ints $1..2 = equal($1..2, $3..4)
91. bitwise_and_int $1 &= $2
92. bitwise_and_int $0 &= $1
93. copy_3_slots_unmasked $1..3 = uintValues(0..2)
94. copy_3_slots_unmasked $4..6 = uintGreen(0..2)
95. min_3_uints $1..3 = min($1..3, $4..6)
96. copy_3_slots_unmasked $4..6 = expectedB(0..2)
97. cmpeq_3_ints $1..3 = equal($1..3, $4..6)
98. bitwise_and_int $2 &= $3
99. bitwise_and_int $1 &= $2
100. bitwise_and_int $0 &= $1
101. copy_4_slots_unmasked $1..4 = uintValues
102. copy_4_slots_unmasked $5..8 = uintGreen
103. min_4_uints $1..4 = min($1..4, $5..8)
104. copy_4_slots_unmasked $5..8 = expectedB
105. cmpeq_4_ints $1..4 = equal($1..4, $5..8)
106. bitwise_and_2_ints $1..2 &= $3..4
107. bitwise_and_int $1 &= $2
108. bitwise_and_int $0 &= $1
109. zero_slot_unmasked $1 = 0
110. copy_slot_unmasked $2 = expectedB(0)
111. cmpeq_int $1 = equal($1, $2)
112. bitwise_and_int $0 &= $1
113. zero_2_slots_unmasked $1..2 = 0
114. copy_2_slots_unmasked $3..4 = expectedB(0..1)
115. cmpeq_2_ints $1..2 = equal($1..2, $3..4)
116. bitwise_and_int $1 &= $2
117. bitwise_and_int $0 &= $1
118. zero_3_slots_unmasked $1..3 = 0
119. copy_3_slots_unmasked $4..6 = expectedB(0..2)
120. cmpeq_3_ints $1..3 = equal($1..3, $4..6)
121. bitwise_and_int $2 &= $3
122. bitwise_and_int $1 &= $2
123. bitwise_and_int $0 &= $1
124. zero_3_slots_unmasked $1..3 = 0
125. copy_constant $4 = 0x00000064 (1.401298e-43)
126. copy_4_slots_unmasked $5..8 = expectedB
127. cmpeq_4_ints $1..4 = equal($1..4, $5..8)
128. bitwise_and_2_ints $1..2 &= $3..4
129. bitwise_and_int $1 &= $2
130. bitwise_and_int $0 &= $1
131. swizzle_4 $0..3 = ($0..3).xxxx
132. copy_4_constants $4..7 = colorRed
133. copy_4_constants $8..11 = colorGreen
134. mix_4_ints $0..3 = mix($4..7, $8..11, $0..3)
135. load_src src.rgba = $0..3