diff options
author | Frederico Linhares <fred@linhares.blue> | 2023-09-30 14:34:22 -0300 |
---|---|---|
committer | Frederico Linhares <fred@linhares.blue> | 2023-09-30 14:44:29 -0300 |
commit | 8b7b509077c52093a9fa936c0462248a24646c90 (patch) | |
tree | 2f005557813ae9ec52bbf3d1df8cd588f36851a3 /src/vk/graphics_pipeline_3d_layout.hpp | |
parent | b44c79e11ba574c74ae650e1430b1d173aacc910 (diff) |
refa Remove redundant render pass
* src/vk/render_pass.hpp: Both 2D pipelines used identical render
passes. I merged both in a single render pass.
* src/vk/renderer.cpp (Renderer::draw): Use only one render pass for
both 2D graphics pipelines.
Diffstat (limited to 'src/vk/graphics_pipeline_3d_layout.hpp')
-rw-r--r-- | src/vk/graphics_pipeline_3d_layout.hpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vk/graphics_pipeline_3d_layout.hpp b/src/vk/graphics_pipeline_3d_layout.hpp index 2117fb6..4b2b9b9 100644 --- a/src/vk/graphics_pipeline_3d_layout.hpp +++ b/src/vk/graphics_pipeline_3d_layout.hpp @@ -25,7 +25,6 @@ namespace VK struct GraphicsPipeline3DLayout { VkPipelineLayout pipeline; - VkRenderPass render_pass; GraphicsPipeline3DLayout(); ~GraphicsPipeline3DLayout(); |