From ec1ad3954fc4dcb172c396138072e94b420e10ff Mon Sep 17 00:00:00 2001 From: assiduous Date: Mon, 21 Dec 2020 19:28:56 -0800 Subject: Vk backend: added a few debug checks --- Graphics/GraphicsEngine/include/PipelineStateBase.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngine') 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) { -- cgit v1.2.3