summaryrefslogtreecommitdiff
path: root/src/renderer/backends/backend_vulkan.h
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-08 10:37:18 +1000
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-08 10:37:18 +1000
commitf05ce66a8e6fd0742a8314661a8dc871a5a2c0c3 (patch)
tree76d34d9e16ee98923e8eb2b08fd4be030d9feb5a /src/renderer/backends/backend_vulkan.h
parentce318e41868ceea632ee90442fbddf4128d22817 (diff)
finishing submission + presentation for triangle example
Diffstat (limited to 'src/renderer/backends/backend_vulkan.h')
-rw-r--r--src/renderer/backends/backend_vulkan.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/renderer/backends/backend_vulkan.h b/src/renderer/backends/backend_vulkan.h
index 842355e..330ba18 100644
--- a/src/renderer/backends/backend_vulkan.h
+++ b/src/renderer/backends/backend_vulkan.h
@@ -66,9 +66,13 @@ typedef struct gpu_pipeline {
typedef struct gpu_renderpass {
VkRenderPass handle;
- VkFramebuffer framebuffers[GPU_SWAPCHAIN_IMG_COUNT];
+ // TODO: Where to store framebuffers? VkFramebuffer framebuffers[GPU_SWAPCHAIN_IMG_COUNT];
} gpu_renderpass;
typedef struct gpu_cmd_encoder {
VkCommandBuffer cmd_buffer;
-} gpu_cmd_encoder; \ No newline at end of file
+} gpu_cmd_encoder;
+
+typedef struct gpu_cmd_buffer {
+ VkCommandBuffer cmd_buffer;
+} gpu_cmd_buffer; \ No newline at end of file