summaryrefslogtreecommitdiff
path: root/src/components.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2023-09-27 16:18:17 -0400
committerJonathan Bradley <jcb@pikum.xyz>2023-09-27 16:18:17 -0400
commit104224b9022794fd9eff77154482630bcf18348c (patch)
tree4e456f9350789a29d9f4b828f4fa195728ec3f13 /src/components.hpp
parentb14582679d0a113cb8571a7e6764436391d6af48 (diff)
align render-time binding indexes with pipeline layout
Diffstat (limited to 'src/components.hpp')
-rw-r--r--src/components.hpp2
1 files changed, 1 insertions, 1 deletions
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;