From 2a2a6c842cccb60ab4c67d31b3d26f74816fb3ac Mon Sep 17 00:00:00 2001 From: assiduous Date: Wed, 3 Feb 2021 21:12:38 -0800 Subject: PipelineResourceSignatureVkImpl: removed methods and members that were moved to PipelineResourceSignatureBase --- Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp b/Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp index ceb70688..c0cd6b94 100644 --- a/Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp +++ b/Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp @@ -101,6 +101,8 @@ public: return std::pair{m_ResourceOffsets[VarType], m_ResourceOffsets[VarType + 1]}; } + SHADER_TYPE GetActiveShaderStages() const { return m_ShaderStages; } + // Returns the number of shader stages that have resources. Uint32 GetNumActiveShaderStages() const { return m_NumShaderStages; } @@ -274,15 +276,15 @@ protected: protected: size_t m_Hash = 0; + std::array m_ResourceOffsets = {}; + // Shader stages that have resources. SHADER_TYPE m_ShaderStages = SHADER_TYPE_UNKNOWN; - std::array m_ResourceOffsets = {}; - PIPELINE_TYPE m_PipelineType = PIPELINE_TYPE_INVALID; // The number of shader stages that have resources. - Uint8 m_NumShaderStages = 0; // AZ TODO: remove ? + Uint8 m_NumShaderStages = 0; #ifdef DILIGENT_DEBUG bool m_IsDestructed = false; -- cgit v1.2.3