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