layers: Validate draw commands appropriately inside/outside render pass
authorMark Lobodzinski <mark@lunarg.com>
Wed, 30 Sep 2015 22:19:16 +0000 (16:19 -0600)
committerMark Lobodzinski <mark@lunarg.com>
Thu, 1 Oct 2015 18:41:58 +0000 (12:41 -0600)
commita1eff8b7a2c3f045b25fc80ad957e6fd0d973c53
treec81d28fc413c6aa6639e789c6b6e5f94992584d9
parentcf76ad166e14c1bdc24aa2d9051d0a0e0c90ae86
layers: Validate draw commands appropriately inside/outside render pass

Updated DrawState layer and validation tests to check that all draw commands
are correctly called inside or outside (or either) of an active render pass.
layers/draw_state.cpp
layers/draw_state.h