vulkan: improve depth/stencil texture support.

This commit is contained in:
Sasha Szpakowski
2024-03-31 17:56:36 -03:00
parent 6ac3c5f990
commit 44a6a81641
3 changed files with 45 additions and 40 deletions
+1 -1
View File
@@ -236,7 +236,7 @@ struct RenderpassState
RenderPassConfiguration renderPassConfiguration{};
FramebufferConfiguration framebufferConfiguration{};
VkPipeline pipeline = VK_NULL_HANDLE;
std::vector<std::tuple<VkImage, PixelFormat>> transitionImages;
std::vector<std::tuple<VkImage, PixelFormat, VkImageLayout, VkImageLayout>> transitionImages;
uint32_t numColorAttachments = 0;
float width = 0.0f;
float height = 0.0f;