mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 21:05:50 +12:00
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:
parent
6ebbd80286
commit
72c77e41b4
5 changed files with 189 additions and 5 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue