diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2017-04-13 14:25:39 -0600 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2017-04-22 20:04:39 -0600 |
| commit | 6dcc60d8c70b699aa9a80c9c808c1bdb20e8ef0f (patch) | |
| tree | 45ff1ddcac5697e1621770ef2071102011ff4cf2 /layers/core_validation.cpp | |
| parent | 6963d962ed442b108fa326d98de4390b6d8c5e4b (diff) | |
| download | usermoji-6dcc60d8c70b699aa9a80c9c808c1bdb20e8ef0f.tar.xz | |
layers: Change obj type conversion routine name
Change-Id: I3b4208ca3777ac46b2c5ab2839c268ed4381a2ac
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 560ea05b..15ca79ea 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -4305,8 +4305,8 @@ bool ValidImageBufferQueue(layer_data *dev_data, GLOBAL_CB_NODE *cb_node, const } if (!found) { - skip = log_msg(dev_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, GetDebugReportEnum[object->type], object->handle, - __LINE__, DRAWSTATE_INVALID_QUEUE_FAMILY, "DS", + skip = log_msg(dev_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, get_debug_report_enum[object->type], + object->handle, __LINE__, DRAWSTATE_INVALID_QUEUE_FAMILY, "DS", "vkQueueSubmit: Command buffer 0x%" PRIxLEAST64 " contains %s 0x%" PRIxLEAST64 " which was not created allowing concurrent access to this queue family %d.", reinterpret_cast<uint64_t>(cb_node->commandBuffer), object_string[object->type], object->handle, @@ -4621,7 +4621,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, GetDebugReportEnum[obj_struct.type], obj_struct.handle, + log_msg(dev_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, get_debug_report_enum[obj_struct.type], obj_struct.handle, __LINE__, error_code, "DS", "Cannot delete %s 0x%" PRIx64 " that is currently in use by a command buffer. %s", object_string[obj_struct.type], obj_struct.handle, validation_error_map[error_code]); } @@ -4642,7 +4642,7 @@ static bool PreCallValidateFreeMemory(layer_data *dev_data, VkDeviceMemory mem, static void PostCallRecordFreeMemory(layer_data *dev_data, VkDeviceMemory mem, DEVICE_MEM_INFO *mem_info, VK_OBJECT obj_struct) { // Clear mem binding for any bound objects for (auto obj : mem_info->obj_bindings) { - log_msg(dev_data->report_data, VK_DEBUG_REPORT_INFORMATION_BIT_EXT, GetDebugReportEnum[obj.type], obj.handle, __LINE__, + log_msg(dev_data->report_data, VK_DEBUG_REPORT_INFORMATION_BIT_EXT, get_debug_report_enum[obj.type], obj.handle, __LINE__, MEMTRACK_FREED_MEM_REF, "MEM", "VK Object 0x%" PRIxLEAST64 " still has a reference to mem obj 0x%" PRIxLEAST64, obj.handle, (uint64_t)mem_info->mem); switch (obj.type) { |
