summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRodrigo Locatti <rodrigo.locatti@gmail.com>2021-06-15 03:02:42 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:35 +0200
commitdbf7cb9f90a99faa6d6ab07558d65dd113728ff1 (patch)
treea41460f94b9c0dcef6fe2eb6914e9370d7f5094e /src
parentbuffer_cache: Invalidate fast buffers on compute (diff)
downloadyuzu-dbf7cb9f90a99faa6d6ab07558d65dd113728ff1.tar
yuzu-dbf7cb9f90a99faa6d6ab07558d65dd113728ff1.tar.gz
yuzu-dbf7cb9f90a99faa6d6ab07558d65dd113728ff1.tar.bz2
yuzu-dbf7cb9f90a99faa6d6ab07558d65dd113728ff1.tar.lz
yuzu-dbf7cb9f90a99faa6d6ab07558d65dd113728ff1.tar.xz
yuzu-dbf7cb9f90a99faa6d6ab07558d65dd113728ff1.tar.zst
yuzu-dbf7cb9f90a99faa6d6ab07558d65dd113728ff1.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
index ccef71f4c..e02b1b7ab 100644
--- a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
+++ b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
@@ -472,7 +472,7 @@ void GraphicsPipeline::ConfigureDraw() {
void GraphicsPipeline::MakePipeline(VkRenderPass render_pass) {
FixedPipelineState::DynamicState dynamic{};
- if (key.state.extended_dynamic_state) {
+ if (!key.state.extended_dynamic_state) {
dynamic = key.state.dynamic_state;
}
static_vector<VkVertexInputBindingDescription, 32> vertex_bindings;