diff options
| author | Chris Forbes <chrisforbes@google.com> | 2017-09-15 11:07:53 -0700 |
|---|---|---|
| committer | Chris Forbes <chrisf@ijw.co.nz> | 2017-09-15 13:43:08 -0700 |
| commit | 6b59d465cdf6833ac14e3946287095778bdc7422 (patch) | |
| tree | bd22114eaf8754db4e0018ad7c0704663d24f6c2 /layers/core_validation.cpp | |
| parent | b93993eac00e379e5448b54af2a8af71f6983b66 (diff) | |
| download | usermoji-6b59d465cdf6833ac14e3946287095778bdc7422.tar.xz | |
layers: use VU for index buffer alignment check
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 8deb63b7..61d8d551 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -5686,9 +5686,10 @@ VKAPI_ATTR void VKAPI_CALL CmdBindIndexBuffer(VkCommandBuffer commandBuffer, VkB auto offset_align = GetIndexAlignment(indexType); if (offset % offset_align) { skip |= log_msg(dev_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT, - HandleToUint64(commandBuffer), __LINE__, DRAWSTATE_VTX_INDEX_ALIGNMENT_ERROR, "DS", - "vkCmdBindIndexBuffer() offset (0x%" PRIxLEAST64 ") does not fall on alignment (%s) boundary.", offset, - string_VkIndexType(indexType)); + HandleToUint64(commandBuffer), __LINE__, VALIDATION_ERROR_17e00360, "DS", + "vkCmdBindIndexBuffer() offset (0x%" PRIxLEAST64 ") does not fall on alignment (%s) boundary. %s", offset, + string_VkIndexType(indexType), + validation_error_map[VALIDATION_ERROR_17e00360]); } if (skip) |
