commit | baca3abd863c89dd9f646d9ccaa23e5fd42ed960 | [log] [tgz] |
---|---|---|
author | Tobin Ehlis <tobin@lunarg.com> | Tue Oct 27 12:54:50 2015 -0600 |
committer | Tobin Ehlis <tobin@lunarg.com> | Wed Oct 28 09:20:16 2015 -0600 |
tree | c7a0a14b81d9fdfe2d2a27515027e6088dd3526f | |
parent | a1f9b64c715d969077a9a20b6f0997cd24a04cd9 [diff] |
layers: Simplify descriptor validation in DrawState Many descriptor validation helper functions were returning skipCall based on the potential for a bad update structure type. However, at the beginning of update validation, we validate that the update type is ok. Therefore, the other helper functions don't need to continually repeat this check, and can be simplified to return relevant values directly.