vk_graphics_pipeline: Fix path with no VK_EXT_extended_dynamic_state
This commit is contained in:
parent
94e751f415
commit
dbf7cb9f90
|
@ -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;
|
||||||
|
|
Reference in New Issue