1. store_src_rg coords = src.rg | |
2. init_lane_masks CondMask = LoopMask = RetMask = true | |
3. copy_constant testMatrix2x3(0) = 0x3F800000 (1.0) | |
4. copy_constant testMatrix2x3(1) = 0x40000000 (2.0) | |
5. copy_constant testMatrix2x3(2) = 0x40400000 (3.0) | |
6. copy_constant testMatrix2x3(3) = 0x40800000 (4.0) | |
7. copy_constant testMatrix2x3(4) = 0x40A00000 (5.0) | |
8. copy_constant testMatrix2x3(5) = 0x40C00000 (6.0) | |
9. store_condition_mask $8 = CondMask | |
10. copy_4_constants $9..12 = testMatrix2x2 | |
11. swizzle_3 $10..12 = ($10..12).yxz | |
12. copy_constant $13 = 0x3F800000 (1.0) | |
13. copy_constant $14 = 0x40400000 (3.0) | |
14. copy_constant $15 = 0x40000000 (2.0) | |
15. copy_constant $16 = 0x40800000 (4.0) | |
16. cmpeq_4_floats $9..12 = equal($9..12, $13..16) | |
17. bitwise_and_2_ints $9..10 &= $11..12 | |
18. bitwise_and_int $9 &= $10 | |
19. copy_4_slots_unmasked $10..13 = testMatrix2x3(0..3) | |
20. copy_2_slots_unmasked $14..15 = testMatrix2x3(4..5) | |
21. shuffle $11..15 = ($11..15)[2 0 3 1 4] | |
22. copy_constant $16 = 0x3F800000 (1.0) | |
23. copy_constant $17 = 0x40800000 (4.0) | |
24. copy_constant $18 = 0x40000000 (2.0) | |
25. copy_constant $19 = 0x40A00000 (5.0) | |
26. copy_constant $20 = 0x40400000 (3.0) | |
27. copy_constant $21 = 0x40C00000 (6.0) | |
28. cmpeq_n_floats $10..15 = equal($10..15, $16..21) | |
29. bitwise_and_3_ints $10..12 &= $13..15 | |
30. bitwise_and_int $11 &= $12 | |
31. bitwise_and_int $10 &= $11 | |
32. bitwise_and_int $9 &= $10 | |
33. copy_4_constants $10..13 = testMatrix3x3(0..3) | |
34. copy_4_constants $14..17 = testMatrix3x3(4..7) | |
35. copy_constant $18 = testMatrix3x3(8) | |
36. shuffle $11..18 = ($11..18)[2 5 0 3 6 1 4 7] | |
37. copy_constant $19 = 0x3F800000 (1.0) | |
38. copy_constant $20 = 0x40800000 (4.0) | |
39. copy_constant $21 = 0x40E00000 (7.0) | |
40. copy_constant $22 = 0x40000000 (2.0) | |
41. copy_constant $23 = 0x40A00000 (5.0) | |
42. copy_constant $24 = 0x41000000 (8.0) | |
43. copy_constant $25 = 0x40400000 (3.0) | |
44. copy_constant $26 = 0x40C00000 (6.0) | |
45. copy_constant $27 = 0x41100000 (9.0) | |
46. cmpeq_n_floats $10..18 = equal($10..18, $19..27) | |
47. bitwise_and_4_ints $11..14 &= $15..18 | |
48. bitwise_and_2_ints $11..12 &= $13..14 | |
49. bitwise_and_int $11 &= $12 | |
50. bitwise_and_int $10 &= $11 | |
51. bitwise_and_int $9 &= $10 | |
52. copy_4_constants $0..3 = colorRed | |
53. merge_condition_mask CondMask = $8 & $9 | |
54. copy_4_constants $4..7 = colorGreen | |
55. copy_4_slots_masked $0..3 = Mask($4..7) | |
56. load_condition_mask CondMask = $8 | |
57. copy_4_slots_unmasked [main].result = $0..3 | |
58. load_src src.rgba = [main].result |