From 208a9fdc513c93446afb3e83ce9ab4e2568dc691 Mon Sep 17 00:00:00 2001 From: Tony Barbour Date: Mon, 4 Apr 2016 10:59:56 -0600 Subject: Revert "layers: LX265 Error if color blend attch count != subpass attch." This reverts commit dcce8143110568353a6217e5b885da407edd29be. Change-Id: I0882b499b38e3cf7670846a9ffae48a0fbf015a3 --- layers/core_validation.cpp | 8 -------- 1 file changed, 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(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; -- cgit v1.2.3