summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineMetal
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-03-06 06:05:17 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-03-06 06:05:17 +0000
commit772ef0e6cfbb218814ad4e7d25dd94b697a6b4f3 (patch)
treecc60120d48012dc8cd45e27d5f39931bae751d0b /Graphics/GraphicsEngineMetal
parentKeep fixing metal back-end (diff)
downloadDiligentCore-772ef0e6cfbb218814ad4e7d25dd94b697a6b4f3.tar.gz
DiligentCore-772ef0e6cfbb218814ad4e7d25dd94b697a6b4f3.zip
Keep fixing Metal backend + few other minor changes
Diffstat (limited to 'Graphics/GraphicsEngineMetal')
-rw-r--r--Graphics/GraphicsEngineMetal/include/ShaderResourceBindingMtlImpl.h4
-rw-r--r--Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm1
2 files changed, 2 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineMetal/include/ShaderResourceBindingMtlImpl.h b/Graphics/GraphicsEngineMetal/include/ShaderResourceBindingMtlImpl.h
index 95642031..89431cee 100644
--- a/Graphics/GraphicsEngineMetal/include/ShaderResourceBindingMtlImpl.h
+++ b/Graphics/GraphicsEngineMetal/include/ShaderResourceBindingMtlImpl.h
@@ -50,11 +50,11 @@ public:
virtual void BindResources(Uint32 ShaderFlags, IResourceMapping* pResMapping, Uint32 Flags)override final;
- virtual IShaderVariable* GetVariable(SHADER_TYPE ShaderType, const char *Name)override final;
+ virtual IShaderResourceVariable* GetVariable(SHADER_TYPE ShaderType, const char *Name)override final;
virtual Uint32 GetVariableCount(SHADER_TYPE ShaderType) const override final;
- virtual IShaderVariable* GetVariable(SHADER_TYPE ShaderType, Uint32 Index)override final;
+ virtual IShaderResourceVariable* GetVariable(SHADER_TYPE ShaderType, Uint32 Index)override final;
virtual void InitializeStaticResources(const IPipelineState* pPipelineState)override final;
diff --git a/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm b/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm
index 93532ab0..c861002b 100644
--- a/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm
+++ b/Graphics/GraphicsEngineMetal/src/DeviceContextMtlImpl.mm
@@ -30,7 +30,6 @@
#include "PipelineStateMtlImpl.h"
#include "SwapChainMtl.h"
#include "ShaderResourceBindingMtlImpl.h"
-#include "EngineMtlAttribs.h"
#include "CommandListMtlImpl.h"
#include "RenderDeviceMtlImpl.h"
#include "FenceMtlImpl.h"