diff --git a/impeller/renderer/backend/vulkan/render_pass_vk.cc b/impeller/renderer/backend/vulkan/render_pass_vk.cc index 914106cdea6dc..c229ff361e89a 100644 --- a/impeller/renderer/backend/vulkan/render_pass_vk.cc +++ b/impeller/renderer/backend/vulkan/render_pass_vk.cc @@ -468,7 +468,7 @@ void RenderPassVK::SetInstanceCount(size_t count) { // |RenderPass| bool RenderPassVK::SetVertexBuffer(VertexBuffer buffer) { vertex_count_ = buffer.vertex_count; - if (buffer.index_type == IndexType::kUnknown) { + if (buffer.index_type == IndexType::kUnknown || !buffer.vertex_buffer) { return false; }