summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-12-22 03:28:56 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-12-22 03:28:56 +0000
commitec1ad3954fc4dcb172c396138072e94b420e10ff (patch)
treeabf61bf52cbb98385063c86ec8b638418f08b36a /Graphics/GraphicsEngine
parentShaderResourceLayoutD3D12: updated the static resource layout (diff)
downloadDiligentCore-ec1ad3954fc4dcb172c396138072e94b420e10ff.tar.gz
DiligentCore-ec1ad3954fc4dcb172c396138072e94b420e10ff.zip
Vk backend: added a few debug checks
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/include/PipelineStateBase.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngine/include/PipelineStateBase.hpp b/Graphics/GraphicsEngine/include/PipelineStateBase.hpp
index d094d91b..df57c671 100644
--- a/Graphics/GraphicsEngine/include/PipelineStateBase.hpp
+++ b/Graphics/GraphicsEngine/include/PipelineStateBase.hpp
@@ -446,7 +446,7 @@ protected:
};
ShaderStages.clear();
- ShaderStages.resize(6);
+ ShaderStages.resize(MAX_SHADERS_IN_PIPELINE);
for (Uint32 i = 0; i < CreateInfo.GeneralShaderCount; ++i)
{