summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3DBase
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-01-26 06:15:30 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-01-26 06:15:30 +0000
commitd066eca3eb7d60701a3cd5dc9159136ba233902e (patch)
tree435510cde28558b799fef748fbd495442ed8b490 /Graphics/GraphicsEngineD3DBase
parentUpdated shader C interface; added test. (diff)
downloadDiligentCore-d066eca3eb7d60701a3cd5dc9159136ba233902e.tar.gz
DiligentCore-d066eca3eb7d60701a3cd5dc9159136ba233902e.zip
Reworked IShaderResourceVariable::GetResourceDesc() method to be compatible with C
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
-rw-r--r--Graphics/GraphicsEngineD3DBase/include/ShaderVariableD3DBase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineD3DBase/include/ShaderVariableD3DBase.h b/Graphics/GraphicsEngineD3DBase/include/ShaderVariableD3DBase.h
index d47150f4..3c566b20 100644
--- a/Graphics/GraphicsEngineD3DBase/include/ShaderVariableD3DBase.h
+++ b/Graphics/GraphicsEngineD3DBase/include/ShaderVariableD3DBase.h
@@ -65,9 +65,9 @@ struct ShaderVariableD3DBase : public ShaderVariableBase<TShaderResourceLayout,
return m_VariableType;
}
- virtual ShaderResourceDesc GetResourceDesc() const override final
+ virtual void GetResourceDesc(ShaderResourceDesc& ResourceDesc) const override final
{
- return GetHLSLResourceDesc();
+ ResourceDesc = GetHLSLResourceDesc();
}
virtual HLSLShaderResourceDesc GetHLSLResourceDesc() const override final