summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D12
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-01-14 01:38:41 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-01-14 01:38:41 +0000
commit452d6fa894406be5a361d98455a1406ada7d7fb3 (patch)
tree2ef3ffd6b6a7ac407dc0119960d4a1b3ec99be79 /Graphics/GraphicsEngineD3D12
parentFixed bug in ShaderResourceLayoutD3D12::D3D12Resource::IsBound() (diff)
downloadDiligentCore-452d6fa894406be5a361d98455a1406ada7d7fb3.tar.gz
DiligentCore-452d6fa894406be5a361d98455a1406ada7d7fb3.zip
Fixed error messages about missing resources
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
-rw-r--r--Graphics/GraphicsEngineD3D12/src/ShaderVariableD3D12.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3D12/src/ShaderVariableD3D12.cpp b/Graphics/GraphicsEngineD3D12/src/ShaderVariableD3D12.cpp
index f112c388..35bd4d81 100644
--- a/Graphics/GraphicsEngineD3D12/src/ShaderVariableD3D12.cpp
+++ b/Graphics/GraphicsEngineD3D12/src/ShaderVariableD3D12.cpp
@@ -196,7 +196,7 @@ void ShaderVariableManagerD3D12::BindResources( IResourceMapping* pResourceMappi
else
{
if( (Flags & BIND_SHADER_RESOURCES_VERIFY_ALL_RESOLVED) && !Res.IsBound(ArrInd, *m_pResourceCache) )
- LOG_ERROR_MESSAGE( "Cannot bind resource to shader variable \"", Res.Attribs.GetPrintName(ArrInd), "\": resource view not found in the resource mapping" );
+ LOG_ERROR_MESSAGE( "Unable to bind resource to shader variable '", Res.Attribs.GetPrintName(ArrInd), "': resource is not found in the resource mapping" );
}
}
}