mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-10 12:41:10 +01:00
Restore conditional rendering workaround for Adreno, Mali and Turnip
This commit is contained in:
parent
dc9c99b22d
commit
b027dc42ce
1 changed files with 9 additions and 1 deletions
|
|
@ -1491,6 +1491,12 @@ bool QueryCacheRuntime::HostConditionalRenderingCompareValue(VideoCommon::Lookup
|
||||||
if (!impl->device.IsExtConditionalRendering()) {
|
if (!impl->device.IsExtConditionalRendering()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
const auto driver_id = impl->device.GetDriverID();
|
||||||
|
if (driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY ||
|
||||||
|
driver_id == VK_DRIVER_ID_ARM_PROPRIETARY || driver_id == VK_DRIVER_ID_MESA_TURNIP) {
|
||||||
|
EndHostConditionalRendering();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
HostConditionalRenderingCompareBCImpl(object_1.address, true, true);
|
HostConditionalRenderingCompareBCImpl(object_1.address, true, true);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
@ -1540,7 +1546,9 @@ bool QueryCacheRuntime::HostConditionalRenderingCompareValues(VideoCommon::Looku
|
||||||
const auto driver_id = impl->device.GetDriverID();
|
const auto driver_id = impl->device.GetDriverID();
|
||||||
const bool is_gpu_high = Settings::IsGPULevelHigh();
|
const bool is_gpu_high = Settings::IsGPULevelHigh();
|
||||||
|
|
||||||
if (!is_gpu_high && driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) {
|
if ((!is_gpu_high && driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) ||
|
||||||
|
driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY ||
|
||||||
|
driver_id == VK_DRIVER_ID_ARM_PROPRIETARY || driver_id == VK_DRIVER_ID_MESA_TURNIP) {
|
||||||
EndHostConditionalRendering();
|
EndHostConditionalRendering();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue