aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRodrigo Locatti <rodrigo.locatti@gmail.com>2021-06-14 22:02:42 -0300
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-22 21:51:35 -0400
commitdbf7cb9f90a99faa6d6ab07558d65dd113728ff1 (patch)
treea41460f94b9c0dcef6fe2eb6914e9370d7f5094e /src
parent94e751f415d70fe255eada77c4385ec966c07a95 (diff)
vk_graphics_pipeline: Fix path with no VK_EXT_extended_dynamic_state
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 ccef71f4cc..e02b1b7ab8 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;