Remove driver version check for Mali stencil/discard bug. See #13833

This commit is contained in:
Henrik Rydgård 2022-06-20 17:38:01 +02:00
parent 8fc2422e72
commit e942ba680b

View file

@ -823,11 +823,8 @@ VKContext::VKContext(VulkanContext *vulkan, bool splitSubmit)
// corrupt the depth buffer. This is easily worked around by simply scaling Z down a tiny bit when this case
// is detected. See: https://github.com/hrydgard/ppsspp/issues/11937
bugs_.Infest(Bugs::EQUAL_WZ_CORRUPTS_DEPTH);
if (IsHashMaliDriverVersion(deviceProps) || VK_VERSION_MAJOR(deviceProps.driverVersion) <= 16) {
// At least one driver at the upper end of the range is known to be likely to suffer from the bug causing issue #13833 (Midnight Club map broken).
bugs_.Infest(Bugs::MALI_STENCIL_DISCARD_BUG);
}
// At least one driver at the upper end of the range is known to be likely to suffer from the bug causing issue #13833 (Midnight Club map broken).
bugs_.Infest(Bugs::MALI_STENCIL_DISCARD_BUG);
}
caps_.deviceID = deviceProps.deviceID;