summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineMetal
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-07-25 20:12:47 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-08-02 19:21:38 +0000
commit8fb6d87ea9777986268bc53e3ad0d67ec9c19362 (patch)
tree52de4fee2770b106f745d1f4129a489a455e875d /Graphics/GraphicsEngineMetal
parentAdded frambuffer desc validation (diff)
downloadDiligentCore-8fb6d87ea9777986268bc53e3ad0d67ec9c19362.tar.gz
DiligentCore-8fb6d87ea9777986268bc53e3ad0d67ec9c19362.zip
Fixed Metal backend build issues
Diffstat (limited to 'Graphics/GraphicsEngineMetal')
-rw-r--r--Graphics/GraphicsEngineMetal/CMakeLists.txt3
-rw-r--r--Graphics/GraphicsEngineMetal/include/FramebufferMtlImpl.h2
-rw-r--r--Graphics/GraphicsEngineMetal/src/FramebufferMtlImpl.mm2
-rw-r--r--Graphics/GraphicsEngineMetal/src/RenderPassMtlImpl.mm2
4 files changed, 6 insertions, 3 deletions
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)
{
}