blob: 1269a7902188c2ce81f82bc288d0181945c53ee7 [file] [log] [blame]
1. store_src_rg coords = src.rg
2. init_lane_masks CondMask = LoopMask = RetMask = true
3. copy_constant testMatrix2x3(0) = 0x3F800000 (1.0)
4. copy_constant testMatrix2x3(1) = 0x40000000 (2.0)
5. copy_constant testMatrix2x3(2) = 0x40400000 (3.0)
6. copy_constant testMatrix2x3(3) = 0x40800000 (4.0)
7. copy_constant testMatrix2x3(4) = 0x40A00000 (5.0)
8. copy_constant testMatrix2x3(5) = 0x40C00000 (6.0)
9. copy_4_constants $0..3 = testMatrix2x2
10. swizzle_3 $1..3 = ($1..3).yxz
11. copy_constant $4 = 0x3F800000 (1.0)
12. copy_constant $5 = 0x40400000 (3.0)
13. copy_constant $6 = 0x40000000 (2.0)
14. copy_constant $7 = 0x40800000 (4.0)
15. cmpeq_4_floats $0..3 = equal($0..3, $4..7)
16. bitwise_and_2_ints $0..1 &= $2..3
17. bitwise_and_int $0 &= $1
18. copy_4_slots_unmasked $1..4 = testMatrix2x3(0..3)
19. copy_2_slots_unmasked $5..6 = testMatrix2x3(4..5)
20. shuffle $2..6 = ($2..6)[2 0 3 1 4]
21. copy_constant $7 = 0x3F800000 (1.0)
22. copy_constant $8 = 0x40800000 (4.0)
23. copy_constant $9 = 0x40000000 (2.0)
24. copy_constant $10 = 0x40A00000 (5.0)
25. copy_constant $11 = 0x40400000 (3.0)
26. copy_constant $12 = 0x40C00000 (6.0)
27. cmpeq_n_floats $1..6 = equal($1..6, $7..12)
28. bitwise_and_3_ints $1..3 &= $4..6
29. bitwise_and_int $2 &= $3
30. bitwise_and_int $1 &= $2
31. bitwise_and_int $0 &= $1
32. copy_4_constants $1..4 = testMatrix3x3(0..3)
33. copy_4_constants $5..8 = testMatrix3x3(4..7)
34. copy_constant $9 = testMatrix3x3(8)
35. shuffle $2..9 = ($2..9)[2 5 0 3 6 1 4 7]
36. copy_constant $10 = 0x3F800000 (1.0)
37. copy_constant $11 = 0x40800000 (4.0)
38. copy_constant $12 = 0x40E00000 (7.0)
39. copy_constant $13 = 0x40000000 (2.0)
40. copy_constant $14 = 0x40A00000 (5.0)
41. copy_constant $15 = 0x41000000 (8.0)
42. copy_constant $16 = 0x40400000 (3.0)
43. copy_constant $17 = 0x40C00000 (6.0)
44. copy_constant $18 = 0x41100000 (9.0)
45. cmpeq_n_floats $1..9 = equal($1..9, $10..18)
46. bitwise_and_4_ints $2..5 &= $6..9
47. bitwise_and_2_ints $2..3 &= $4..5
48. bitwise_and_int $2 &= $3
49. bitwise_and_int $1 &= $2
50. bitwise_and_int $0 &= $1
51. swizzle_4 $0..3 = ($0..3).xxxx
52. copy_4_constants $4..7 = colorRed
53. copy_4_constants $8..11 = colorGreen
54. mix_4_ints $0..3 = mix($4..7, $8..11, $0..3)
55. load_src src.rgba = $0..3