Add clear-buffer support for Depth/Stencil

This commit is contained in:
Wunkolo 2023-08-26 22:04:21 -07:00
parent 1540c941d0
commit 085d7d5568
2 changed files with 62 additions and 6 deletions

View file

@ -61,6 +61,7 @@ class RendererVK final : public Renderer {
u32 sizePerPixel = 0;
std::array<u32, 2> size = {};
vk::Format format;
vk::UniqueImage image;
vk::UniqueDeviceMemory imageMemory;
vk::UniqueImageView imageView;