summaryrefslogtreecommitdiff
path: root/src/video_core
diff options
context:
space:
mode:
authorGravatar liamwhite2024-02-02 09:08:54 -0500
committerGravatar GitHub2024-02-02 09:08:54 -0500
commit3ac46aeced2160909833be338ab3693d4afd7f45 (patch)
tree60e867e8826a8ba4ae3cf8896ac20f78a9adb2e7 /src/video_core
parentMerge pull request #12761 from liamwhite/mp-composite (diff)
parentClang Fix (diff)
downloadyuzu-3ac46aeced2160909833be338ab3693d4afd7f45.tar.gz
yuzu-3ac46aeced2160909833be338ab3693d4afd7f45.tar.xz
yuzu-3ac46aeced2160909833be338ab3693d4afd7f45.zip
Merge pull request #12885 from Moonlacer/eclipse-fix
structured_control_flow: Add Samsung Proprietary Driver ID to Reorder Pass
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.cpp5
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp2
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_,
381 .support_float64 = device.IsFloat64Supported(), 381 .support_float64 = device.IsFloat64Supported(),
382 .support_float16 = device.IsFloat16Supported(), 382 .support_float16 = device.IsFloat16Supported(),
383 .support_int64 = device.IsShaderInt64Supported(), 383 .support_int64 = device.IsShaderInt64Supported(),
384 .needs_demote_reorder = 384 .needs_demote_reorder = driver_id == VK_DRIVER_ID_AMD_PROPRIETARY ||
385 driver_id == VK_DRIVER_ID_AMD_PROPRIETARY || driver_id == VK_DRIVER_ID_AMD_OPEN_SOURCE, 385 driver_id == VK_DRIVER_ID_AMD_OPEN_SOURCE ||
386 driver_id == VK_DRIVER_ID_SAMSUNG_PROPRIETARY,
386 .support_snorm_render_buffer = true, 387 .support_snorm_render_buffer = true,
387 .support_viewport_index_layer = device.IsExtShaderViewportIndexLayerSupported(), 388 .support_viewport_index_layer = device.IsExtShaderViewportIndexLayerSupported(),
388 .min_ssbo_alignment = static_cast<u32>(device.GetStorageBufferAlignment()), 389 .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 {
868 return "Qualcomm"; 868 return "Qualcomm";
869 case VK_DRIVER_ID_ARM_PROPRIETARY: 869 case VK_DRIVER_ID_ARM_PROPRIETARY:
870 return "Mali"; 870 return "Mali";
871 case VK_DRIVER_ID_SAMSUNG_PROPRIETARY:
872 return "Xclipse";
871 case VK_DRIVER_ID_GOOGLE_SWIFTSHADER: 873 case VK_DRIVER_ID_GOOGLE_SWIFTSHADER:
872 return "SwiftShader"; 874 return "SwiftShader";
873 case VK_DRIVER_ID_BROADCOM_PROPRIETARY: 875 case VK_DRIVER_ID_BROADCOM_PROPRIETARY: