From f8491bc2e3bd00dff8d86ad7f3da266005e01483 Mon Sep 17 00:00:00 2001 From: azhirnov Date: Tue, 26 Jan 2021 10:13:23 +0300 Subject: added immutable samplers to descriptor set layout, fixed PRS tests --- Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Graphics/GraphicsEngine') 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 GetResourceIndexRange(SHADER_RESOURCE_VARIABLE_TYPE VarType) const { -- cgit v1.2.3