Revert "layers: LX265 Error if color blend attch count != subpass attch."
authorTony Barbour <tony@LunarG.com>
Mon, 4 Apr 2016 16:59:56 +0000 (10:59 -0600)
committerTony Barbour <tony@LunarG.com>
Mon, 4 Apr 2016 17:11:01 +0000 (11:11 -0600)
This reverts commit dcce8143110568353a6217e5b885da407edd29be.

Change-Id: I0882b499b38e3cf7670846a9ffae48a0fbf015a3

layers/core_validation.cpp

index fcdce2425b2e0973040303905e643b00a80276bb..38ea1a1f96f66b77d8f9476a2e30598a2c620bfd 100644 (file)
@@ -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;