diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2015-11-03 09:26:25 -0700 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2015-11-03 14:35:55 -0700 |
| commit | 6b2df63bfe30e15bcc47b37b9ef8c184fb342020 (patch) | |
| tree | 3b7b99943c2964fced2649d3f68aa8576329c86e /layers/draw_state.cpp | |
| parent | d4bd6087b4b83fb0f3666efac484fdb440bda973 (diff) | |
| download | usermoji-6b2df63bfe30e15bcc47b37b9ef8c184fb342020.tar.xz | |
layers: Remove resetting of result value in DrawState
Diffstat (limited to 'layers/draw_state.cpp')
| -rwxr-xr-x | layers/draw_state.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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); } |
