diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-10-14 03:25:00 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-10-14 03:25:00 +0000 |
| commit | dfa6286f153dd5273423f5ab169f6cc8a0a53c76 (patch) | |
| tree | aa288ba0a4d4dab527edab8307beef27a6c94a49 /Graphics/GraphicsEngineMetal | |
| parent | A number of corrections for PSO refactoring (diff) | |
| download | DiligentCore-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.h | 1 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineMetal/interface/SamplerMtl.h | 1 |
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 |
