summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h b/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h
index 716b62ac..43e47834 100644
--- a/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h
+++ b/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h
@@ -182,9 +182,9 @@ public:
m_Resource.BindResource(ppObjects[Elem], FirstElement + Elem, m_ParentManager.m_ResourceCache);
}
- virtual ShaderResourceDesc GetResourceDesc() const override final
+ virtual void GetResourceDesc(ShaderResourceDesc& ResourceDesc) const override final
{
- return m_Resource.SpirvAttribs.GetResourceDesc();
+ ResourceDesc = m_Resource.SpirvAttribs.GetResourceDesc();
}
virtual Uint32 GetIndex() const override final