vulkan: fix wrong image layout validation warnings

This commit is contained in:
niki
2022-09-12 13:46:03 +02:00
parent 6d9f855bf4
commit faeca1c4bc
3 changed files with 33 additions and 21 deletions
+1
View File
@@ -437,6 +437,7 @@ private:
size_t currentFrame = 0;
uint32_t imageIndex = 0;
bool framebufferResized = false;
bool transitionColorDepthLayouts = false;
VmaAllocator vmaAllocator = VK_NULL_HANDLE;
std::unique_ptr<Texture> standardTexture = nullptr;
// we need an array of draw buffers, since the frames are being rendered asynchronously