summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineMetal
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-10-14 03:25:00 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-10-14 03:25:00 +0000
commitdfa6286f153dd5273423f5ab169f6cc8a0a53c76 (patch)
treeaa288ba0a4d4dab527edab8307beef27a6c94a49 /Graphics/GraphicsEngineMetal
parentA number of corrections for PSO refactoring (diff)
downloadDiligentCore-dfa6286f153dd5273423f5ab169f6cc8a0a53c76.tar.gz
DiligentCore-dfa6286f153dd5273423f5ab169f6cc8a0a53c76.zip
Updated shader resource layout tests to work on Metal
Diffstat (limited to 'Graphics/GraphicsEngineMetal')
-rw-r--r--Graphics/GraphicsEngineMetal/interface/BufferViewMtl.h1
-rw-r--r--Graphics/GraphicsEngineMetal/interface/SamplerMtl.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineMetal/interface/BufferViewMtl.h b/Graphics/GraphicsEngineMetal/interface/BufferViewMtl.h
index 97b36dbc..d5561b58 100644
--- a/Graphics/GraphicsEngineMetal/interface/BufferViewMtl.h
+++ b/Graphics/GraphicsEngineMetal/interface/BufferViewMtl.h
@@ -41,6 +41,7 @@ static const INTERFACE_ID IID_BufferViewMtl =
class IBufferViewMtl : public IBufferView
{
public:
+ virtual id<MTLTexture> GetMtlTextureView() const = 0;
};
} // namespace Diligent
diff --git a/Graphics/GraphicsEngineMetal/interface/SamplerMtl.h b/Graphics/GraphicsEngineMetal/interface/SamplerMtl.h
index 51057dad..a8290e07 100644
--- a/Graphics/GraphicsEngineMetal/interface/SamplerMtl.h
+++ b/Graphics/GraphicsEngineMetal/interface/SamplerMtl.h
@@ -41,6 +41,7 @@ static const INTERFACE_ID IID_SamplerMtl =
class ISamplerMtl : public ISampler
{
public:
+ virtual id<MTLSamplerState> GetMtlSampler() = 0;
};
} // namespace Diligent