From 8fb6d87ea9777986268bc53e3ad0d67ec9c19362 Mon Sep 17 00:00:00 2001 From: assiduous Date: Sat, 25 Jul 2020 13:12:47 -0700 Subject: Fixed Metal backend build issues --- Graphics/GraphicsEngineMetal/CMakeLists.txt | 3 +++ Graphics/GraphicsEngineMetal/include/FramebufferMtlImpl.h | 2 +- Graphics/GraphicsEngineMetal/src/FramebufferMtlImpl.mm | 2 +- Graphics/GraphicsEngineMetal/src/RenderPassMtlImpl.mm | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) (limited to 'Graphics/GraphicsEngineMetal') diff --git a/Graphics/GraphicsEngineMetal/CMakeLists.txt b/Graphics/GraphicsEngineMetal/CMakeLists.txt index ac047e78..20c5db50 100644 --- a/Graphics/GraphicsEngineMetal/CMakeLists.txt +++ b/Graphics/GraphicsEngineMetal/CMakeLists.txt @@ -10,6 +10,7 @@ set(INCLUDE include/MtlTypeConversions.h include/DeviceContextMtlImpl.h include/FenceMtlImpl.h + include/FramebufferMtlImpl.h include/PipelineStateMtlImpl.h include/QueryMtlImpl.h include/RenderDeviceMtlImpl.h @@ -48,9 +49,11 @@ set(SRC src/DeviceContextMtlImpl.mm src/EngineFactoryMtl.mm src/FenceMtlImpl.mm + src/FramebufferMtlImpl.mm src/PipelineStateMtlImpl.mm src/QueryMtlImpl.mm src/RenderDeviceMtlImpl.mm + src/RenderPassMtlImpl.mm src/SamplerMtlImpl.mm src/ShaderMtlImpl.mm src/ShaderResourceBindingMtlImpl.mm diff --git a/Graphics/GraphicsEngineMetal/include/FramebufferMtlImpl.h b/Graphics/GraphicsEngineMetal/include/FramebufferMtlImpl.h index 8bbde9c7..33c03a41 100644 --- a/Graphics/GraphicsEngineMetal/include/FramebufferMtlImpl.h +++ b/Graphics/GraphicsEngineMetal/include/FramebufferMtlImpl.h @@ -32,7 +32,7 @@ #include "RenderDeviceMtl.h" #include "FramebufferBase.hpp" -#include "RenderDeviceMtlImpl.hpp" +#include "RenderDeviceMtlImpl.h" namespace Diligent { diff --git a/Graphics/GraphicsEngineMetal/src/FramebufferMtlImpl.mm b/Graphics/GraphicsEngineMetal/src/FramebufferMtlImpl.mm index 6cac14a6..5c30ca17 100644 --- a/Graphics/GraphicsEngineMetal/src/FramebufferMtlImpl.mm +++ b/Graphics/GraphicsEngineMetal/src/FramebufferMtlImpl.mm @@ -30,7 +30,7 @@ namespace Diligent FramebufferMtlImpl :: FramebufferMtlImpl(IReferenceCounters* pRefCounters, RenderDeviceMtlImpl* pDevice, const FramebufferDesc& Desc) : - TQueryBase(pRefCounters, pDevice, Desc) + TFramebufferBase(pRefCounters, pDevice, Desc) { } diff --git a/Graphics/GraphicsEngineMetal/src/RenderPassMtlImpl.mm b/Graphics/GraphicsEngineMetal/src/RenderPassMtlImpl.mm index c35f9aad..175c8897 100644 --- a/Graphics/GraphicsEngineMetal/src/RenderPassMtlImpl.mm +++ b/Graphics/GraphicsEngineMetal/src/RenderPassMtlImpl.mm @@ -30,7 +30,7 @@ namespace Diligent RenderPassMtlImpl :: RenderPassMtlImpl(IReferenceCounters* pRefCounters, RenderDeviceMtlImpl* pDevice, const RenderPassDesc& Desc) : - TQueryBase(pRefCounters, pDevice, Desc) + TRenderPassBase(pRefCounters, pDevice, Desc) { } -- cgit v1.2.3