layers: DrawState validation cases for BeginCommandBuffer
authorMark Lobodzinski <mark@lunarg.com>
Tue, 4 Aug 2015 22:24:20 +0000 (16:24 -0600)
committerMark Lobodzinski <mark@lunarg.com>
Tue, 4 Aug 2015 22:32:44 +0000 (16:32 -0600)
commit4192027f9395f9512bf39cf46a7abcaae9957f2e
tree2a48c722c921f0c6965b7de3d70b498ad71e2fce
parent4143efcf4bff17100e3f8fa180f392577905775c
layers: DrawState validation cases for BeginCommandBuffer

Framebuffer and Renderpass must be NULL for PRIMARY CBs, non-NULL
for SECONDARY command buffers. Test cases also added.
layers/draw_state.cpp
layers/draw_state.h