summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-03-08 03:49:59 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-03-08 03:49:59 +0000
commit541560c6d8979d594ca383e432ae16e3be1872d5 (patch)
treea2e9e861c217994039838d4dd2d082d2b96a4438 /Graphics/GraphicsEngineVulkan
parentAdded IShaderD3D interface and HLSLShaderResourceDesc structure (diff)
downloadDiligentCore-541560c6d8979d594ca383e432ae16e3be1872d5.tar.gz
DiligentCore-541560c6d8979d594ca383e432ae16e3be1872d5.zip
Repalced IShaderResourceVariable::GetArraySize() and GetName() with GetResourceDesc()
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h b/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h
index abdd733f..b67fcf5e 100644
--- a/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h
+++ b/Graphics/GraphicsEngineVulkan/include/ShaderVariableVk.h
@@ -174,14 +174,9 @@ public:
m_Resource.BindResource(ppObjects[Elem], FirstElement + Elem, m_ParentManager.m_ResourceCache);
}
- virtual Uint32 GetArraySize()const override final
+ virtual ShaderResourceDesc GetResourceDesc()const override final
{
- return m_Resource.SpirvAttribs.ArraySize;
- }
-
- virtual const Char* GetName()const override final
- {
- return m_Resource.SpirvAttribs.Name;
+ return m_Resource.SpirvAttribs.GetResourceDesc();
}
virtual Uint32 GetIndex()const override final