aboutsummaryrefslogtreecommitdiff
path: root/layers/draw_state.cpp
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2015-11-19 12:07:21 -0700
committerMark Lobodzinski <mark@lunarg.com>2015-11-19 12:07:21 -0700
commit2df3d941cef7419a3969c3d84b23514ad0e5386d (patch)
tree2921aa8ac01543b8456e0cf95eb09a60e19e0e52 /layers/draw_state.cpp
parent12adef9c34d5319006c9b1994f2c882da0137885 (diff)
downloadusermoji-2df3d941cef7419a3969c3d84b23514ad0e5386d.tar.xz
layers: LX205, fix BeginCommandBuffer log messages
Diffstat (limited to 'layers/draw_state.cpp')
-rw-r--r--layers/draw_state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp
index bf91fc2d..d0c84ead 100644
--- a/layers/draw_state.cpp
+++ b/layers/draw_state.cpp
@@ -2548,13 +2548,13 @@ VK_LAYER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkBeginCommandBuffer(VkCommandBuf
if (pBeginInfo->renderPass || pBeginInfo->framebuffer) {
// These should be NULL for a Primary CB
skipCall |= log_msg(dev_data->report_data, VK_DBG_REPORT_ERROR_BIT, VK_OBJECT_TYPE_COMMAND_BUFFER, 0, 0, DRAWSTATE_BEGIN_CB_INVALID_STATE, "DS",
- "vkAllocateCommandBuffers(): Primary Command Buffer (%p) may not specify framebuffer or renderpass parameters", (void*)commandBuffer);
+ "vkBeginCommandBuffer(): Primary Command Buffer (%p) may not specify framebuffer or renderpass parameters", (void*)commandBuffer);
}
} else {
if (!pBeginInfo->renderPass || !pBeginInfo->framebuffer) {
// These should NOT be null for an Secondary CB
skipCall |= log_msg(dev_data->report_data, VK_DBG_REPORT_ERROR_BIT, VK_OBJECT_TYPE_COMMAND_BUFFER, 0, 0, DRAWSTATE_BEGIN_CB_INVALID_STATE, "DS",
- "vkAllocateCommandBuffers(): Secondary Command Buffers (%p) must specify framebuffer and renderpass parameters", (void*)commandBuffer);
+ "vkBeginCommandBuffer(): Secondary Command Buffers (%p) must specify framebuffer and renderpass parameters", (void*)commandBuffer);
}
}
pCB->beginInfo = *pBeginInfo;