blob: 7f01da72fdec6e00a2ab8ae2dbde9b6165c6bee3 [file] [log] [blame]
1. store_src_rg coords = src.rg
2. init_lane_masks CondMask = LoopMask = RetMask = true
3. copy_constant $0 = 0x41100000 (9.0)
4. copy_constant $1 = 0x41100000 (9.0)
5. copy_constant $2 = 0x41100000 (9.0)
6. copy_constant $3 = 0x41100000 (9.0)
7. copy_constant $4 = 0x41100000 (9.0)
8. copy_constant $5 = 0x41100000 (9.0)
9. copy_constant $6 = 0x41100000 (9.0)
10. copy_constant $7 = 0x41100000 (9.0)
11. copy_4_constants $8..11 = colorRed
12. copy_4_constants $12..15 = colorGreen
13. mul_n_floats $0..7 *= $8..15
14. copy_4_slots_unmasked h24(0..3) = $0..3
15. copy_4_slots_unmasked h24(4..7) = $4..7
16. copy_constant $0 = 0x3F800000 (1.0)
17. copy_constant $1 = 0x40000000 (2.0)
18. copy_constant $2 = 0x40400000 (3.0)
19. copy_constant $3 = 0x40800000 (4.0)
20. copy_constant $4 = 0x40A00000 (5.0)
21. copy_constant $5 = 0x40C00000 (6.0)
22. copy_constant $6 = 0x40E00000 (7.0)
23. copy_constant $7 = 0x41000000 (8.0)
24. copy_4_constants $8..11 = colorRed
25. copy_4_constants $12..15 = colorGreen
26. mul_n_floats $0..7 *= $8..15
27. copy_4_slots_unmasked h42(0..3) = $0..3
28. copy_4_slots_unmasked h42(4..7) = $4..7
29. copy_constant f43(0) = 0x41400000 (12.0)
30. copy_constant f43(1) = 0x41B00000 (22.0)
31. copy_constant f43(2) = 0x41F00000 (30.0)
32. copy_constant f43(3) = 0x42100000 (36.0)
33. copy_constant f43(4) = 0x42200000 (40.0)
34. copy_constant f43(5) = 0x42280000 (42.0)
35. copy_constant f43(6) = 0x42280000 (42.0)
36. copy_constant f43(7) = 0x42200000 (40.0)
37. copy_constant f43(8) = 0x42100000 (36.0)
38. copy_constant f43(9) = 0x41F00000 (30.0)
39. copy_constant f43(10) = 0x41B00000 (22.0)
40. copy_constant f43(11) = 0x41400000 (12.0)
41. store_condition_mask $16 = CondMask
42. copy_4_slots_unmasked $17..20 = h24(0..3)
43. copy_4_slots_unmasked $21..24 = h24(4..7)
44. copy_constant $25 = 0x41100000 (9.0)
45. zero_2_slots_unmasked $26..27 = 0
46. copy_constant $28 = 0x41100000 (9.0)
47. zero_slot_unmasked $29 = 0
48. copy_constant $30 = 0x41100000 (9.0)
49. zero_slot_unmasked $31 = 0
50. copy_constant $32 = 0x41100000 (9.0)
51. cmpeq_n_floats $17..24 = equal($17..24, $25..32)
52. bitwise_and_4_ints $17..20 &= $21..24
53. bitwise_and_2_ints $17..18 &= $19..20
54. bitwise_and_int $17 &= $18
55. copy_4_slots_unmasked $18..21 = h42(0..3)
56. copy_4_slots_unmasked $22..25 = h42(4..7)
57. copy_constant $26 = 0x3F800000 (1.0)
58. zero_2_slots_unmasked $27..28 = 0
59. copy_constant $29 = 0x40800000 (4.0)
60. zero_slot_unmasked $30 = 0
61. copy_constant $31 = 0x40C00000 (6.0)
62. zero_slot_unmasked $32 = 0
63. copy_constant $33 = 0x41000000 (8.0)
64. cmpeq_n_floats $18..25 = equal($18..25, $26..33)
65. bitwise_and_4_ints $18..21 &= $22..25
66. bitwise_and_2_ints $18..19 &= $20..21
67. bitwise_and_int $18 &= $19
68. bitwise_and_int $17 &= $18
69. copy_4_slots_unmasked $18..21 = f43(0..3)
70. copy_4_slots_unmasked $22..25 = f43(4..7)
71. copy_4_slots_unmasked $26..29 = f43(8..11)
72. copy_constant $30 = 0x41400000 (12.0)
73. copy_constant $31 = 0x41B00000 (22.0)
74. copy_constant $32 = 0x41F00000 (30.0)
75. copy_constant $33 = 0x42100000 (36.0)
76. copy_constant $34 = 0x42200000 (40.0)
77. copy_constant $35 = 0x42280000 (42.0)
78. copy_constant $36 = 0x42280000 (42.0)
79. copy_constant $37 = 0x42200000 (40.0)
80. copy_constant $38 = 0x42100000 (36.0)
81. copy_constant $39 = 0x41F00000 (30.0)
82. copy_constant $40 = 0x41B00000 (22.0)
83. copy_constant $41 = 0x41400000 (12.0)
84. cmpeq_n_floats $18..29 = equal($18..29, $30..41)
85. bitwise_and_4_ints $22..25 &= $26..29
86. bitwise_and_4_ints $18..21 &= $22..25
87. bitwise_and_2_ints $18..19 &= $20..21
88. bitwise_and_int $18 &= $19
89. bitwise_and_int $17 &= $18
90. copy_4_constants $0..3 = colorRed
91. merge_condition_mask CondMask = $16 & $17
92. copy_4_constants $4..7 = colorGreen
93. copy_4_slots_masked $0..3 = Mask($4..7)
94. load_condition_mask CondMask = $16
95. copy_4_slots_unmasked [main].result = $0..3
96. load_src src.rgba = [main].result