summaryrefslogtreecommitdiff
path: root/src/renderer/backends/backend_vulkan.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/backends/backend_vulkan.h')
-rw-r--r--src/renderer/backends/backend_vulkan.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/renderer/backends/backend_vulkan.h b/src/renderer/backends/backend_vulkan.h
index 330ba18..0b0a492 100644
--- a/src/renderer/backends/backend_vulkan.h
+++ b/src/renderer/backends/backend_vulkan.h
@@ -75,4 +75,10 @@ typedef struct gpu_cmd_encoder {
typedef struct gpu_cmd_buffer {
VkCommandBuffer cmd_buffer;
-} gpu_cmd_buffer; \ No newline at end of file
+} gpu_cmd_buffer;
+
+typedef struct gpu_buffer {
+ VkBuffer handle;
+ VkDeviceMemory memory;
+ u64 size;
+} gpu_buffer;