1. store_src_rg coords = src.rg | |
2. init_lane_masks CondMask = LoopMask = RetMask = true | |
3. zero_slot_unmasked result = 0 | |
4. zero_slot_unmasked $0 = 0 | |
5. copy_constant $1 = 0x3F800000 (1.0) | |
6. shuffle $0..8 = ($0..8)[1 0 0 0 1 0 0 0 1] | |
7. shuffle $2..3 = ($2..3)[1 2] | |
8. copy_4_slots_unmasked a = $0..3 | |
9. copy_2_slots_unmasked $0..1 = result(0..1) | |
10. add_float $0 += $1 | |
11. copy_slot_unmasked result = $0 | |
12. zero_slot_unmasked $0 = 0 | |
13. copy_constant $1 = 0x3F800000 (1.0) | |
14. shuffle $0..15 = ($0..15)[1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1] | |
15. shuffle $2..3 = ($2..3)[2 3] | |
16. copy_4_slots_unmasked b = $0..3 | |
17. copy_slot_unmasked $0 = result | |
18. copy_slot_unmasked $1 = b(0) | |
19. add_float $0 += $1 | |
20. copy_slot_unmasked result = $0 | |
21. zero_slot_unmasked $0 = 0 | |
22. copy_constant $1 = 0x3F800000 (1.0) | |
23. shuffle $0..15 = ($0..15)[1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1] | |
24. shuffle $3..8 = ($3..8)[1 2 3 5 6 7] | |
25. copy_4_slots_unmasked c(0..3) = $0..3 | |
26. copy_4_slots_unmasked c(4..7) = $4..7 | |
27. copy_slot_unmasked c(8) = $8 | |
28. copy_slot_unmasked $0 = result | |
29. copy_slot_unmasked $1 = c(0) | |
30. add_float $0 += $1 | |
31. copy_slot_unmasked result = $0 | |
32. zero_slot_unmasked $0 = 0 | |
33. copy_constant $1 = 0x3F800000 (1.0) | |
34. swizzle_4 $0..3 = ($0..3).yxxy | |
35. zero_slot_unmasked $4 = 0 | |
36. copy_constant $5 = 0x3F800000 (1.0) | |
37. shuffle $2..8 = ($2..8)[2 0 1 2 2 2 3] | |
38. copy_4_slots_unmasked d(0..3) = $0..3 | |
39. copy_4_slots_unmasked d(4..7) = $4..7 | |
40. copy_slot_unmasked d(8) = $8 | |
41. copy_slot_unmasked $0 = result | |
42. copy_slot_unmasked $1 = d(0) | |
43. add_float $0 += $1 | |
44. copy_slot_unmasked result = $0 | |
45. zero_slot_unmasked $0 = 0 | |
46. copy_constant $1 = 0x3F800000 (1.0) | |
47. swizzle_4 $0..3 = ($0..3).yxxy | |
48. zero_slot_unmasked $4 = 0 | |
49. copy_constant $5 = 0x3F800000 (1.0) | |
50. shuffle $2..8 = ($2..8)[2 0 1 2 2 2 3] | |
51. zero_slot_unmasked $9 = 0 | |
52. copy_constant $10 = 0x3F800000 (1.0) | |
53. shuffle $3..15 = ($3..15)[6 0 1 2 6 3 4 5 6 6 6 6 7] | |
54. copy_4_slots_unmasked e(0..3) = $0..3 | |
55. copy_4_slots_unmasked e(4..7) = $4..7 | |
56. copy_4_slots_unmasked e(8..11) = $8..11 | |
57. copy_4_slots_unmasked e(12..15) = $12..15 | |
58. copy_slot_unmasked $0 = result | |
59. copy_slot_unmasked $1 = e(0) | |
60. add_float $0 += $1 | |
61. copy_slot_unmasked result = $0 | |
62. zero_slot_unmasked $0 = 0 | |
63. copy_constant $1 = 0x3F800000 (1.0) | |
64. shuffle $0..15 = ($0..15)[1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1] | |
65. shuffle $3..8 = ($3..8)[1 2 3 5 6 7] | |
66. shuffle $2..3 = ($2..3)[1 2] | |
67. copy_4_slots_unmasked f = $0..3 | |
68. copy_slot_unmasked $0 = result | |
69. copy_slot_unmasked $1 = f(0) | |
70. add_float $0 += $1 | |
71. copy_slot_unmasked result = $0 | |
72. store_condition_mask $16 = CondMask | |
73. copy_slot_unmasked $17 = result | |
74. copy_constant $18 = 0x40C00000 (6.0) | |
75. cmpeq_float $17 = equal($17, $18) | |
76. copy_4_constants $0..3 = colorRed | |
77. merge_condition_mask CondMask = $16 & $17 | |
78. copy_4_constants $4..7 = colorGreen | |
79. copy_4_slots_masked $0..3 = Mask($4..7) | |
80. load_condition_mask CondMask = $16 | |
81. copy_4_slots_unmasked [main].result = $0..3 | |
82. load_src src.rgba = [main].result |