vk_graphics_pipeline: Fix path with no VK_EXT_extended_dynamic_state

This commit is contained in:
Rodrigo Locatti 2021-06-14 22:02:42 -03:00 committed by ameerj
parent 94e751f415
commit dbf7cb9f90

View File

@ -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;