From 6b2df63bfe30e15bcc47b37b9ef8c184fb342020 Mon Sep 17 00:00:00 2001 From: Mark Lobodzinski Date: Tue, 3 Nov 2015 09:26:25 -0700 Subject: layers: Remove resetting of result value in DrawState --- layers/draw_state.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'layers/draw_state.cpp') diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp index 46f0ba68..17bc4217 100755 --- a/layers/draw_state.cpp +++ b/layers/draw_state.cpp @@ -327,7 +327,6 @@ static VkBool32 validate_draw_state(layer_data* my_data, GLOBAL_CB_NODE* pCB, Vk // There is probably a better way to gate when this check happens, and to know if something *should* have been bound // We should have that check separately and then gate this check based on that check if (pPipe && (pCB->lastBoundPipelineLayout) && (pCB->lastBoundPipelineLayout != pPipe->graphicsPipelineCI.layout)) { - result = VK_FALSE; result |= log_msg(my_data->report_data, VK_DBG_REPORT_ERROR_BIT, VK_OBJECT_TYPE_PIPELINE_LAYOUT, (uint64_t) pCB->lastBoundPipelineLayout, 0, DRAWSTATE_PIPELINE_LAYOUT_MISMATCH, "DS", "Pipeline layout from last vkCmdBindDescriptorSets() (%#" PRIxLEAST64 ") does not match PSO Pipeline layout (%#" PRIxLEAST64 ") ", (uint64_t) pCB->lastBoundPipelineLayout, (uint64_t) pPipe->graphicsPipelineCI.layout); } -- cgit v1.2.3