Turn off light ubershader generation on Broadcom GPUs.

Attempt at working around #16824
This commit is contained in:
Henrik Rydgård committed 2023-04-02 17:39:28 +02:00
1 parent 30b0f83e21
commit 1374fb040c
1 file changed
+6
+6
View File
@@ -287,6 +287,12 @@ u32 GPU_Vulkan::CheckGPUFeatures() const {
features &= ~GPU_USE_FRAMEBUFFER_FETCH;
// }
// Check for Broadcom, disable ubershader. Should probably include a driver version check too...
// Attempt at fixing issue #16824
if (draw_->GetDeviceCaps().vendor == Draw::GPUVendor::VENDOR_BROADCOM) {
features &= ~GPU_USE_LIGHT_UBERSHADER;
}
return CheckGPUFeaturesLate(features);
}