commit | a1f9b64c715d969077a9a20b6f0997cd24a04cd9 | [log] [tgz] |
---|---|---|
author | Tobin Ehlis <tobin@lunarg.com> | Tue Oct 27 12:25:35 2015 -0600 |
committer | Tobin Ehlis <tobin@lunarg.com> | Wed Oct 28 09:19:47 2015 -0600 |
tree | 744a61bf5bbab082659c87cc46067d7dcb1ec6a3 | |
parent | 41f0256c056e89bf5d39da78c04b5069f14e24f1 [diff] |
layers: Improve DrawState write descriptor update Validate that stageFlags are the same for a single write update. Validate that all sampler updates from a single write update are either immutable or non-immutable. Refactor update contents check to have a loop per switch case instead of switching for each loop iteration. Added two new validation errors: DRAWSTATE_DESCRIPTOR_STAGEFLAGS_MISMATCH DRAWSTATE_INCONSISTENT_IMMUTABLE_SAMPLER_UPDATE