diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-12-22 03:28:56 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-12-22 03:28:56 +0000 |
| commit | ec1ad3954fc4dcb172c396138072e94b420e10ff (patch) | |
| tree | abf61bf52cbb98385063c86ec8b638418f08b36a /Graphics/GraphicsEngine | |
| parent | ShaderResourceLayoutD3D12: updated the static resource layout (diff) | |
| download | DiligentCore-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.hpp | 2 |
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) { |
