summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorazhirnov <zh1dron@gmail.com>2021-02-26 19:33:44 +0000
committerassiduous <assiduous@diligentgraphics.com>2021-03-19 00:38:14 +0000
commitbef8cae7057fad87afc17f94ea57c6c1119ff3ea (patch)
treec6d73acaf574b5547a0101efddc5e94563452684 /Graphics/GraphicsEngine
parentUnified pipeline resource compatibility validation in D3D12 and Vk; added mor... (diff)
downloadDiligentCore-bef8cae7057fad87afc17f94ea57c6c1119ff3ea.tar.gz
DiligentCore-bef8cae7057fad87afc17f94ea57c6c1119ff3ea.zip
OpenGL: added resource signature
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp5
-rw-r--r--Graphics/GraphicsEngine/interface/PipelineState.h6
2 files changed, 5 insertions, 6 deletions
diff --git a/Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp b/Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp
index de000c98..cf4e7458 100644
--- a/Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp
+++ b/Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp
@@ -155,11 +155,6 @@ public:
return PlatformMisc::CountOneBits(Uint32{m_ShaderStages});
}
- SHADER_TYPE GetActiveShaderStages() const
- {
- return m_ShaderStages;
- }
-
// Returns the number of shader stages that have static resources.
Uint32 GetNumStaticResStages() const
{
diff --git a/Graphics/GraphicsEngine/interface/PipelineState.h b/Graphics/GraphicsEngine/interface/PipelineState.h
index 4e01af07..96d6de5c 100644
--- a/Graphics/GraphicsEngine/interface/PipelineState.h
+++ b/Graphics/GraphicsEngine/interface/PipelineState.h
@@ -658,7 +658,11 @@ DILIGENT_BEGIN_INTERFACE(IPipelineState, IDeviceObject)
const struct IPipelineState* pPSO) CONST PURE;
- /// Returns the number of pipeline resource signature used to created this pipeline.
+ /// Returns the number of pipeline resource signatures used by this pipeline.
+
+ /// \remarks After the PSO is created, pipeline resource signatures are arranged by their binding indices.
+ /// The value returned by this function is given by the maximum signature binding index plus one,
+ /// and thus may not be equal to PipelineStateCreateInfo::ResourceSignaturesCount.
VIRTUAL Uint32 METHOD(GetResourceSignatureCount)(THIS) CONST PURE;
/// Returns pipeline resource signature at the give index.