summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3DBase
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-03-07 05:08:33 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-03-07 05:08:33 +0000
commit823e273c26321f5b4f7698fa964617bdc125b027 (patch)
treefacee749531d9e1661a4b96f6c17bb363bb659d6 /Graphics/GraphicsEngineD3DBase
parentMade engine factory interfaces derived from IObject (fixed https://github.com... (diff)
downloadDiligentCore-823e273c26321f5b4f7698fa964617bdc125b027.tar.gz
DiligentCore-823e273c26321f5b4f7698fa964617bdc125b027.zip
Fixed minor issue with ShaderResources::GetShaderResourceDesc() function in D3D backend
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
-rw-r--r--Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp b/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp
index c52b2cee..df4122a4 100644
--- a/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp
+++ b/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp
@@ -343,7 +343,7 @@ ShaderResourceDesc ShaderResources::GetShaderResourceDesc(Uint32 Index)const
ShaderResourceDesc ResourceDesc;
if (Index < m_TotalResources)
{
- const auto& Res = GetResAttribs(Index, 0, m_TotalResources);
+ const auto& Res = GetResAttribs(Index, m_TotalResources, 0);
ResourceDesc.Name = Res.Name;
ResourceDesc.ArraySize = Res.BindCount;
switch(Res.GetInputType())