vk_graphics_pipeline: Fix path with no VK_EXT_extended_dynamic_state

master
Rodrigo Locatti 2021-06-14 22:02:42 +07:00 committed by ameerj
parent 94e751f415
commit dbf7cb9f90
1 changed files with 1 additions and 1 deletions

@ -472,7 +472,7 @@ void GraphicsPipeline::ConfigureDraw() {
void GraphicsPipeline::MakePipeline(VkRenderPass render_pass) { void GraphicsPipeline::MakePipeline(VkRenderPass render_pass) {
FixedPipelineState::DynamicState dynamic{}; FixedPipelineState::DynamicState dynamic{};
if (key.state.extended_dynamic_state) { if (!key.state.extended_dynamic_state) {
dynamic = key.state.dynamic_state; dynamic = key.state.dynamic_state;
} }
static_vector<VkVertexInputBindingDescription, 32> vertex_bindings; static_vector<VkVertexInputBindingDescription, 32> vertex_bindings;