1. store_src_rg coords = src.rg | |
2. init_lane_masks CondMask = LoopMask = RetMask = true | |
3. copy_4_constants $0..3 = testMatrix2x2 | |
4. copy_4_slots_unmasked f4 = $0..3 | |
5. copy_2_slots_unmasked $4..5 = f4(0..1) | |
6. copy_constant $6 = 0x3F800000 (1.0) | |
7. copy_constant $7 = 0x40000000 (2.0) | |
8. copy_constant $8 = 0x40400000 (3.0) | |
9. copy_constant $9 = 0x40800000 (4.0) | |
10. copy_constant $10 = 0x3F800000 (1.0) | |
11. copy_constant $11 = 0x40000000 (2.0) | |
12. cmpeq_n_floats $0..5 = equal($0..5, $6..11) | |
13. bitwise_and_3_ints $0..2 &= $3..5 | |
14. bitwise_and_int $1 &= $2 | |
15. bitwise_and_int $0 &= $1 | |
16. copy_slot_unmasked ok = $0 | |
17. copy_3_slots_unmasked $1..3 = f4(0..2) | |
18. copy_4_slots_unmasked $4..7 = f4 | |
19. swizzle_4 $4..7 = ($4..7).wxyz | |
20. copy_slot_unmasked $8 = f4(3) | |
21. copy_constant $9 = 0x3F800000 (1.0) | |
22. copy_constant $10 = 0x40000000 (2.0) | |
23. copy_constant $11 = 0x40400000 (3.0) | |
24. copy_constant $12 = 0x40800000 (4.0) | |
25. copy_constant $13 = 0x3F800000 (1.0) | |
26. copy_constant $14 = 0x40000000 (2.0) | |
27. copy_constant $15 = 0x40400000 (3.0) | |
28. copy_constant $16 = 0x40800000 (4.0) | |
29. cmpeq_n_floats $1..8 = equal($1..8, $9..16) | |
30. bitwise_and_4_ints $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_slots_unmasked $1..4 = f4 | |
36. copy_4_slots_unmasked $5..8 = f4 | |
37. copy_slot_unmasked $9 = f4(0) | |
38. copy_constant $10 = 0x3F800000 (1.0) | |
39. copy_constant $11 = 0x40000000 (2.0) | |
40. copy_constant $12 = 0x40400000 (3.0) | |
41. copy_constant $13 = 0x40800000 (4.0) | |
42. copy_constant $14 = 0x3F800000 (1.0) | |
43. copy_constant $15 = 0x40000000 (2.0) | |
44. copy_constant $16 = 0x40400000 (3.0) | |
45. copy_constant $17 = 0x40800000 (4.0) | |
46. copy_constant $18 = 0x3F800000 (1.0) | |
47. cmpeq_n_floats $1..9 = equal($1..9, $10..18) | |
48. bitwise_and_4_ints $2..5 &= $6..9 | |
49. bitwise_and_2_ints $2..3 &= $4..5 | |
50. bitwise_and_int $2 &= $3 | |
51. bitwise_and_int $1 &= $2 | |
52. bitwise_and_int $0 &= $1 | |
53. copy_slot_unmasked ok = $0 | |
54. copy_3_slots_unmasked $1..3 = f4(0..2) | |
55. copy_4_slots_unmasked $4..7 = f4 | |
56. swizzle_4 $4..7 = ($4..7).wxyz | |
57. copy_slot_unmasked $8 = f4(3) | |
58. copy_constant $9 = 0x3F800000 (1.0) | |
59. copy_constant $10 = 0x40000000 (2.0) | |
60. copy_constant $11 = 0x40400000 (3.0) | |
61. copy_constant $12 = 0x40800000 (4.0) | |
62. copy_constant $13 = 0x3F800000 (1.0) | |
63. copy_constant $14 = 0x40000000 (2.0) | |
64. copy_constant $15 = 0x40400000 (3.0) | |
65. copy_constant $16 = 0x40800000 (4.0) | |
66. cmpeq_n_floats $1..8 = equal($1..8, $9..16) | |
67. bitwise_and_4_ints $1..4 &= $5..8 | |
68. bitwise_and_2_ints $1..2 &= $3..4 | |
69. bitwise_and_int $1 &= $2 | |
70. bitwise_and_int $0 &= $1 | |
71. copy_slot_unmasked ok = $0 | |
72. copy_slot_unmasked $1 = f4(0) | |
73. copy_4_slots_unmasked $2..5 = f4 | |
74. swizzle_4 $2..5 = ($2..5).yzwx | |
75. copy_4_slots_unmasked $6..9 = f4 | |
76. swizzle_4 $6..9 = ($6..9).yzwx | |
77. copy_3_slots_unmasked $10..12 = f4(1..3) | |
78. copy_constant $13 = 0x3F800000 (1.0) | |
79. copy_constant $14 = 0x40000000 (2.0) | |
80. copy_constant $15 = 0x40400000 (3.0) | |
81. copy_constant $16 = 0x40800000 (4.0) | |
82. copy_constant $17 = 0x3F800000 (1.0) | |
83. copy_constant $18 = 0x40000000 (2.0) | |
84. copy_constant $19 = 0x40400000 (3.0) | |
85. copy_constant $20 = 0x40800000 (4.0) | |
86. copy_constant $21 = 0x3F800000 (1.0) | |
87. copy_constant $22 = 0x40000000 (2.0) | |
88. copy_constant $23 = 0x40400000 (3.0) | |
89. copy_constant $24 = 0x40800000 (4.0) | |
90. cmpeq_n_floats $1..12 = equal($1..12, $13..24) | |
91. bitwise_and_4_ints $5..8 &= $9..12 | |
92. bitwise_and_4_ints $1..4 &= $5..8 | |
93. bitwise_and_2_ints $1..2 &= $3..4 | |
94. bitwise_and_int $1 &= $2 | |
95. bitwise_and_int $0 &= $1 | |
96. copy_slot_unmasked ok = $0 | |
97. store_condition_mask $25 = CondMask | |
98. copy_slot_unmasked $26 = ok | |
99. copy_4_constants $0..3 = colorRed | |
100. merge_condition_mask CondMask = $25 & $26 | |
101. copy_4_constants $4..7 = colorGreen | |
102. copy_4_slots_masked $0..3 = Mask($4..7) | |
103. load_condition_mask CondMask = $25 | |
104. copy_4_slots_unmasked [main].result = $0..3 | |
105. load_src src.rgba = [main].result |