aboutsummaryrefslogtreecommitdiff
path: root/layers/buffer_validation.cpp
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2018-02-26 16:09:11 -0700
committerMark Lobodzinski <mark@lunarg.com>2018-02-27 09:07:35 -0700
commit69d51f9ac4d57783cddbfddd31d64e2a5a0ccd81 (patch)
tree0c5097bb419bac7c7b5d4ed425e4558a588c1d7d /layers/buffer_validation.cpp
parent48b14787f07c4d9d8e6b162b64095f7882cdfaaa (diff)
downloadusermoji-69d51f9ac4d57783cddbfddd31d64e2a5a0ccd81.tar.xz
layers: Removed obsolete (and duplicate) VUIDs
Removed old source, tests, and database entries for checks 09c0012a and 09c00136 (VUID-VkImageCopy-srcSubresource-00149 and VUID-VkImageCopy-dstSubresource-00155) which were removed as part of gitlab issue #812. Change-Id: I8da71e2dc5b993a442ae1c4f6036266b59069a4f
Diffstat (limited to 'layers/buffer_validation.cpp')
-rw-r--r--layers/buffer_validation.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/layers/buffer_validation.cpp b/layers/buffer_validation.cpp
index 3c190d6b..8bb4fd44 100644
--- a/layers/buffer_validation.cpp
+++ b/layers/buffer_validation.cpp
@@ -1582,18 +1582,6 @@ bool ValidateImageCopyData(const layer_data *device_data, const debug_report_dat
}
}
- // TODO: this VU is redundant with VU01224. Gitlab issue 812 submitted to get it removed from the spec.
- if ((region.srcSubresource.baseArrayLayer >= src_state->createInfo.arrayLayers) ||
- (region.srcSubresource.baseArrayLayer + region.srcSubresource.layerCount > src_state->createInfo.arrayLayers)) {
- skip |= log_msg(report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT,
- HandleToUint64(src_state->image), __LINE__, VALIDATION_ERROR_09c0012a, "IMAGE",
- "vkCmdCopyImage(): pRegion[%d] srcSubresource.baseArrayLayer (%d) must be less than the source image's "
- "arrayLayers (%d), and the sum of baseArrayLayer and srcSubresource.layerCount (%d) must be less than "
- "or equal to the source image's arrayLayers. %s",
- i, region.srcSubresource.baseArrayLayer, src_state->createInfo.arrayLayers,
- region.srcSubresource.layerCount, validation_error_map[VALIDATION_ERROR_09c0012a]);
- }
-
// Checks that apply only to compressed images
if (FormatIsCompressed(src_state->createInfo.format)) {
const VkExtent3D block_size = FormatCompressedTexelBlockExtent(src_state->createInfo.format);
@@ -1706,18 +1694,6 @@ bool ValidateImageCopyData(const layer_data *device_data, const debug_report_dat
}
}
- // TODO: this VU is redundant with VU01224. Gitlab issue 812 submitted to get it removed from the spec.
- if ((region.dstSubresource.baseArrayLayer >= dst_state->createInfo.arrayLayers) ||
- (region.dstSubresource.baseArrayLayer + region.dstSubresource.layerCount > dst_state->createInfo.arrayLayers)) {
- skip |= log_msg(report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT,
- HandleToUint64(dst_state->image), __LINE__, VALIDATION_ERROR_09c00136, "IMAGE",
- "vkCmdCopyImage(): pRegion[%d] dstSubresource.baseArrayLayer (%d) must be less than the dest image's "
- "arrayLayers (%d), and the sum of baseArrayLayer and dstSubresource.layerCount (%d) must be less than "
- "or equal to the dest image's arrayLayers. %s",
- i, region.dstSubresource.baseArrayLayer, dst_state->createInfo.arrayLayers,
- region.dstSubresource.layerCount, validation_error_map[VALIDATION_ERROR_09c00136]);
- }
-
// Checks that apply only to compressed images
if (FormatIsCompressed(dst_state->createInfo.format)) {
const VkExtent3D block_size = FormatCompressedTexelBlockExtent(dst_state->createInfo.format);