From dfa6286f153dd5273423f5ab169f6cc8a0a53c76 Mon Sep 17 00:00:00 2001 From: assiduous Date: Tue, 13 Oct 2020 20:25:00 -0700 Subject: Updated shader resource layout tests to work on Metal --- Graphics/GraphicsEngineMetal/interface/BufferViewMtl.h | 1 + Graphics/GraphicsEngineMetal/interface/SamplerMtl.h | 1 + 2 files changed, 2 insertions(+) (limited to 'Graphics/GraphicsEngineMetal') 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 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 GetMtlSampler() = 0; }; } // namespace Diligent -- cgit v1.2.3