blob: 6319acc3aa1af16d2e6f5ec6077b244ce83c37ab [file] [log] [blame]
1. store_src_rg coords = src.rg
2. init_lane_masks CondMask = LoopMask = RetMask = true
3. copy_4_constants $0..3 = colorGreen
4. swizzle_4 $0..3 = ($0..3).xxyz
5. zero_4_slots_unmasked $4..7 = 0
6. cmpne_4_floats $0..3 = notEqual($0..3, $4..7)
7. copy_4_slots_unmasked inputVal = $0..3
8. copy_4_constants $0..3 = colorGreen
9. swizzle_3 $1..3 = ($1..3).xxz
10. zero_4_slots_unmasked $4..7 = 0
11. cmpne_4_floats $0..3 = notEqual($0..3, $4..7)
12. copy_4_slots_unmasked expected = $0..3
13. copy_2_slots_unmasked $0..1 = inputVal(0..1)
14. bitwise_or_int $0 |= $1
15. copy_slot_unmasked $1 = expected(0)
16. cmpeq_int $0 = equal($0, $1)
17. copy_3_slots_unmasked $1..3 = inputVal(0..2)
18. bitwise_or_int $2 |= $3
19. bitwise_or_int $1 |= $2
20. copy_slot_unmasked $2 = expected(1)
21. cmpeq_int $1 = equal($1, $2)
22. bitwise_and_int $0 &= $1
23. copy_4_slots_unmasked $1..4 = inputVal
24. bitwise_or_2_ints $1..2 |= $3..4
25. bitwise_or_int $1 |= $2
26. copy_slot_unmasked $2 = expected(2)
27. cmpeq_int $1 = equal($1, $2)
28. bitwise_and_int $0 &= $1
29. zero_slot_unmasked $1 = 0
30. copy_slot_unmasked $2 = expected(0)
31. cmpeq_int $1 = equal($1, $2)
32. bitwise_and_int $0 &= $1
33. copy_slot_unmasked $1 = expected(1)
34. bitwise_and_int $0 &= $1
35. copy_slot_unmasked $1 = expected(2)
36. bitwise_and_int $0 &= $1
37. swizzle_4 $0..3 = ($0..3).xxxx
38. copy_4_constants $4..7 = colorRed
39. copy_4_constants $8..11 = colorGreen
40. mix_4_ints $0..3 = mix($4..7, $8..11, $0..3)
41. load_src src.rgba = $0..3