diff options
Diffstat (limited to 'layers/param_checker.cpp')
| -rw-r--r-- | layers/param_checker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp index 7fd81daa..fcced6a2 100644 --- a/layers/param_checker.cpp +++ b/layers/param_checker.cpp @@ -4350,7 +4350,7 @@ bool PreCreateGraphicsPipelines( "vkCreateGraphicsPipelines parameter, VkLogicOp pCreateInfos->pColorBlendState->logicOp, is an unrecognized enumerator"); return false; } - if(pCreateInfos->pColorBlendState->pAttachments != nullptr) + if(pCreateInfos->pColorBlendState->pAttachments != nullptr && pCreateInfos->pColorBlendState->pAttachments->blendEnable == VK_TRUE) { if(pCreateInfos->pColorBlendState->pAttachments->srcBlendColor < VK_BLEND_BEGIN_RANGE || pCreateInfos->pColorBlendState->pAttachments->srcBlendColor > VK_BLEND_END_RANGE) |
