1. store_src_rg coords = src.rg | |
2. init_lane_masks CondMask = LoopMask = RetMask = true | |
3. store_condition_mask $18 = CondMask | |
4. store_condition_mask $8 = CondMask | |
5. branch_if_no_active_lanes branch_if_no_active_lanes +6 (#11) | |
6. copy_4_constants $9..12 = testMatrix3x3(0..3) | |
7. copy_4_constants $13..16 = testMatrix3x3(4..7) | |
8. copy_constant $17 = testMatrix3x3(8) | |
9. shuffle $11..12 = ($11..12)[1 2] | |
10. copy_4_slots_masked [resizeMatrix].result = Mask($9..12) | |
11. copy_constant $13 = 0x3F800000 (1.0) | |
12. copy_constant $14 = 0x40000000 (2.0) | |
13. copy_constant $15 = 0x40800000 (4.0) | |
14. copy_constant $16 = 0x40A00000 (5.0) | |
15. cmpeq_4_floats $9..12 = equal($9..12, $13..16) | |
16. bitwise_and_2_ints $9..10 &= $11..12 | |
17. bitwise_and_int $9 &= $10 | |
18. zero_slot_unmasked $19 = 0 | |
19. merge_condition_mask CondMask = $8 & $9 | |
20. branch_if_no_active_lanes branch_if_no_active_lanes +22 (#42) | |
21. copy_4_constants $20..23 = testMatrix3x3(0..3) | |
22. copy_4_constants $24..27 = testMatrix3x3(4..7) | |
23. copy_constant $28 = testMatrix3x3(8) | |
24. shuffle $22..23 = ($22..23)[1 2] | |
25. copy_4_slots_masked [resizeMatrix].result = Mask($20..23) | |
26. zero_slot_unmasked $24 = 0 | |
27. copy_constant $25 = 0x3F800000 (1.0) | |
28. shuffle $22..28 = ($22..28)[2 0 1 2 2 2 3] | |
29. copy_constant $29 = 0x3F800000 (1.0) | |
30. copy_constant $30 = 0x40000000 (2.0) | |
31. zero_slot_unmasked $31 = 0 | |
32. copy_constant $32 = 0x40800000 (4.0) | |
33. copy_constant $33 = 0x40A00000 (5.0) | |
34. zero_3_slots_unmasked $34..36 = 0 | |
35. copy_constant $37 = 0x3F800000 (1.0) | |
36. cmpeq_n_floats $20..28 = equal($20..28, $29..37) | |
37. bitwise_and_4_ints $21..24 &= $25..28 | |
38. bitwise_and_2_ints $21..22 &= $23..24 | |
39. bitwise_and_int $21 &= $22 | |
40. bitwise_and_int $20 &= $21 | |
41. copy_slot_masked $19 = Mask($20) | |
42. load_condition_mask CondMask = $8 | |
43. copy_4_constants $0..3 = colorRed | |
44. merge_condition_mask CondMask = $18 & $19 | |
45. copy_4_constants $4..7 = colorGreen | |
46. copy_4_slots_masked $0..3 = Mask($4..7) | |
47. load_condition_mask CondMask = $18 | |
48. copy_4_slots_unmasked [main].result = $0..3 | |
49. load_src src.rgba = [main].result |