mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-20 23:40:56 +01:00
Merge pull request #12036 from FernandoS27/you-should-have-more-than-one-towel
Query Cache: Disable write syncing on Android
This commit is contained in:
commit
5f945e2fcd
1 changed files with 13 additions and 0 deletions
|
@ -211,6 +211,13 @@ public:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
PauseCounter();
|
PauseCounter();
|
||||||
|
const auto driver_id = device.GetDriverID();
|
||||||
|
if (driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY ||
|
||||||
|
driver_id == VK_DRIVER_ID_ARM_PROPRIETARY || driver_id == VK_DRIVER_ID_MESA_TURNIP) {
|
||||||
|
pending_sync.clear();
|
||||||
|
sync_values_stash.clear();
|
||||||
|
return;
|
||||||
|
}
|
||||||
sync_values_stash.clear();
|
sync_values_stash.clear();
|
||||||
sync_values_stash.emplace_back();
|
sync_values_stash.emplace_back();
|
||||||
std::vector<HostSyncValues>* sync_values = &sync_values_stash.back();
|
std::vector<HostSyncValues>* sync_values = &sync_values_stash.back();
|
||||||
|
@ -1378,6 +1385,12 @@ bool QueryCacheRuntime::HostConditionalRenderingCompareValues(VideoCommon::Looku
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
for (size_t i = 0; i < 2; i++) {
|
for (size_t i = 0; i < 2; i++) {
|
||||||
is_null[i] = !is_in_ac[i] && check_value(objects[i]->address);
|
is_null[i] = !is_in_ac[i] && check_value(objects[i]->address);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue