mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-09-23 04:55:47 +02:00
Port from commit b0af54d3
Fixes shadows in Star Ocean 3.
Note: It works properly on native res only just like on GL.
Upscaling will cause some issues.
Only Direct3D10/11 supports it, D3D9 doesn't support integer operations
so we can't reuse the code.