summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineMetal
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-03-06 05:37:35 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-03-06 05:37:35 +0000
commit75ceee9c24284c7c564e4c8f82069406184506e5 (patch)
treef6f6a56eb9a59604b72a9bce18f51a9b1df097ac /Graphics/GraphicsEngineMetal
parentKeep fixing metal backend (diff)
downloadDiligentCore-75ceee9c24284c7c564e4c8f82069406184506e5.tar.gz
DiligentCore-75ceee9c24284c7c564e4c8f82069406184506e5.zip
Keep fixing metal back-end
Diffstat (limited to 'Graphics/GraphicsEngineMetal')
-rw-r--r--Graphics/GraphicsEngineMetal/include/PipelineStateMtlImpl.h4
-rw-r--r--Graphics/GraphicsEngineMetal/include/ShaderMtlImpl.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/Graphics/GraphicsEngineMetal/include/PipelineStateMtlImpl.h b/Graphics/GraphicsEngineMetal/include/PipelineStateMtlImpl.h
index 49550369..94a3a943 100644
--- a/Graphics/GraphicsEngineMetal/include/PipelineStateMtlImpl.h
+++ b/Graphics/GraphicsEngineMetal/include/PipelineStateMtlImpl.h
@@ -65,13 +65,13 @@ public:
return 0;
}
- virtual IShaderResourceVariable* GetStaticShaderVariable(SHADER_TYPE ShaderType, const Char* Name) override final;
+ virtual IShaderResourceVariable* GetStaticShaderVariable(SHADER_TYPE ShaderType, const Char* Name) override final
{
LOG_ERROR_MESSAGE("PipelineStateMtlImpl::GetStaticShaderVariable() is not implemented");
return nullptr;
}
- virtual IShaderResourceVariable* GetStaticShaderVariable(SHADER_TYPE ShaderType, Uint32 Index) override final;
+ virtual IShaderResourceVariable* GetStaticShaderVariable(SHADER_TYPE ShaderType, Uint32 Index) override final
{
LOG_ERROR_MESSAGE("PipelineStateMtlImpl::GetStaticShaderVariable() is not implemented");
return nullptr;
diff --git a/Graphics/GraphicsEngineMetal/include/ShaderMtlImpl.h b/Graphics/GraphicsEngineMetal/include/ShaderMtlImpl.h
index 8b73035c..1752f59b 100644
--- a/Graphics/GraphicsEngineMetal/include/ShaderMtlImpl.h
+++ b/Graphics/GraphicsEngineMetal/include/ShaderMtlImpl.h
@@ -58,7 +58,7 @@ public:
virtual ShaderResourceDesc GetResource(Uint32 Index)const override final
{
LOG_ERROR_MESSAGE("ShaderMtlImpl::GetResource() is not implemented");
- return nullptr;
+ return ShaderResourceDesc{};
}
private: