diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-10-18 07:31:22 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-10-18 07:31:22 -0600 |
| commit | b9deed059fe4a8d33911464268910822235098b2 (patch) | |
| tree | a5c841e465af0938e19ac47e2e36a422df374411 | |
| parent | 6bbe8811e98d1d0692e1ca3fc5ce0b4fcd4c39c8 (diff) | |
| download | usermoji-b9deed059fe4a8d33911464268910822235098b2.tar.xz | |
layers:Fix Val IDs msg calls for
Two CmdCopyImage checks were looking up the incorrect strings for their
error enums. Use the correct strings.
| -rw-r--r-- | layers/image.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layers/image.cpp b/layers/image.cpp index 2f822dff..383693d1 100644 --- a/layers/image.cpp +++ b/layers/image.cpp @@ -883,7 +883,7 @@ bool PreCallValidateCmdCopyImage(VkCommandBuffer command_buffer, VkImage src_ima skip |= log_msg(device_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT, reinterpret_cast<uint64_t &>(command_buffer), __LINE__, VALIDATION_ERROR_01175, "IMAGE", "%s. %s", - ss.str().c_str(), validation_error_map[VALIDATION_ERROR_01176]); + ss.str().c_str(), validation_error_map[VALIDATION_ERROR_01175]); } // The destination region specified by a given element of regions must be a region that is contained within dst_image @@ -930,7 +930,7 @@ bool PreCallValidateCmdCopyImage(VkCommandBuffer command_buffer, VkImage src_ima skip |= log_msg(device_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT, reinterpret_cast<uint64_t &>(command_buffer), __LINE__, VALIDATION_ERROR_01184, "IMAGE", "%s. %s", str, - validation_error_map[VALIDATION_ERROR_01176]); + validation_error_map[VALIDATION_ERROR_01184]); } } } |
