aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorChris Forbes <chrisforbes@google.com>2016-10-03 15:28:49 +1300
committerChris Forbes <chrisforbes@google.com>2016-10-04 08:37:26 +1300
commit2afd521e6c35a5ef245935980f5c4222ae70ee2d (patch)
treec2835d4d3ab1949e7e4523b535056746357e01b1 /layers/core_validation.cpp
parent2e8f29b8ff580384a4b461b19d75a4cca6115845 (diff)
downloadusermoji-2afd521e6c35a5ef245935980f5c4222ae70ee2d.tar.xz
layers: Get rid of duplication of logic op test between PV and CV
Signed-off-by: Chris Forbes <chrisforbes@google.com>
Diffstat (limited to 'layers/core_validation.cpp')
-rw-r--r--layers/core_validation.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index abb5e2b9..755e2cd1 100644
--- a/layers/core_validation.cpp
+++ b/layers/core_validation.cpp
@@ -3367,14 +3367,6 @@ static bool verifyPipelineCreateState(layer_data *my_data, const VkDevice device
DRAWSTATE_DISABLED_LOGIC_OP, "DS",
"Invalid Pipeline CreateInfo: If logic operations feature not enabled, logicOpEnable must be VK_FALSE");
}
- if ((pPipeline->graphicsPipelineCI.pColorBlendState->logicOpEnable == VK_TRUE) &&
- ((pPipeline->graphicsPipelineCI.pColorBlendState->logicOp < VK_LOGIC_OP_CLEAR) ||
- (pPipeline->graphicsPipelineCI.pColorBlendState->logicOp > VK_LOGIC_OP_SET))) {
- skip_call |=
- log_msg(my_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, (VkDebugReportObjectTypeEXT)0, 0, __LINE__,
- DRAWSTATE_INVALID_LOGIC_OP, "DS",
- "Invalid Pipeline CreateInfo: If logicOpEnable is VK_TRUE, logicOp must be a valid VkLogicOp value");
- }
}
// Ensure the subpass index is valid. If not, then validate_and_capture_pipeline_shader_state