From 5891af6843661a9d30c12c3ef0f9efeb534aee88 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Tue, 31 Oct 2023 16:28:12 -0400 Subject: rebuild instance buffers as they become oversized --- src/components.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/components.hpp') diff --git a/src/components.hpp b/src/components.hpp index 490e798..4d52e39 100644 --- a/src/components.hpp +++ b/src/components.hpp @@ -47,6 +47,7 @@ struct CompGrBinds { uint32_t instanceFirstBinding = 0; uint32_t instanceBindingCount = 0; uint32_t instanceCounter = 0; + uint32_t instanceBufferMaxCount = 0; VkDeviceSize instanceOffsets = 0; }; -- cgit v1.2.3