From f4cc4424ca6a7819cd8e9ed646d337b4a74ed7f3 Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Wed, 7 Sep 2016 11:04:49 -0600 Subject: [PATCH] layers: Clarify in-use object error message --- layers/core_validation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 87eb690..5d8ac64 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -5256,7 +5256,7 @@ bool ValidateObjectNotInUse(const layer_data *dev_data, BASE_NODE *obj_node, VK_ bool skip = false; if (obj_node->in_use.load()) { skip |= log_msg(dev_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, obj_struct.type, obj_struct.handle, __LINE__, - DRAWSTATE_OBJECT_INUSE, "DS", "Cannot delete %s 0x%" PRIx64 " which is in use by a command buffer.", + DRAWSTATE_OBJECT_INUSE, "DS", "Cannot delete %s 0x%" PRIx64 " that is currently in use by a command buffer.", object_type_to_string(obj_struct.type), obj_struct.handle); } return skip; -- 2.7.4