diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-09-07 11:04:49 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-09-08 09:21:49 -0600 |
| commit | de8cee535dc2d83e0fc0eda4418d7ba55e92d437 (patch) | |
| tree | 3a93f3f029b08c498a39df12692fa9a0bd46b743 /layers/core_validation.cpp | |
| parent | 930232f7a96a50495682c2d539a44c01fa7fd45b (diff) | |
| download | usermoji-de8cee535dc2d83e0fc0eda4418d7ba55e92d437.tar.xz | |
layers: Clarify in-use object error message
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 87eb690c..5d8ac64e 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; |
