summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h b/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h
index b67fcf5e..65d5b05c 100644
--- a/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h
+++ b/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h
@@ -184,6 +184,11 @@ public:
return m_ParentManager.GetVariableIndex(*this);
}
+ virtual bool IsBound(Uint32 ArrayIndex) const override final
+ {
+ return m_Resource.IsBound(ArrayIndex, m_ParentManager.m_ResourceCache);
+ }
+
const ShaderResourceLayoutVk::VkResource& GetResource()const
{
return m_Resource;