diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2023-09-05 12:10:04 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2023-09-06 17:24:27 -0400 |
| commit | 3c55528b3e0e6e52e416535d9884254a0f21d07e (patch) | |
| tree | 4457601a42c2ee7ac4c40818061648bc5c350705 /src/window.cpp | |
| parent | 08ff9cd0e2b754caf60aaceedf670b9e6b61d664 (diff) | |
instancing checkpoint
Diffstat (limited to 'src/window.cpp')
| -rw-r--r-- | src/window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.cpp b/src/window.cpp index 54ebbf1..8293c81 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -1001,9 +1001,9 @@ void RecordCommandBuffer(VkCommandBuffer commandBuffer, uint32_t imageIndex) { const uint64_t bindBucketCount = ECS_GetGrBinds_BucketCount(); for (long b = 0; b < bindBucketCount; ++b) { uint64_t itemCount; - GrBindsComp *items = ECS_GetGrBinds(b, itemCount); + CompGrBinds *items = ECS_GetGrBinds(b, itemCount); for (long i = 0; i < itemCount; ++i) { - GrBindsComp *binder = &items[i]; + CompGrBinds *binder = &items[i]; vkCmdBindDescriptorSets(commandBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, binder->vkPipelineLayout, 0U, 1U, &binder->vkDescriptorSet, 0, {}); vkCmdBindVertexBuffers(commandBuffer, binder->indexFirstBinding, binder->vertexCount, &binder->vertexBuffer, &binder->vertexOffsets); vkCmdBindIndexBuffer(commandBuffer, binder->indexBuffer, binder->vertexOffsets, VK_INDEX_TYPE_UINT16); |
