layers: GL127 GL128 fix duplicate in_use updates
authorTobin Ehlis <tobine@google.com>
Fri, 5 Feb 2016 00:10:09 +0000 (17:10 -0700)
committerTobin Ehlis <tobine@google.com>
Fri, 5 Feb 2016 18:12:59 +0000 (11:12 -0700)
commit0428dbc72c2f8140f2ec6634e9ee51d4ff7e7564
tree2a50216e606f2da6face5416e38273719cbd23dc
parentfe98066629b861ce98d9041b56744c68bbde083c
layers: GL127 GL128 fix duplicate in_use updates

Only increment in_use at vkQueueSubmit() time. Also only need to
check ONE_TIME_SUBMIT case at that time. We were duplicating some
checks incorrectly at vkCmdExecuteCommands() time.
layers/draw_state.cpp