summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineVulkan
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-11-24 18:41:24 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-11-24 18:41:24 +0000
commit2781cb9c787348318b090012a79650870ce3ec4b (patch)
treecc82a4dcc601a2a91b89875b78fbdffeb5b24a3c /Graphics/GraphicsEngineVulkan
parentSome minor updates to formatting of debug messages (diff)
downloadDiligentCore-2781cb9c787348318b090012a79650870ce3ec4b.tar.gz
DiligentCore-2781cb9c787348318b090012a79650870ce3ec4b.zip
Updated debug message about required shader resource binding object
Diffstat (limited to 'Graphics/GraphicsEngineVulkan')
-rw-r--r--Graphics/GraphicsEngineVulkan/src/PipelineStateVkImpl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineVulkan/src/PipelineStateVkImpl.cpp b/Graphics/GraphicsEngineVulkan/src/PipelineStateVkImpl.cpp
index 2761b011..757151fd 100644
--- a/Graphics/GraphicsEngineVulkan/src/PipelineStateVkImpl.cpp
+++ b/Graphics/GraphicsEngineVulkan/src/PipelineStateVkImpl.cpp
@@ -517,7 +517,8 @@ void PipelineStateVkImpl::CommitAndTransitionShaderResources(IShaderResourceBind
#ifdef DEVELOPMENT
if (pShaderResourceBinding == nullptr)
{
- LOG_ERROR_MESSAGE("Pipeline state '", m_Desc.Name, "' requires shader resource binding object to commit its resources, but none is provided.");
+ LOG_ERROR_MESSAGE("Pipeline state '", m_Desc.Name, "' requires shader resource binding object to ",
+ (CommitResources ? "commit" : "transition"), " resources, but none is provided.");
return;
}
#endif