vulkan: fix a few bugs in Shader

This commit is contained in:
niki
2022-08-23 01:38:47 +02:00
parent a08395e12d
commit a577be8a6d
3 changed files with 49 additions and 16 deletions
+1 -1
View File
@@ -262,7 +262,7 @@ private:
std::vector<VkImageView> swapChainImageViews;
VkPipeline currentGraphicsPipeline = VK_NULL_HANDLE;
VkRenderPass currentRenderPass = VK_NULL_HANDLE;
VkSampleCountFlagBits msaaSamples;
VkSampleCountFlagBits msaaSamples = VK_SAMPLE_COUNT_1_BIT;
VkImage colorImage = VK_NULL_HANDLE;
VkImageView colorImageView = VK_NULL_HANDLE;
VmaAllocation colorImageAllocation = VK_NULL_HANDLE;