|
|
|
@ -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; |
|
|
|
} |
|
|
|
|
|
|
|
|