mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-21 20:27:05 +02:00
[vk, qcom] Revert Push Descriptors Threshold due to data corruption
This commit is contained in:
parent
af073f13cf
commit
6fe1f86984
1 changed files with 0 additions and 8 deletions
|
|
@ -33,14 +33,6 @@ public:
|
||||||
if (num_descriptors > device->MaxPushDescriptors()) {
|
if (num_descriptors > device->MaxPushDescriptors()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Qualcomm has slow push descriptor implementation - use conservative threshold
|
|
||||||
// Prefer descriptor pools for complex shaders (>8 descriptors)
|
|
||||||
const bool is_qualcomm = device->GetDriverID() == VK_DRIVER_ID_QUALCOMM_PROPRIETARY;
|
|
||||||
if (is_qualcomm && num_descriptors > 8) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue