From 16fac16fd3db8a773646a929b54875ce5f59f832 Mon Sep 17 00:00:00 2001 From: assiduous Date: Mon, 25 Jan 2021 21:27:22 -0800 Subject: Device contetxt Vk: fixed issue with unitialized SRBs in m_DescrSetBindInfo --- Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineVulkan') diff --git a/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp b/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp index 1a0a476e..146742b3 100644 --- a/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp +++ b/Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp @@ -488,7 +488,7 @@ private: using VkDescSetArray = std::array; using BoolArray = std::bitset; - ShaderResourceArray Resources; + ShaderResourceArray Resources = {}; VkDescSetArray vkSets = {}; BoolArray PendingVkSet = {}; // 'true' if new descriptor set must be bound BoolArray PendingDynamicDescriptors = {}; // 'true' if dynamic descriptor set must be bound // AZ TODO: remove ? -- cgit v1.2.3