changed many size/count type why to equal vkCmdDraw/vkCmdDrawIndexed

This commit is contained in:
2024-05-26 15:04:44 +08:00
parent bf5e401566
commit 9947d46ab8
6 changed files with 50 additions and 37 deletions

View File

@@ -63,8 +63,8 @@ using VAB=VertexAttribBuffer;
struct VABAccess
{
VAB *vab;
VkDeviceSize start;
VkDeviceSize count;
uint32_t start;
uint32_t count;
public:
@@ -76,8 +76,8 @@ class IndexBuffer;
struct IndexBufferAccess
{
IndexBuffer *buffer;
VkDeviceSize start;
VkDeviceSize count;
uint32_t start;
uint32_t count;
};
using IBAccess=IndexBufferAccess;