aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Barbour <tony@LunarG.com>2016-04-04 10:59:56 -0600
committerTony Barbour <tony@LunarG.com>2016-04-04 11:11:01 -0600
commit208a9fdc513c93446afb3e83ce9ab4e2568dc691 (patch)
treedbadc9bd0dc8c5047507cf3745b058ce7f0051c3
parent6e16922f1c9273de0c0a6c6649df1d085a11b1dc (diff)
downloadusermoji-208a9fdc513c93446afb3e83ce9ab4e2568dc691.tar.xz
Revert "layers: LX265 Error if color blend attch count != subpass attch."
This reverts commit dcce8143110568353a6217e5b885da407edd29be. Change-Id: I0882b499b38e3cf7670846a9ffae48a0fbf015a3
-rw-r--r--layers/core_validation.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index fcdce242..38ea1a1f 100644
--- a/layers/core_validation.cpp
+++ b/layers/core_validation.cpp
@@ -3362,14 +3362,6 @@ static VkBool32 validatePipelineState(layer_data *my_data, const GLOBAL_CB_NODE
VkSampleCountFlagBits subpassNumSamples = (VkSampleCountFlagBits)0;
uint32_t i;
- if (pPipeline->cbStateCI.attachmentCount != pSD->colorAttachmentCount) {
- skipCall |= log_msg(my_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT,
- reinterpret_cast<const uint64_t &>(pipeline), __LINE__, DRAWSTATE_INVALID_RENDERPASS, "DS",
- "Mismatch between blend state attachment count %u and subpass %u color attachment "
- "count %u! These must be the same.",
- pPipeline->cbStateCI.attachmentCount, pCB->activeSubpass, pSD->colorAttachmentCount);
- }
-
for (i = 0; i < pSD->colorAttachmentCount; i++) {
VkSampleCountFlagBits samples;