diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-03-06 05:37:35 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-03-06 05:37:35 +0000 |
| commit | 75ceee9c24284c7c564e4c8f82069406184506e5 (patch) | |
| tree | f6f6a56eb9a59604b72a9bce18f51a9b1df097ac /Graphics/GraphicsEngineMetal | |
| parent | Keep fixing metal backend (diff) | |
| download | DiligentCore-75ceee9c24284c7c564e4c8f82069406184506e5.tar.gz DiligentCore-75ceee9c24284c7c564e4c8f82069406184506e5.zip | |
Keep fixing metal back-end
Diffstat (limited to 'Graphics/GraphicsEngineMetal')
| -rw-r--r-- | Graphics/GraphicsEngineMetal/include/PipelineStateMtlImpl.h | 4 | ||||
| -rw-r--r-- | Graphics/GraphicsEngineMetal/include/ShaderMtlImpl.h | 2 |
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: |
