summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliushuyu <liushuyu011@gmail.com>2023-03-04 08:16:20 +0100
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:33 +0200
commite26bd1421e3e2f01b4442b9edeb246d953e8dc4f (patch)
tree06091162098da26a8e9d80e6b57f5c68259f75bd
parentCMake: fix pkg-config behavior when building for Android (diff)
downloadyuzu-e26bd1421e3e2f01b4442b9edeb246d953e8dc4f.tar
yuzu-e26bd1421e3e2f01b4442b9edeb246d953e8dc4f.tar.gz
yuzu-e26bd1421e3e2f01b4442b9edeb246d953e8dc4f.tar.bz2
yuzu-e26bd1421e3e2f01b4442b9edeb246d953e8dc4f.tar.lz
yuzu-e26bd1421e3e2f01b4442b9edeb246d953e8dc4f.tar.xz
yuzu-e26bd1421e3e2f01b4442b9edeb246d953e8dc4f.tar.zst
yuzu-e26bd1421e3e2f01b4442b9edeb246d953e8dc4f.zip
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.cpp4
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp3
2 files changed, 3 insertions, 4 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
index e506a8b30..48820b890 100644
--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
@@ -351,8 +351,8 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, const Device& device
.has_broken_signed_operations = false,
.has_broken_fp16_float_controls = driver_id == VK_DRIVER_ID_NVIDIA_PROPRIETARY,
.ignore_nan_fp_comparisons = false,
- .has_broken_spirv_subgroup_mask_vector_extract_dynamic = driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY
- };
+ .has_broken_spirv_subgroup_mask_vector_extract_dynamic =
+ driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY};
host_info = Shader::HostTranslateInfo{
.support_float16 = device.IsFloat16Supported(),
.support_int64 = device.IsShaderInt64Supported(),
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index 52455dbeb..06efa1a6c 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -682,8 +682,7 @@ bool Device::ShouldBoostClocks() const {
driver_id == VK_DRIVER_ID_MESA_RADV || driver_id == VK_DRIVER_ID_NVIDIA_PROPRIETARY ||
driver_id == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS ||
driver_id == VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA ||
- driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY ||
- driver_id == VK_DRIVER_ID_MESA_TURNIP;
+ driver_id == VK_DRIVER_ID_QUALCOMM_PROPRIETARY || driver_id == VK_DRIVER_ID_MESA_TURNIP;
const bool is_steam_deck = vendor_id == 0x1002 && device_id == 0x163F;