summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoonlacer <jpsmock@outlook.com>2024-02-02 01:15:21 +0100
committerMoonlacer <jpsmock@outlook.com>2024-02-02 01:15:21 +0100
commit11a8ef6640f2089249e16f63901b35a740695e76 (patch)
treeb84ffb900f3531d49c703674f43f0287d032fae2
parentAdd Samsung Proprietary Driver ID to Reorder Pass (diff)
downloadyuzu-11a8ef6640f2089249e16f63901b35a740695e76.tar
yuzu-11a8ef6640f2089249e16f63901b35a740695e76.tar.gz
yuzu-11a8ef6640f2089249e16f63901b35a740695e76.tar.bz2
yuzu-11a8ef6640f2089249e16f63901b35a740695e76.tar.lz
yuzu-11a8ef6640f2089249e16f63901b35a740695e76.tar.xz
yuzu-11a8ef6640f2089249e16f63901b35a740695e76.tar.zst
yuzu-11a8ef6640f2089249e16f63901b35a740695e76.zip
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.cpp5
1 files changed, 3 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 b586190a0..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 || driver_id == VK_DRIVER_ID_SAMSUNG_PROPRIETARY,
+ .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()),