File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -111,11 +111,13 @@ void RenderPass::destroyFramebuffersAndPipelines() noexcept {
111111 }
112112 _framebuffers.clear ();
113113 _pipelines.clear ();
114+ _trPipelines.clear ();
114115}
115116
116117void RenderPass::createFramebuffersAndPipelines () {
117118 _framebuffers = createFramebuffers (_renderPass, _id);
118119 _pipelines = createPipelines (_renderPass, _id);
120+ _trPipelines = createTextRenderingPipelines (_renderPass, _id);
119121}
120122
121123std::unordered_map<std::string, RenderPass> g_renderPasses;
Original file line number Diff line number Diff line change 11#include " orge-private.hpp"
22
33#include " graphics/core/core.hpp"
4+ #include " graphics/compute/pipeline.hpp"
45#include " graphics/renderpass/renderpass.hpp"
56#include " graphics/renderer/renderer.hpp"
67#include " graphics/resource/descpool.hpp"
1617 graphics::core::device ().waitIdle(); \
1718 graphics::renderer::renderer ().recreateSemaphoreForImageEnabled(); \
1819 graphics::renderpass::destroyAllFramebuffersAndPipelines (); \
20+ graphics::compute::destroyAllComputePipelines (); \
1921 graphics::resource::destroyAllAttachmentImages (); \
2022 graphics::resource::destroyDescriptorPool (); \
2123 graphics::window::swapchain ().recreate##which(); \
2224 graphics::resource::initializeDescriptorPool (); \
2325 graphics::resource::initializeAllAttachmentImages (); \
26+ graphics::compute::initializeComputePipelines (); \
2427 graphics::renderpass::createAllFramebuffersAndPipelines ()
2528
2629namespace orge {
You can’t perform that action at this time.
0 commit comments