1. store_src_rg coords = src.rg | |
2. init_lane_masks CondMask = LoopMask = RetMask = true | |
3. copy_constant expectedVec(0) = 0x3F800000 (1.0) | |
4. zero_3_slots_unmasked expectedVec(1..3) = 0 | |
5. copy_constant $0 = inputVal(0) | |
6. copy_slot_unmasked $1 = $0 | |
7. abs_float $1 = abs($1) | |
8. div_float $0 /= $1 | |
9. copy_slot_unmasked $1 = expectedVec(0) | |
10. cmpeq_float $0 = equal($0, $1) | |
11. copy_2_constants $1..2 = inputVal(0..1) | |
12. copy_2_slots_unmasked $3..4 = $1..2 | |
13. copy_2_slots_unmasked $5..6 = $3..4 | |
14. dot_2_floats $3 = dot($3..4, $5..6) | |
15. sqrt_float $3 = sqrt($3) | |
16. copy_slot_unmasked $4 = $3 | |
17. div_2_floats $1..2 /= $3..4 | |
18. copy_2_slots_unmasked $3..4 = expectedVec(0..1) | |
19. cmpeq_2_floats $1..2 = equal($1..2, $3..4) | |
20. bitwise_and_int $1 &= $2 | |
21. bitwise_and_int $0 &= $1 | |
22. copy_3_constants $1..3 = inputVal(0..2) | |
23. copy_3_slots_unmasked $4..6 = $1..3 | |
24. copy_3_slots_unmasked $7..9 = $4..6 | |
25. dot_3_floats $4 = dot($4..6, $7..9) | |
26. sqrt_float $4 = sqrt($4) | |
27. swizzle_3 $4..6 = ($4..6).xxx | |
28. div_3_floats $1..3 /= $4..6 | |
29. copy_3_slots_unmasked $4..6 = expectedVec(0..2) | |
30. cmpeq_3_floats $1..3 = equal($1..3, $4..6) | |
31. bitwise_and_int $2 &= $3 | |
32. bitwise_and_int $1 &= $2 | |
33. bitwise_and_int $0 &= $1 | |
34. copy_4_constants $1..4 = inputVal | |
35. copy_4_slots_unmasked $5..8 = $1..4 | |
36. copy_4_slots_unmasked $9..12 = $5..8 | |
37. dot_4_floats $5 = dot($5..8, $9..12) | |
38. sqrt_float $5 = sqrt($5) | |
39. swizzle_4 $5..8 = ($5..8).xxxx | |
40. div_4_floats $1..4 /= $5..8 | |
41. copy_4_slots_unmasked $5..8 = expectedVec | |
42. cmpeq_4_floats $1..4 = equal($1..4, $5..8) | |
43. bitwise_and_2_ints $1..2 &= $3..4 | |
44. bitwise_and_int $1 &= $2 | |
45. bitwise_and_int $0 &= $1 | |
46. copy_constant $1 = 0x3F800000 (1.0) | |
47. copy_slot_unmasked $2 = expectedVec(0) | |
48. cmpeq_float $1 = equal($1, $2) | |
49. bitwise_and_int $0 &= $1 | |
50. zero_slot_unmasked $1 = 0 | |
51. copy_constant $2 = 0x3F800000 (1.0) | |
52. copy_4_slots_unmasked $3..6 = expectedVec | |
53. swizzle_2 $3..4 = ($3..4).yx | |
54. cmpeq_2_floats $1..2 = equal($1..2, $3..4) | |
55. bitwise_and_int $1 &= $2 | |
56. bitwise_and_int $0 &= $1 | |
57. zero_slot_unmasked $1 = 0 | |
58. copy_constant $2 = 0x3F800000 (1.0) | |
59. zero_slot_unmasked $3 = 0 | |
60. copy_4_slots_unmasked $4..7 = expectedVec | |
61. swizzle_3 $4..6 = ($4..6).zxy | |
62. cmpeq_3_floats $1..3 = equal($1..3, $4..6) | |
63. bitwise_and_int $2 &= $3 | |
64. bitwise_and_int $1 &= $2 | |
65. bitwise_and_int $0 &= $1 | |
66. copy_constant $1 = 0x3F800000 (1.0) | |
67. zero_3_slots_unmasked $2..4 = 0 | |
68. copy_4_slots_unmasked $5..8 = expectedVec | |
69. cmpeq_4_floats $1..4 = equal($1..4, $5..8) | |
70. bitwise_and_2_ints $1..2 &= $3..4 | |
71. bitwise_and_int $1 &= $2 | |
72. bitwise_and_int $0 &= $1 | |
73. swizzle_4 $0..3 = ($0..3).xxxx | |
74. copy_4_constants $4..7 = colorRed | |
75. copy_4_constants $8..11 = colorGreen | |
76. mix_4_ints $0..3 = mix($4..7, $8..11, $0..3) | |
77. load_src src.rgba = $0..3 |