layers: Add DrawState checks for dynamically set Viewport and Scissors
authorTobin Ehlis <tobin@lunarg.com>
Fri, 2 Oct 2015 17:00:56 +0000 (11:00 -0600)
committerTobin Ehlis <tobin@lunarg.com>
Fri, 2 Oct 2015 17:15:24 +0000 (11:15 -0600)
commit8fa56504dd06f972664c220f0f8f7babba005108
tree0af1f54cfbb492cfb56fd5c005f9d867380dee22
parentfb9d69f7f2abc785c7e019176dd0febbfb02737f
layers: Add DrawState checks for dynamically set Viewport and Scissors

Make sure that counts from dynamically set viewport and/or scissors match the PSO counts.
Added tests to verify these cases.
layers/draw_state.cpp