Add Display-pipeline as member variables

This commit is contained in:
Wunkolo 2023-08-20 21:03:15 -07:00
parent 89f3eb3a87
commit 6ebbd80286
2 changed files with 4 additions and 1 deletions

View file

@ -88,6 +88,9 @@ class RendererVK final : public Renderer {
vk::RenderPass getRenderPass(vk::Format colorFormat, std::optional<vk::Format> depthFormat);
vk::RenderPass getRenderPass(PICA::ColorFmt colorFormat, std::optional<PICA::DepthFmt> depthFormat);
vk::UniquePipeline displayPipeline;
vk::UniquePipelineLayout displayPipelineLayout;
// Recreate the swapchain, possibly re-using the old one in the case of a resize
vk::Result recreateSwapchain(vk::SurfaceKHR surface, vk::Extent2D swapchainExtent);