layers: Fix DrawState to correctly handle dynamic state from PSO and CmdSet* calls
authorTobin Ehlis <tobin@lunarg.com>
Thu, 1 Oct 2015 15:24:40 +0000 (09:24 -0600)
committerTobin Ehlis <tobin@lunarg.com>
Thu, 1 Oct 2015 16:11:10 +0000 (10:11 -0600)
commitcf76ad166e14c1bdc24aa2d9051d0a0e0c90ae86
treea3c6b94e41382b4d747d477c0ce7ae6e43b0e09f
parent8b772df4c35a66c543b52011821b4337ab4d599a
layers: Fix DrawState to correctly handle dynamic state from PSO and CmdSet* calls

Track which dynamic states are set via PSO and merge that with dynamic state set by CmdSet* cmds.

Updated viewport not set test to pass when scissor is flagged as missing. Currently scissor and viewport set together so scissor error masks viewport error.
layers/draw_state.cpp
layers/draw_state.h