blob: 0fcad02d3a7d7a0ce4e107a08392abf0c0132bfa [file] [log] [blame]
1. store_src_rg coords = src.rg
2. init_lane_masks CondMask = LoopMask = RetMask = true
3. copy_constant test1[0] = 0x3F800000 (1.0)
4. copy_constant test1[1] = 0x40000000 (2.0)
5. copy_constant test1[2] = 0x40400000 (3.0)
6. copy_constant test1[3] = 0x40800000 (4.0)
7. copy_constant test2[0](0) = 0x3F800000 (1.0)
8. copy_constant test2[0](1) = 0x40000000 (2.0)
9. copy_constant test2[1](0) = 0x40400000 (3.0)
10. copy_constant test2[1](1) = 0x40800000 (4.0)
11. zero_slot_unmasked $0 = 0
12. copy_constant $1 = 0x41800000 (16.0)
13. shuffle $0..15 = ($0..15)[1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1]
14. copy_4_slots_unmasked test3[0](0..3) = $0..3
15. copy_4_slots_unmasked test3[0](4..7) = $4..7
16. copy_4_slots_unmasked test3[0](8..11) = $8..11
17. copy_4_slots_unmasked test3[0](12..15) = $12..15
18. copy_slot_unmasked $0 = test1[3]
19. copy_2_slots_unmasked $1..2 = test2[1]
20. swizzle_1 $1 = ($1..2).y
21. add_float $0 += $1
22. copy_4_slots_unmasked $1..4 = test3[0](12..15)
23. swizzle_1 $1 = ($1..4).w
24. add_float $0 += $1
25. copy_constant $1 = 0x41C00000 (24.0)
26. cmpeq_float $0 = equal($0, $1)
27. swizzle_4 $0..3 = ($0..3).xxxx
28. copy_4_constants $4..7 = colorRed
29. copy_4_constants $8..11 = colorGreen
30. mix_4_ints $0..3 = mix($4..7, $8..11, $0..3)
31. load_src src.rgba = $0..3