FramebufferManager: Use D24S8 on Adreno when using Vulkan

D32F clears are broken on Adreno, which resulted in smeared geometry
across the screen.
This commit is contained in:
Stenzek
2018-07-17 13:26:37 +10:00
parent 3323265d91
commit dae161e138
3 changed files with 17 additions and 2 deletions

View File

@ -269,6 +269,13 @@ enum Bug
// Started Version: 1.7
// Ended Version: 1.10
BUG_BROKEN_CLEAR_LOADOP_RENDERPASS,
// BUG: 32-bit depth clears are broken in the Adreno Vulkan driver, and have no effect.
// To work around this, we use a D24_S8 buffer instead, which results in a loss of accuracy.
// We still resolve this to a R32F texture, as there is no 24-bit format.
// Started version: -1
// Ended version: -1
BUG_BROKEN_D32F_CLEAR,
};
// Initializes our internal vendor, device family, and driver version