Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[d3d9] Saturate viewport depth range
Viewport depth range in D3D9 is clamped at 0-1, same as OpenGL. Drivers like RADV, etc support VK_EXT_depth_range_unrestricted, which makes the regular UB of this actually work -- which isn't what we want. We also don't enable VK_EXT_depth_range_unrestricted, so we shouldn't be setting depth ranges outside of the 0-1 bounds anyway. Closes: #2960
- Loading branch information