mirror of
https://github.com/stenzek/duckstation.git
synced 2026-04-22 22:12:12 +00:00
The mask-based blend32() was incorrectly selecting components only from the input vector using mask bits as indices, rather than blending between this and the input vector based on mask bits. Fix the logic to properly select each component from either this or v based on the corresponding mask bit. Add tests covering this. Co-Authored-By: phorcys <phorcys@126.com>