blob: f70949d687f3d7c70b418c9d83bbba47ed9bab90 [file] [log] [blame]
1. store_src_rg coords = src.rg
2. init_lane_masks CondMask = LoopMask = RetMask = true
3. zero_slot_unmasked h22(0) = 0
4. copy_constant h22(1) = 0x40A00000 (5.0)
5. copy_constant h22(2) = 0x41200000 (10.0)
6. copy_constant h22(3) = 0x41700000 (15.0)
7. copy_4_constants $0..3 = testMatrix2x2
8. zero_slot_unmasked $4 = 0
9. copy_constant $5 = 0x3F800000 (1.0)
10. swizzle_4 $4..7 = ($4..7).yxxy
11. mul_4_floats $0..3 *= $4..7
12. copy_4_slots_unmasked f22 = $0..3
13. copy_4_constants $0..3 = testMatrix3x3(0..3)
14. copy_4_constants $4..7 = testMatrix3x3(4..7)
15. copy_constant $8 = testMatrix3x3(8)
16. copy_constant $9 = 0x40000000 (2.0)
17. copy_constant $10 = 0x40000000 (2.0)
18. copy_constant $11 = 0x40000000 (2.0)
19. copy_constant $12 = 0x40000000 (2.0)
20. copy_constant $13 = 0x40000000 (2.0)
21. copy_constant $14 = 0x40000000 (2.0)
22. copy_constant $15 = 0x40000000 (2.0)
23. copy_constant $16 = 0x40000000 (2.0)
24. copy_constant $17 = 0x40000000 (2.0)
25. mul_n_floats $0..8 *= $9..17
26. copy_4_slots_unmasked h33(0..3) = $0..3
27. copy_4_slots_unmasked h33(4..7) = $4..7
28. copy_slot_unmasked h33(8) = $8
29. copy_4_slots_unmasked $0..3 = h22
30. zero_slot_unmasked $4 = 0
31. copy_constant $5 = 0x40A00000 (5.0)
32. copy_constant $6 = 0x41200000 (10.0)
33. copy_constant $7 = 0x41700000 (15.0)
34. cmpeq_4_floats $0..3 = equal($0..3, $4..7)
35. bitwise_and_2_ints $0..1 &= $2..3
36. bitwise_and_int $0 &= $1
37. copy_4_slots_unmasked $1..4 = f22
38. copy_constant $5 = 0x3F800000 (1.0)
39. zero_2_slots_unmasked $6..7 = 0
40. copy_constant $8 = 0x40800000 (4.0)
41. cmpeq_4_floats $1..4 = equal($1..4, $5..8)
42. bitwise_and_2_ints $1..2 &= $3..4
43. bitwise_and_int $1 &= $2
44. bitwise_and_int $0 &= $1
45. copy_4_slots_unmasked $1..4 = h33(0..3)
46. copy_4_slots_unmasked $5..8 = h33(4..7)
47. copy_slot_unmasked $9 = h33(8)
48. copy_constant $10 = 0x40000000 (2.0)
49. copy_constant $11 = 0x40800000 (4.0)
50. copy_constant $12 = 0x40C00000 (6.0)
51. copy_constant $13 = 0x41000000 (8.0)
52. copy_constant $14 = 0x41200000 (10.0)
53. copy_constant $15 = 0x41400000 (12.0)
54. copy_constant $16 = 0x41600000 (14.0)
55. copy_constant $17 = 0x41800000 (16.0)
56. copy_constant $18 = 0x41900000 (18.0)
57. cmpeq_n_floats $1..9 = equal($1..9, $10..18)
58. bitwise_and_4_ints $2..5 &= $6..9
59. bitwise_and_2_ints $2..3 &= $4..5
60. bitwise_and_int $2 &= $3
61. bitwise_and_int $1 &= $2
62. bitwise_and_int $0 &= $1
63. swizzle_4 $0..3 = ($0..3).xxxx
64. copy_4_constants $4..7 = colorRed
65. copy_4_constants $8..11 = colorGreen
66. mix_4_ints $0..3 = mix($4..7, $8..11, $0..3)
67. load_src src.rgba = $0..3