24 lines
1.3 KiB
Plaintext
24 lines
1.3 KiB
Plaintext
1. store_src_rg coords = src.rg
|
|
2. init_lane_masks CondMask = LoopMask = RetMask = true
|
|
3. copy_constant x = 0x3F800000 (1.0)
|
|
4. copy_constant $0 = 0x40000000 (2.0)
|
|
5. copy_slot_unmasked y = $0
|
|
6. copy_slot_unmasked $0 = x
|
|
7. copy_constant $1 = 0x3F800000 (1.0)
|
|
8. cmpeq_float $0 = equal($0, $1)
|
|
9. copy_slot_unmasked $1 = y
|
|
10. copy_constant $2 = 0x40000000 (2.0)
|
|
11. cmpeq_float $1 = equal($1, $2)
|
|
12. bitwise_and_int $0 &= $1
|
|
13. copy_slot_unmasked [out_params_are_distinct_from_global].result = $0
|
|
14. copy_slot_unmasked $0 = y
|
|
15. copy_slot_unmasked x = $0
|
|
16. copy_slot_unmasked $0 = [out_params_are_distinct_from_global].result
|
|
17. label label 0x00000001
|
|
18. swizzle_4 $0..3 = ($0..3).xxxx
|
|
19. copy_4_constants $4..7 = colorRed
|
|
20. copy_4_constants $8..11 = colorGreen
|
|
21. mix_4_ints $0..3 = mix($4..7, $8..11, $0..3)
|
|
22. copy_4_slots_unmasked [main].result = $0..3
|
|
23. load_src src.rgba = [main].result
|