Change the folder structure of the vulkan backend to better reflect what is going on

This commit is contained in:
Magnus Norddahl 2023-04-16 16:39:15 +02:00
commit 295eb252ab
37 changed files with 119 additions and 110 deletions

View file

@ -0,0 +1,27 @@
#pragma once
#include "hwrenderer/postprocessing/hw_postprocess.h"
#include <zvulkan/vulkanobjects.h>
class VkPPRenderPassSetup;
class VkPPShader;
class VkPPTexture;
class VkTextureImage;
class VulkanRenderDevice;
class VkPPRenderState : public PPRenderState
{
public:
VkPPRenderState(VulkanRenderDevice* fb);
void PushGroup(const FString &name) override;
void PopGroup() override;
void Draw() override;
private:
void RenderScreenQuad(VkPPRenderPassSetup *passSetup, VulkanDescriptorSet *descriptorSet, VulkanFramebuffer *framebuffer, int framebufferWidth, int framebufferHeight, int x, int y, int width, int height, const void *pushConstants, uint32_t pushConstantsSize, bool stencilTest);
VulkanRenderDevice* fb = nullptr;
};