From 4027a75f1f7bd089fb3f1b39ce29e413d8b23a62 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Tue, 12 Jun 2018 09:45:57 -0700 Subject: Made uniform and storage buffer descriptors dynamic in pipeline layout --- Graphics/GraphicsEngine/interface/Constants.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/interface/Constants.h b/Graphics/GraphicsEngine/interface/Constants.h index 99adf33b..a19d2e6e 100644 --- a/Graphics/GraphicsEngine/interface/Constants.h +++ b/Graphics/GraphicsEngine/interface/Constants.h @@ -39,4 +39,7 @@ namespace Diligent /// Maximum number of viewports. static constexpr Uint32 MaxViewports = 16; + + /// Maximum number of shader stages in a pipeline. + static constexpr Uint32 MaxShadersInPipeline = 5; } -- cgit v1.2.3