layers: MR143/GL85, Fix draw_state implicit command buffer reset
authorTobin Ehlis <tobine@google.com>
Tue, 19 Jan 2016 19:03:34 +0000 (12:03 -0700)
committerMark Lobodzinski <mark@lunarg.com>
Tue, 19 Jan 2016 20:44:51 +0000 (13:44 -0700)
commit557370e382d223e9f74d835d60d1a0e93450c572
tree890beb24f1ad985ccfdf5c660049c2ba3434fc7f
parenta5a167a32441683837d21a2dd506946fca6301c3
layers: MR143/GL85, Fix draw_state implicit command buffer reset

On vkBeginCommandBuffer an implicit reset occurred late and would overwrite the
beginInfo. Moved implicit reset earlier so that beginInfo is maintained
regardless of whether or not implicit reset is triggered.
Also removed some dead code from resetCB().
layers/draw_state.cpp