diff options
author | bunnei <bunneidev@gmail.com> | 2021-09-02 02:36:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-02 02:36:26 +0200 |
commit | b2572a56d3ab3c327f766d718bbdd16be6bc1635 (patch) | |
tree | c02a5e36766a4f94338c015f7c560e6bca63656f /src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | |
parent | Merge pull request #6951 from german77/log (diff) | |
parent | structured_control_flow: Skip reordering nested demote branches. (diff) | |
download | yuzu-b2572a56d3ab3c327f766d718bbdd16be6bc1635.tar yuzu-b2572a56d3ab3c327f766d718bbdd16be6bc1635.tar.gz yuzu-b2572a56d3ab3c327f766d718bbdd16be6bc1635.tar.bz2 yuzu-b2572a56d3ab3c327f766d718bbdd16be6bc1635.tar.lz yuzu-b2572a56d3ab3c327f766d718bbdd16be6bc1635.tar.xz yuzu-b2572a56d3ab3c327f766d718bbdd16be6bc1635.tar.zst yuzu-b2572a56d3ab3c327f766d718bbdd16be6bc1635.zip |
Diffstat (limited to '')
-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, }; } |