From af990f312d59ca2c7b6677196245bbf8dbcb651d Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Sun, 12 Jul 2015 15:22:31 -0600 Subject: v131?: Remove ColorBlendAttachments->format --- layers/param_checker.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp index 75b3142d..49cab99b 100644 --- a/layers/param_checker.cpp +++ b/layers/param_checker.cpp @@ -4687,13 +4687,6 @@ bool PreCreateGraphicsPipeline( "vkCreateGraphicsPipeline parameter, const VkPipelineCbAttachmentState* pCreateInfo->pCbState->pAttachments, is null pointer"); return false; } - if(pCreateInfo->pColorBlendState->pAttachments->format < VK_FORMAT_BEGIN_RANGE || - pCreateInfo->pColorBlendState->pAttachments->format > VK_FORMAT_END_RANGE) - { - log_msg(mdd(device), VK_DBG_REPORT_ERROR_BIT, (VkDbgObjectType)0, 0, 0, 1, "PARAMCHECK", - "vkCreateGraphicsPipeline parameter, VkFormat pCreateInfo->pCbState->pAttachments->format, is unrecognized enumerator"); - return false; - } if(pCreateInfo->pColorBlendState->pAttachments->srcBlendColor < VK_BLEND_BEGIN_RANGE || pCreateInfo->pColorBlendState->pAttachments->srcBlendColor > VK_BLEND_END_RANGE) { @@ -5079,13 +5072,6 @@ bool PreCreateGraphicsPipelineDerivative( "vkCreateGraphicsPipelineDerivative parameter, const VkPipelineCbAttachmentState* pCreateInfo->pCbState->pAttachments, is null pointer"); return false; } - if(pCreateInfo->pColorBlendState->pAttachments->format < VK_FORMAT_BEGIN_RANGE || - pCreateInfo->pColorBlendState->pAttachments->format > VK_FORMAT_END_RANGE) - { - log_msg(mdd(device), VK_DBG_REPORT_ERROR_BIT, (VkDbgObjectType)0, 0, 0, 1, "PARAMCHECK", - "vkCreateGraphicsPipelineDerivative parameter, VkFormat pCreateInfo->pCbState->pAttachments->format, is unrecognized enumerator"); - return false; - } if(pCreateInfo->pColorBlendState->pAttachments->srcBlendColor < VK_BLEND_BEGIN_RANGE || pCreateInfo->pColorBlendState->pAttachments->srcBlendColor > VK_BLEND_END_RANGE) { -- cgit v1.2.3