summaryrefslogtreecommitdiffstats
path: root/src/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h19
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;