diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-03-13 06:37:55 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-03-13 06:37:55 +0000 |
| commit | f5b2514367eee624c0ee769b7ead9aaa607a80d8 (patch) | |
| tree | 3fc8777444232bd5fee606411ca0fdfd154a9518 /Graphics/GraphicsEngineD3DBase | |
| parent | HLSL2GLSL converter: fixed error when processing entry functions with no argu... (diff) | |
| download | DiligentCore-f5b2514367eee624c0ee769b7ead9aaa607a80d8.tar.gz DiligentCore-f5b2514367eee624c0ee769b7ead9aaa607a80d8.zip | |
Some minor updates
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
| -rw-r--r-- | Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp b/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp index 3d09b233..c3cce6aa 100644 --- a/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp +++ b/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp @@ -277,23 +277,23 @@ size_t ShaderResources::GetHash()const size_t hash = ComputeHash(GetNumCBs(), GetNumTexSRV(), GetNumTexUAV(), GetNumBufSRV(), GetNumBufUAV()); ProcessResources( nullptr, 0, - [&](const D3DShaderResourceAttribs &CB, Uint32 n) + [&](const D3DShaderResourceAttribs &CB, Uint32) { HashCombine(hash, CB); }, - [&](const D3DShaderResourceAttribs& TexSRV, Uint32 n) + [&](const D3DShaderResourceAttribs &TexSRV, Uint32) { HashCombine(hash, TexSRV); }, - [&](const D3DShaderResourceAttribs &TexUAV, Uint32 n) + [&](const D3DShaderResourceAttribs &TexUAV, Uint32) { HashCombine(hash, TexUAV); }, - [&](const D3DShaderResourceAttribs &BufSRV, Uint32 n) + [&](const D3DShaderResourceAttribs &BufSRV, Uint32) { HashCombine(hash, BufSRV); }, - [&](const D3DShaderResourceAttribs &BufUAV, Uint32 n) + [&](const D3DShaderResourceAttribs &BufUAV, Uint32) { HashCombine(hash, BufUAV); } |
