diff options
author | Brian Salomon <bsalomon@google.com> | 2016-11-14 11:27:00 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-11-14 17:08:16 +0000 |
commit | fa26e66259d7f4f98d73acd718cccb894743a437 (patch) | |
tree | 449277ea92ee30ae5c4bc6f7a76e618ed6e10089 /gm/showmiplevels.cpp | |
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>
Diffstat (limited to 'gm/showmiplevels.cpp')
0 files changed, 0 insertions, 0 deletions