diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-04-26 16:06:50 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-04-26 16:06:50 +0000 |
| commit | 08ee98fe0b8e3692413d6a743e4080cc4cd40854 (patch) | |
| tree | c778eb63e09e7299062d85baa4355650da8f787e /Graphics/GraphicsEngineD3DBase | |
| parent | Working on SPIRV resource loading (diff) | |
| download | DiligentCore-08ee98fe0b8e3692413d6a743e4080cc4cd40854.tar.gz DiligentCore-08ee98fe0b8e3692413d6a743e4080cc4cd40854.zip | |
Fixed bug with clonning d3d shader resources
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
| -rw-r--r-- | Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp b/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp index c3cce6aa..1df20b18 100644 --- a/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp +++ b/Graphics/GraphicsEngineD3DBase/src/ShaderResources.cpp @@ -167,7 +167,7 @@ ShaderResources::ShaderResources(IMemoryAllocator &Allocator, #pragma warning(pop) Uint32 CurrCB = 0, CurrTexSRV = 0, CurrTexUAV = 0, CurrBufSRV = 0, CurrBufUAV = 0, CurrSampler = 0; - ProcessResources( + SrcResources.ProcessResources( AllowedVarTypes, NumAllowedTypes, [&](const D3DShaderResourceAttribs &CB, Uint32) |
