1. store_src_rg coords = src.rg | |
2. init_lane_masks CondMask = LoopMask = RetMask = true | |
3. copy_constant ok = 0xFFFFFFFF | |
4. copy_slot_unmasked $0 = ok | |
5. copy_4_constants $1..4 = testMatrix2x2 | |
6. copy_constant $5 = 0x3F800000 (1.0) | |
7. copy_constant $6 = 0x40000000 (2.0) | |
8. copy_constant $7 = 0x40400000 (3.0) | |
9. copy_constant $8 = 0x40800000 (4.0) | |
10. cmpeq_4_floats $1..4 = equal($1..4, $5..8) | |
11. bitwise_and_2_ints $1..2 &= $3..4 | |
12. bitwise_and_int $1 &= $2 | |
13. bitwise_and_int $0 &= $1 | |
14. copy_slot_unmasked ok = $0 | |
15. copy_4_constants $1..4 = testMatrix2x2 | |
16. copy_constant $5 = 0x3F800000 (1.0) | |
17. copy_constant $6 = 0x40000000 (2.0) | |
18. copy_constant $7 = 0x40400000 (3.0) | |
19. copy_constant $8 = 0x40800000 (4.0) | |
20. cmpeq_4_floats $1..4 = equal($1..4, $5..8) | |
21. bitwise_and_2_ints $1..2 &= $3..4 | |
22. bitwise_and_int $1 &= $2 | |
23. bitwise_and_int $0 &= $1 | |
24. copy_slot_unmasked ok = $0 | |
25. copy_4_constants $1..4 = testMatrix2x2 | |
26. cast_to_int_from_4_floats $1..4 = FloatToInt($1..4) | |
27. copy_constant $5 = 0x00000001 (1.401298e-45) | |
28. copy_constant $6 = 0x00000002 (2.802597e-45) | |
29. copy_constant $7 = 0x00000003 (4.203895e-45) | |
30. copy_constant $8 = 0x00000004 (5.605194e-45) | |
31. cmpeq_4_ints $1..4 = equal($1..4, $5..8) | |
32. bitwise_and_2_ints $1..2 &= $3..4 | |
33. bitwise_and_int $1 &= $2 | |
34. bitwise_and_int $0 &= $1 | |
35. copy_slot_unmasked ok = $0 | |
36. copy_4_constants $1..4 = testMatrix2x2 | |
37. zero_4_slots_unmasked $5..8 = 0 | |
38. cmpne_4_floats $1..4 = notEqual($1..4, $5..8) | |
39. copy_constant $5 = 0xFFFFFFFF | |
40. copy_constant $6 = 0xFFFFFFFF | |
41. copy_constant $7 = 0xFFFFFFFF | |
42. copy_constant $8 = 0xFFFFFFFF | |
43. cmpeq_4_ints $1..4 = equal($1..4, $5..8) | |
44. bitwise_and_2_ints $1..2 &= $3..4 | |
45. bitwise_and_int $1 &= $2 | |
46. bitwise_and_int $0 &= $1 | |
47. copy_slot_unmasked ok = $0 | |
48. store_condition_mask $9 = CondMask | |
49. copy_slot_unmasked $10 = ok | |
50. copy_4_constants $0..3 = colorRed | |
51. merge_condition_mask CondMask = $9 & $10 | |
52. copy_4_constants $4..7 = colorGreen | |
53. copy_4_slots_masked $0..3 = Mask($4..7) | |
54. load_condition_mask CondMask = $9 | |
55. copy_4_slots_unmasked [main].result = $0..3 | |
56. load_src src.rgba = [main].result |