aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2017-05-19 10:50:41 -0600
committerMark Lobodzinski <mark@lunarg.com>2017-05-19 11:41:15 -0600
commitdfddc39da5817da0bfb5634ae80c2337df357722 (patch)
tree822f93c2239458fa46c87d97dc6d6e495b7ce09e
parent9e4566e6b1a0981228ec2bb489fe54a583faf751 (diff)
downloadusermoji-dfddc39da5817da0bfb5634ae80c2337df357722.tar.xz
layers: GH1632, Remove excess pClearValues warning
Consensus was that this warning was not helpful enough to overcome the noise it caused. Removed the check from CV and the corresponding test. Change-Id: I03ad08b0911a810b2333273bf4594129efa5bae5
-rw-r--r--layers/core_validation.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index ea68017a..8b33c2d7 100644
--- a/layers/core_validation.cpp
+++ b/layers/core_validation.cpp
@@ -9126,16 +9126,6 @@ VKAPI_ATTR void VKAPI_CALL CmdBeginRenderPass(VkCommandBuffer commandBuffer, con
pRenderPassBegin->clearValueCount, clear_op_size, HandleToUint64(render_pass_state->renderPass), clear_op_size,
clear_op_size - 1, validation_error_map[VALIDATION_ERROR_00442]);
}
- if (clear_op_size < pRenderPassBegin->clearValueCount) {
- skip |= log_msg(
- dev_data->report_data, VK_DEBUG_REPORT_WARNING_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT,
- HandleToUint64(render_pass_state->renderPass), __LINE__, DRAWSTATE_RENDERPASS_TOO_MANY_CLEAR_VALUES, "DS",
- "In vkCmdBeginRenderPass() the VkRenderPassBeginInfo struct has a clearValueCount of %u but only first %u "
- "entries in pClearValues array are used. The highest index of any attachment in renderPass 0x%" PRIx64
- " that uses VK_ATTACHMENT_LOAD_OP_CLEAR is %u - other pClearValues are ignored.",
- pRenderPassBegin->clearValueCount, clear_op_size, HandleToUint64(render_pass_state->renderPass),
- clear_op_size - 1);
- }
skip |= VerifyRenderAreaBounds(dev_data, pRenderPassBegin);
skip |= VerifyFramebufferAndRenderPassLayouts(dev_data, cb_node, pRenderPassBegin,
GetFramebufferState(dev_data, pRenderPassBegin->framebuffer));