diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-03-08 03:49:59 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-03-08 03:49:59 +0000 |
| commit | 541560c6d8979d594ca383e432ae16e3be1872d5 (patch) | |
| tree | a2e9e861c217994039838d4dd2d082d2b96a4438 /Graphics/GraphicsEngineVulkan | |
| parent | Added IShaderD3D interface and HLSLShaderResourceDesc structure (diff) | |
| download | DiligentCore-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.h | 9 |
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 |
