diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-02 15:08:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 15:08:54 +0100 |
commit | 3ac46aeced2160909833be338ab3693d4afd7f45 (patch) | |
tree | 60e867e8826a8ba4ae3cf8896ac20f78a9adb2e7 | |
parent | Merge pull request #12761 from liamwhite/mp-composite (diff) | |
parent | Clang Fix (diff) | |
download | yuzu-3ac46aeced2160909833be338ab3693d4afd7f45.tar yuzu-3ac46aeced2160909833be338ab3693d4afd7f45.tar.gz yuzu-3ac46aeced2160909833be338ab3693d4afd7f45.tar.bz2 yuzu-3ac46aeced2160909833be338ab3693d4afd7f45.tar.lz yuzu-3ac46aeced2160909833be338ab3693d4afd7f45.tar.xz yuzu-3ac46aeced2160909833be338ab3693d4afd7f45.tar.zst yuzu-3ac46aeced2160909833be338ab3693d4afd7f45.zip |
-rw-r--r-- | src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 5 | ||||
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 2 |
2 files changed, 5 insertions, 2 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..20f7a9702 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp @@ -381,8 +381,9 @@ PipelineCache::PipelineCache(Tegra::MaxwellDeviceMemoryManager& device_memory_, .support_float64 = device.IsFloat64Supported(), .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, + .needs_demote_reorder = 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: |