commit | fa26e66259d7f4f98d73acd718cccb894743a437 | [log] [tgz] |
---|---|---|
author | Brian Salomon <bsalomon@google.com> | Mon Nov 14 11:27:00 2016 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Nov 14 17:08:16 2016 +0000 |
tree | 449277ea92ee30ae5c4bc6f7a76e618ed6e10089 | |
parent | 4f3985c636542e46fedddf736401d74c70ba7384 [diff] |
Remove static asserts for GrSLType and GrVertexAttribType enum values. Replaces with switch statements that will produce a compiler warning if a type is added and helper functions are not updated. This also removes several unused helper functions for these enum types. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4486 Change-Id: Iee6d8e5095dc4ba2488a8928bf60f8e903cd3320 Reviewed-on: https://skia-review.googlesource.com/4486 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>