commit | 68fbd4419d8589ac0bc81adc2633e470e74bb60c | [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 | 812c2434bba4852a6769f4fd9e2bb862cc8e9b22 | |
parent | 87c91403f2bdf7d7c8c15a9c9b065860fab19de7 [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