diff options
author | grm <grm@eyesin.space> | 2024-12-16 11:16:24 +0200 |
---|---|---|
committer | grm <grm@eyesin.space> | 2024-12-16 11:16:24 +0200 |
commit | af57524fb3d6914ab413023af4b197d2eb8e6894 (patch) | |
tree | c6644070d8269a96650f6081dc185560b1a415bc /src/state.h | |
parent | a9ae85a6fee72446d1fe8e6147248adeb39a3649 (diff) | |
download | cgame-af57524fb3d6914ab413023af4b197d2eb8e6894.tar.gz cgame-af57524fb3d6914ab413023af4b197d2eb8e6894.tar.bz2 cgame-af57524fb3d6914ab413023af4b197d2eb8e6894.zip |
smol progress
Diffstat (limited to 'src/state.h')
-rw-r--r-- | src/state.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/state.h b/src/state.h index 6e78d49..8177c77 100644 --- a/src/state.h +++ b/src/state.h @@ -34,22 +34,6 @@ typedef struct { } UniformBufferObject; typedef struct { - VkCommandBuffer vk_command_buffer; - - VkSemaphore image_available_semaphore; - VkSemaphore render_finished_semaphore; - VkFence in_flight_fence; - - vks_buffer uniform_buffer; - void * uniform_buffer_mapped; - - VkDescriptorSet vk_descriptor_set; - - VkDescriptorSet vk_compute_descriptor_set; - vks_buffer shader_storage_buffer; -} frame_data; - -typedef struct { float x; float y; } V2; @@ -72,7 +56,6 @@ typedef struct { vec4 color; } Particle; - typedef struct state { camera3d camera; @@ -102,7 +85,7 @@ typedef struct state { VkDescriptorSetLayout vk_descriptor_set_layout; vks_pipeline graphics_pipeline; - frame_data frames[MAX_FRAMES_IN_FLIGHT]; + vks_frame_data frames[MAX_FRAMES_IN_FLIGHT]; vks_buffer vertex_buffer; vks_buffer index_buffer; |