summaryrefslogtreecommitdiff
path: root/include/render/renderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/render/renderer.h')
-rw-r--r--include/render/renderer.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/include/render/renderer.h b/include/render/renderer.h
index bae799d..2c764ca 100644
--- a/include/render/renderer.h
+++ b/include/render/renderer.h
@@ -62,8 +62,6 @@ struct renderer {
} images;
} swapchain;
- VkRenderPass render_pass;
-
struct {
VkCommandPool pool;
VkCommandBuffer buffers[MAX_FRAMES];
@@ -72,6 +70,7 @@ struct renderer {
struct {
VkPipelineLayout layout;
VkPipeline gfx;
+ VkPipeline blend;
} pipeline;
struct {
@@ -92,10 +91,16 @@ struct renderer {
void *data;
} uniform[MAX_FRAMES];
- VkSampler sampler;
- VkSampleCountFlagBits msaa_samples;
+ VkRenderPass render_pass;
+ VkRenderPass blend_pass;
+ VkFramebuffer blend_framebuffer[MAX_FRAMES];
+
+ struct buffer node[MAX_FRAMES];
+ struct buffer count[MAX_FRAMES];
+ struct image head[MAX_FRAMES];
+ VkImageView head_view[MAX_FRAMES];
+ uint32_t max_count;
- uint32_t mip_levels;
uint32_t current_frame;
};