aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-07-12 15:22:31 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-07-17 10:05:21 -0600
commitaf990f312d59ca2c7b6677196245bbf8dbcb651d (patch)
tree349281e51099aba0f5eecb82cd28f4ee800a2b86
parent63bf9709e9cb42eb3f234d5fe641b9df20b424bf (diff)
downloadusermoji-af990f312d59ca2c7b6677196245bbf8dbcb651d.tar.xz
v131?: Remove ColorBlendAttachments->format
-rw-r--r--layers/param_checker.cpp14
1 files changed, 0 insertions, 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)
{