Draft Vulkan DescriptorHeap

A utility class from a personal project for managing a heap of
descriptors of a particular layout.

Allows the display graphics pipeline to be successfully created,
satisfying its descriptor layout issues.
This commit is contained in:
Wunkolo 2023-08-20 21:29:37 -07:00
parent 6ebbd80286
commit 72c77e41b4
5 changed files with 189 additions and 5 deletions

View file

@ -4,6 +4,7 @@
#include "math_util.hpp"
#include "renderer.hpp"
#include "vk_api.hpp"
#include "vk_descriptor_heap.hpp"
class GPU;
@ -88,6 +89,7 @@ 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);
std::unique_ptr<Vulkan::DescriptorHeap> displayDescriptorHeap;
vk::UniquePipeline displayPipeline;
vk::UniquePipelineLayout displayPipelineLayout;