From 1aff9b3e2bdb7c122c77cd97bfb22bcdff73b5d1 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Tue, 13 Oct 2020 06:05:30 +0100 Subject: [PATCH] Vulkan: fix stack overflow. --- GPU/Vulkan/DrawEngineVulkan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/Vulkan/DrawEngineVulkan.cpp b/GPU/Vulkan/DrawEngineVulkan.cpp index 25ed57ffbe..b2f86d23fd 100644 --- a/GPU/Vulkan/DrawEngineVulkan.cpp +++ b/GPU/Vulkan/DrawEngineVulkan.cpp @@ -439,7 +439,7 @@ VkDescriptorSet DrawEngineVulkan::GetOrCreateDescriptorSet(VkImageView imageView _assert_msg_(result == VK_SUCCESS, "Ran out of descriptor space in pool. sz=%d res=%d", (int)frame.descSets.size(), (int)result); // We just don't write to the slots we don't care about, which is fine. - VkWriteDescriptorSet writes[7]{}; + VkWriteDescriptorSet writes[9]{}; // Main texture int n = 0; VkDescriptorImageInfo tex[3]{};