mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Vulkan: Disable dual source blending on Intel GPUs, fixes #10074.
This commit is contained in:
parent
13e508e00b
commit
25f32b1d78
2 changed files with 6 additions and 1 deletions
|
@ -349,6 +349,9 @@ bool VulkanContext::CheckLayers(const std::vector<LayerProperties> &layer_props,
|
|||
}
|
||||
|
||||
int VulkanContext::GetBestPhysicalDevice() {
|
||||
// DO NOT COMMIT
|
||||
return 1;
|
||||
|
||||
// Rules: Prefer discrete over embedded.
|
||||
// Prefer nVidia over Intel.
|
||||
|
||||
|
|
|
@ -177,7 +177,9 @@ void GPU_Vulkan::CheckGPUFeatures() {
|
|||
features |= GPU_SUPPORTS_WIDE_LINES;
|
||||
}
|
||||
if (vulkan_->GetFeaturesEnabled().dualSrcBlend) {
|
||||
features |= GPU_SUPPORTS_DUALSOURCE_BLEND;
|
||||
// Work around for Intel driver bug. See issue #10074.
|
||||
if (vulkan_->GetPhysicalDeviceProperties().vendorID != VULKAN_VENDOR_INTEL)
|
||||
features |= GPU_SUPPORTS_DUALSOURCE_BLEND;
|
||||
}
|
||||
if (vulkan_->GetFeaturesEnabled().logicOp) {
|
||||
features |= GPU_SUPPORTS_LOGIC_OP;
|
||||
|
|
Loading…
Add table
Reference in a new issue