Adjust Buffer padding so it's 48 bytes;

This commit is contained in:
bjorn 2019-08-23 01:35:46 -07:00
parent 8d8f4eef73
commit 80eaea21f1
2 changed files with 4 additions and 4 deletions

View File

@ -24,10 +24,10 @@ typedef struct Buffer {
size_t size;
size_t flushFrom;
size_t flushTo;
bool mapped;
bool readable;
BufferType type;
BufferUsage usage;
bool mapped;
bool readable;
GPU_BUFFER_FIELDS
} Buffer;

View File

@ -12,8 +12,8 @@
#pragma once
#define GPU_BUFFER_FIELDS \
uint32_t id; \
uint8_t incoherent;
uint8_t incoherent; \
uint32_t id;
#define GPU_CANVAS_FIELDS \
uint32_t framebuffer; \