summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2021-01-26 05:27:22 +0000
committerassiduous <assiduous@diligentgraphics.com>2021-01-26 05:27:22 +0000
commit16fac16fd3db8a773646a929b54875ce5f59f832 (patch)
tree11ad1c69598932a08a39d3468a988dc92b0eb076 /Graphics/GraphicsEngineVulkan
parentRefactored PipelineResourceSignatureVkImpl (diff)
downloadDiligentCore-16fac16fd3db8a773646a929b54875ce5f59f832.tar.gz
DiligentCore-16fac16fd3db8a773646a929b54875ce5f59f832.zip
Device contetxt Vk: fixed issue with unitialized SRBs in m_DescrSetBindInfo
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/include/DeviceContextVkImpl.hpp2
1 files changed, 1 insertions, 1 deletions
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<VkDescriptorSet, MAX_RESOURCE_SIGNATURES * MAX_DESCR_SET_PER_SIGNATURE>;
using BoolArray = std::bitset<MAX_RESOURCE_SIGNATURES>;
- 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 ?