summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-06-12 16:45:57 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-06-12 16:45:57 +0000
commit4027a75f1f7bd089fb3f1b39ce29e413d8b23a62 (patch)
tree3f5ba7d069466c8744948128c22b8755b9a81d71 /Graphics/GraphicsEngine
parentUpdated static shader resource cache to use one descriptor set instead of ind... (diff)
downloadDiligentCore-4027a75f1f7bd089fb3f1b39ce29e413d8b23a62.tar.gz
DiligentCore-4027a75f1f7bd089fb3f1b39ce29e413d8b23a62.zip
Made uniform and storage buffer descriptors dynamic in pipeline layout
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/Constants.h3
1 files changed, 3 insertions, 0 deletions
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;
}