From 104224b9022794fd9eff77154482630bcf18348c Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Wed, 27 Sep 2023 16:18:17 -0400 Subject: align render-time binding indexes with pipeline layout --- src/components.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components.hpp') diff --git a/src/components.hpp b/src/components.hpp index 40c8aae..06477da 100644 --- a/src/components.hpp +++ b/src/components.hpp @@ -32,6 +32,7 @@ struct CompGrBinds { EntityHandle entHandle = EntityHandle_MAX; GrBindsHandle grBindsHandle = GrBindsHandle_MAX; VkPipelineLayout vkPipelineLayout = VK_NULL_HANDLE; + VkPipeline graphicsPipeline = VK_NULL_HANDLE; VkDescriptorSet *vkDescriptorSets = nullptr; VkBuffer vertexBuffer = VK_NULL_HANDLE; uint32_t vertexFirstBinding = 0; @@ -46,7 +47,6 @@ struct CompGrBinds { uint32_t uvBindingCount = 0; VkDeviceSize uvOffsets = 0; VkBuffer indexBuffer = VK_NULL_HANDLE; - uint32_t indexFirstBinding = 0; uint32_t indexBindingCount = 0; VkDeviceSize indexOffsets = 0; VkDeviceSize indexCount = 0; -- cgit v1.2.3