aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtneygo@google.com>2016-02-20 16:20:48 -0700
committerJon Ashburn <jon@lunarg.com>2016-02-26 10:22:52 -0700
commit5b3313c276fc6a02a5f1d7a4b7d83031945ceea9 (patch)
tree01e1721fc08048fd61998400baed737160a1d65d
parent4a54a90b2f2438455b07044004fe56f5fb65a421 (diff)
downloadusermoji-5b3313c276fc6a02a5f1d7a4b7d83031945ceea9.tar.xz
layers: Fix clang warning
-rw-r--r--layers/draw_state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp
index 5b0d0dbc..a2e00083 100644
--- a/layers/draw_state.cpp
+++ b/layers/draw_state.cpp
@@ -1899,8 +1899,8 @@ static VkBool32 verifyPipelineCreateState(layer_data* my_data, const VkDevice de
"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)) {
+ ((pPipeline->graphicsPipelineCI.pColorBlendState->logicOp < VK_LOGIC_OP_CLEAR) ||
+ (pPipeline->graphicsPipelineCI.pColorBlendState->logicOp > VK_LOGIC_OP_SET))) {
skipCall |= 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");