summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorazhirnov <zh1dron@gmail.com>2021-01-26 07:13:23 +0000
committerazhirnov <zh1dron@gmail.com>2021-01-26 07:13:23 +0000
commitf8491bc2e3bd00dff8d86ad7f3da266005e01483 (patch)
tree5235768a948e41fc2c9516433148f5fa30372daa /Graphics/GraphicsEngine
parentremoved empty signature, added test for partially compatible pipeline layouts (diff)
downloadDiligentCore-f8491bc2e3bd00dff8d86ad7f3da266005e01483.tar.gz
DiligentCore-f8491bc2e3bd00dff8d86ad7f3da266005e01483.zip
added immutable samplers to descriptor set layout, fixed PRS tests
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp b/Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp
index 6578e0d1..0913f5d7 100644
--- a/Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp
+++ b/Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp
@@ -93,6 +93,7 @@ public:
bool IsUsingSeparateSamplers() const { return !IsUsingCombinedSamplers(); }
Uint32 GetTotalResourceCount() const { return this->m_Desc.NumResources; }
+ Uint32 GetImmutableSamplerCount() const { return this->m_Desc.NumImmutableSamplers; }
std::pair<Uint32, Uint32> GetResourceIndexRange(SHADER_RESOURCE_VARIABLE_TYPE VarType) const
{