[vulkan] adjusting BindVertexBuffer2EXT wrong calling in pipeline

This commit is contained in:
CamilleLaVey 2026-02-14 22:32:49 -04:00 committed by lizzie
parent b4b036b089
commit 08cb8fe471
2 changed files with 3 additions and 0 deletions

View file

@ -184,6 +184,8 @@ private:
std::unique_ptr<Uint8Pass> uint8_pass;
QuadIndexedPass quad_index_pass;
bool use_vertex_input_binding_stride_dynamic_state = true;
bool limit_dynamic_storage_buffers = false;
u32 max_dynamic_storage_buffers = (std::numeric_limits<u32>::max)();
};

View file

@ -463,6 +463,7 @@ bool GraphicsPipeline::ConfigureImpl(bool is_indexed) {
bind_stage_info(4);
}
buffer_cache.runtime.SetUseVertexInputBindingStrideDynamicState(UsesExtendedDynamicState());
buffer_cache.UpdateGraphicsBuffers(is_indexed);
buffer_cache.BindHostGeometryBuffers(is_indexed);