summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoonlacer <jpsmock@outlook.com>2024-02-02 00:53:26 +0100
committerMoonlacer <jpsmock@outlook.com>2024-02-02 00:53:26 +0100
commitb51b47e7073471e27468aace3d7e522e6144f4d2 (patch)
treee6e174784cdebf0d0f502701aa032a3da1350168
parentMerge pull request #12860 from liamwhite/serialization2 (diff)
downloadyuzu-b51b47e7073471e27468aace3d7e522e6144f4d2.tar
yuzu-b51b47e7073471e27468aace3d7e522e6144f4d2.tar.gz
yuzu-b51b47e7073471e27468aace3d7e522e6144f4d2.tar.bz2
yuzu-b51b47e7073471e27468aace3d7e522e6144f4d2.tar.lz
yuzu-b51b47e7073471e27468aace3d7e522e6144f4d2.tar.xz
yuzu-b51b47e7073471e27468aace3d7e522e6144f4d2.tar.zst
yuzu-b51b47e7073471e27468aace3d7e522e6144f4d2.zip
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.cpp2
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
index 1e1821b10..b586190a0 100644
--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
@@ -382,7 +382,7 @@ PipelineCache::PipelineCache(Tegra::MaxwellDeviceMemoryManager& device_memory_,
.support_float16 = device.IsFloat16Supported(),
.support_int64 = device.IsShaderInt64Supported(),
.needs_demote_reorder =
- driver_id == VK_DRIVER_ID_AMD_PROPRIETARY || driver_id == VK_DRIVER_ID_AMD_OPEN_SOURCE,
+ driver_id == VK_DRIVER_ID_AMD_PROPRIETARY || driver_id == VK_DRIVER_ID_AMD_OPEN_SOURCE || driver_id == VK_DRIVER_ID_SAMSUNG_PROPRIETARY,
.support_snorm_render_buffer = true,
.support_viewport_index_layer = device.IsExtShaderViewportIndexLayerSupported(),
.min_ssbo_alignment = static_cast<u32>(device.GetStorageBufferAlignment()),
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index 727bbd98d..d7216d349 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -868,6 +868,8 @@ std::string Device::GetDriverName() const {
return "Qualcomm";
case VK_DRIVER_ID_ARM_PROPRIETARY:
return "Mali";
+ case VK_DRIVER_ID_SAMSUNG_PROPRIETARY:
+ return "Xclipse";
case VK_DRIVER_ID_GOOGLE_SWIFTSHADER:
return "SwiftShader";
case VK_DRIVER_ID_BROADCOM_PROPRIETARY: