45f9185de5
Python's list.index() method raises an exception when the item isn't present in the list. Fix this check that was instead expecting a negative index. BUG=dawn:225 Change-Id: I8e67d71ff7384f49533a95d5cbe04da1cf7bb0bc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/11301 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org> |
||
---|---|---|
.. | ||
templates | ||
dawn_generator.gni | ||
dawn_json_generator.py | ||
extract_json.py | ||
generator_lib.gni | ||
generator_lib.py | ||
opengl_loader_generator.py |