summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-04-13 21:56:22 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:27 +0200
commita83579b50a167ab9483e5058fd1c748018ef6d7c (patch)
treead924ec0219e4cbd6d2efae934061082751d9b27 /src/video_core/renderer_vulkan
parentshader: Document and relax cache control on surface instructions (diff)
downloadyuzu-a83579b50a167ab9483e5058fd1c748018ef6d7c.tar
yuzu-a83579b50a167ab9483e5058fd1c748018ef6d7c.tar.gz
yuzu-a83579b50a167ab9483e5058fd1c748018ef6d7c.tar.bz2
yuzu-a83579b50a167ab9483e5058fd1c748018ef6d7c.tar.lz
yuzu-a83579b50a167ab9483e5058fd1c748018ef6d7c.tar.xz
yuzu-a83579b50a167ab9483e5058fd1c748018ef6d7c.tar.zst
yuzu-a83579b50a167ab9483e5058fd1c748018ef6d7c.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.cpp1
1 files changed, 1 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 f49add208..8a59a2611 100644
--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
@@ -934,6 +934,7 @@ Shader::Profile PipelineCache::MakeProfile(const GraphicsPipelineCacheKey& key,
profile.input_topology = Shader::InputTopology::TrianglesAdjacency;
break;
}
+ profile.force_early_z = key.state.early_z != 0;
return profile;
}