VideoBackends: Disable GPU Texture Decoding under MoltenVK

It's broken and causes spectacular artifacts and crashes.
This commit is contained in:
Techjar
2020-04-13 04:19:24 -04:00
parent e7e5175606
commit 69358b2186
3 changed files with 12 additions and 1 deletions

View File

@ -346,6 +346,10 @@ void VulkanContext::PopulateBackendInfoFeatures(VideoConfig* config, VkPhysicalD
// with depth clamping. Fall back to inverted depth range for these.
if (DriverDetails::HasBug(DriverDetails::BUG_BROKEN_REVERSED_DEPTH_RANGE))
config->backend_info.bSupportsReversedDepthRange = false;
// GPU Texture Decoding is broken under MoltenVK.
if (DriverDetails::HasBug(DriverDetails::BUG_BROKEN_GPU_TEXTURE_DECODING))
config->backend_info.bSupportsGPUTextureDecoding = false;
}
void VulkanContext::PopulateBackendInfoMultisampleModes(