summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-05-10 08:37:57 +0200
committerbunnei <bunneidev@gmail.com>2023-06-03 09:06:01 +0200
commit5d43594a70a73c5e14d0d0bb5a1228fa98ef15a7 (patch)
tree758b2bafddd6206ec79d76678f55aae27b6645d2
parentandroid: config: Use default anisotropic filtering. (diff)
downloadyuzu-5d43594a70a73c5e14d0d0bb5a1228fa98ef15a7.tar
yuzu-5d43594a70a73c5e14d0d0bb5a1228fa98ef15a7.tar.gz
yuzu-5d43594a70a73c5e14d0d0bb5a1228fa98ef15a7.tar.bz2
yuzu-5d43594a70a73c5e14d0d0bb5a1228fa98ef15a7.tar.lz
yuzu-5d43594a70a73c5e14d0d0bb5a1228fa98ef15a7.tar.xz
yuzu-5d43594a70a73c5e14d0d0bb5a1228fa98ef15a7.tar.zst
yuzu-5d43594a70a73c5e14d0d0bb5a1228fa98ef15a7.zip
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index 75c450365..0158b6b0d 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -332,6 +332,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
const bool is_suitable = GetSuitability(surface != nullptr);
const VkDriverId driver_id = properties.driver.driverID;
+ const auto device_id = properties.properties.deviceID;
const bool is_radv = driver_id == VK_DRIVER_ID_MESA_RADV;
const bool is_amd_driver =
driver_id == VK_DRIVER_ID_AMD_PROPRIETARY || driver_id == VK_DRIVER_ID_AMD_OPEN_SOURCE;
@@ -342,6 +343,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
const bool is_mvk = driver_id == VK_DRIVER_ID_MOLTENVK;
const bool is_qualcomm = driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY;
const bool is_turnip = driver_id == VK_DRIVER_ID_MESA_TURNIP;
+ const bool is_s8gen2 = device_id == 0x43050a01;
if ((is_mvk || is_qualcomm || is_turnip) && !is_suitable) {
LOG_WARNING(Render_Vulkan, "Unsuitable driver, continuing anyway");
@@ -553,7 +555,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
LOG_WARNING(Render_Vulkan, "Intel proprietary drivers do not support MSAA image blits");
cant_blit_msaa = true;
}
- if (is_intel_anv || is_qualcomm) {
+ if (is_intel_anv || (is_qualcomm && !is_s8gen2)) {
LOG_WARNING(Render_Vulkan, "Driver does not support native BGR format");
must_emulate_bgr565 = true;
}