mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-24 16:49:50 +00:00
d3d9: Respect per-pixel depth rounding.
Using the 16-bit depth range.
This commit is contained in:
parent
27dba51e70
commit
f9970dba94
@ -480,6 +480,9 @@ void DIRECTX9_GPU::CheckGPUFeatures() {
|
||||
|
||||
if (!g_Config.bHighQualityDepth) {
|
||||
features |= GPU_SCALE_DEPTH_FROM_24BIT_TO_16BIT;
|
||||
} else if (PSP_CoreParameter().compat.flags().PixelDepthRounding) {
|
||||
// Assume we always have a 24-bit depth buffer.
|
||||
features |= GPU_SCALE_DEPTH_FROM_24BIT_TO_16BIT;
|
||||
} else if (PSP_CoreParameter().compat.flags().VertexDepthRounding) {
|
||||
features |= GPU_ROUND_DEPTH_TO_16BIT;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user