diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-08-24 02:00:11 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-08-30 17:46:24 +0200 |
commit | 4fda7f1c821e1000210b1dfdf1074795b1aa9d96 (patch) | |
tree | 1bc899e56f66fa8c6a9ebe6fbade73c2dc3ddd4a /src/video_core/renderer_vulkan | |
parent | structured_control_flow: Add DemoteCombinationPass (diff) | |
download | yuzu-4fda7f1c821e1000210b1dfdf1074795b1aa9d96.tar yuzu-4fda7f1c821e1000210b1dfdf1074795b1aa9d96.tar.gz yuzu-4fda7f1c821e1000210b1dfdf1074795b1aa9d96.tar.bz2 yuzu-4fda7f1c821e1000210b1dfdf1074795b1aa9d96.tar.lz yuzu-4fda7f1c821e1000210b1dfdf1074795b1aa9d96.tar.xz yuzu-4fda7f1c821e1000210b1dfdf1074795b1aa9d96.tar.zst yuzu-4fda7f1c821e1000210b1dfdf1074795b1aa9d96.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp index f316c4f92..31bfbcb06 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp @@ -325,6 +325,8 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, Tegra::Engines::Maxw host_info = Shader::HostTranslateInfo{ .support_float16 = device.IsFloat16Supported(), .support_int64 = device.IsShaderInt64Supported(), + .needs_demote_reorder = driver_id == VK_DRIVER_ID_AMD_PROPRIETARY_KHR || + driver_id == VK_DRIVER_ID_AMD_OPEN_SOURCE_KHR, }; } |