vulkan: cache depthStencilFormat

This commit is contained in:
niki
2023-02-12 14:52:30 +01:00
parent dc6e080d18
commit 4f321d69e7
2 changed files with 7 additions and 8 deletions
+1
View File
@@ -402,6 +402,7 @@ private:
Matrix4 displayRotation;
std::vector<VkImage> swapChainImages;
VkFormat swapChainImageFormat = VK_FORMAT_UNDEFINED;
VkFormat depthStencilFormat = VK_FORMAT_UNDEFINED;
VkExtent2D swapChainExtent = VkExtent2D();
std::vector<VkImageView> swapChainImageViews;
VkSampleCountFlagBits msaaSamples = VK_SAMPLE_COUNT_1_BIT;