From 5531240cdeea37a07f549360c45f50c23e78e39b Mon Sep 17 00:00:00 2001 From: assiduous Date: Thu, 5 Nov 2020 21:05:20 -0800 Subject: Fixed gcc error plus few minor updates --- Graphics/GraphicsEngine/include/FramebufferBase.hpp | 2 +- Graphics/GraphicsEngine/include/PipelineStateBase.hpp | 1 + Graphics/GraphicsEngine/include/RenderPassBase.hpp | 2 +- Graphics/GraphicsEngine/include/ShaderBindingTableBase.hpp | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/include/FramebufferBase.hpp b/Graphics/GraphicsEngine/include/FramebufferBase.hpp index fc008d73..ca386375 100644 --- a/Graphics/GraphicsEngine/include/FramebufferBase.hpp +++ b/Graphics/GraphicsEngine/include/FramebufferBase.hpp @@ -66,7 +66,7 @@ public: TDeviceObjectBase{pRefCounters, pDevice, Desc, bIsDeviceInternal}, m_pRenderPass{Desc.pRenderPass} { - ValidateFramebufferDesc(Desc); + ValidateFramebufferDesc(this->m_Desc); if (this->m_Desc.AttachmentCount > 0) { diff --git a/Graphics/GraphicsEngine/include/PipelineStateBase.hpp b/Graphics/GraphicsEngine/include/PipelineStateBase.hpp index 5245c589..3f92416d 100644 --- a/Graphics/GraphicsEngine/include/PipelineStateBase.hpp +++ b/Graphics/GraphicsEngine/include/PipelineStateBase.hpp @@ -33,6 +33,7 @@ #include #include #include +#include #include "PipelineState.h" #include "DeviceObjectBase.hpp" diff --git a/Graphics/GraphicsEngine/include/RenderPassBase.hpp b/Graphics/GraphicsEngine/include/RenderPassBase.hpp index fbc65dd7..f98d89da 100644 --- a/Graphics/GraphicsEngine/include/RenderPassBase.hpp +++ b/Graphics/GraphicsEngine/include/RenderPassBase.hpp @@ -81,7 +81,7 @@ public: bool bIsDeviceInternal = false) : TDeviceObjectBase{pRefCounters, pDevice, Desc, bIsDeviceInternal} { - ValidateRenderPassDesc(Desc); + ValidateRenderPassDesc(this->m_Desc); if (Desc.AttachmentCount != 0) { diff --git a/Graphics/GraphicsEngine/include/ShaderBindingTableBase.hpp b/Graphics/GraphicsEngine/include/ShaderBindingTableBase.hpp index cc657844..32a728f5 100644 --- a/Graphics/GraphicsEngine/include/ShaderBindingTableBase.hpp +++ b/Graphics/GraphicsEngine/include/ShaderBindingTableBase.hpp @@ -64,7 +64,7 @@ public: bool bIsDeviceInternal = false) : TDeviceObjectBase{pRefCounters, pDevice, Desc, bIsDeviceInternal} { - ValidateShaderBindingTableDesc(Desc); + ValidateShaderBindingTableDesc(this->m_Desc); this->m_pPSO = ValidatedCast(this->m_Desc.pPSO); this->m_ShaderRecordSize = this->m_pPSO->GetRayTracingPipelineDesc().ShaderRecordSize; -- cgit v1.2.3