From 2781cb9c787348318b090012a79650870ce3ec4b Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sat, 24 Nov 2018 10:41:24 -0800 Subject: Updated debug message about required shader resource binding object --- Graphics/GraphicsEngineVulkan/src/PipelineStateVkImpl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineVulkan') 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 -- cgit v1.2.3