Browse Source

[vk, qcom] Revert Push Descriptors Threshold due to data corruption

pull/3062/head
CamilleLaVey 2 months ago
committed by lizzie
parent
commit
cf06bd9a4b
  1. 8
      src/video_core/renderer_vulkan/pipeline_helper.h

8
src/video_core/renderer_vulkan/pipeline_helper.h

@ -33,14 +33,6 @@ public:
if (num_descriptors > device->MaxPushDescriptors()) {
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;
}

Loading…
Cancel
Save