diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-11-24 18:41:24 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-11-24 18:41:24 +0000 |
| commit | 2781cb9c787348318b090012a79650870ce3ec4b (patch) | |
| tree | cc82a4dcc601a2a91b89875b78fbdffeb5b24a3c /Graphics/GraphicsEngineVulkan | |
| parent | Some minor updates to formatting of debug messages (diff) | |
| download | DiligentCore-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.cpp | 3 |
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 |
