dawn-cmake/generator
Corentin Wallez 45f9185de5 generator_lib.py: correctly handle lack of --jinja2-path.
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>
2019-09-18 00:59:40 +00:00
..
templates Remove indirection for vertexStage 2019-09-05 09:35:07 +00:00
dawn_generator.gni [generator_lib]: Make generator_lib.py easier to reuse. 2019-06-24 14:31:06 +00:00
dawn_json_generator.py Rename DeviceErrorCallback to ErrorCallback and add ErrorType arg 2019-08-27 21:41:56 +00:00
extract_json.py BUILD.gn: Remove use of exec_script 2018-08-20 07:24:55 -04:00
generator_lib.gni [generator_lib]: Make generator_lib.py easier to reuse. 2019-06-24 14:31:06 +00:00
generator_lib.py generator_lib.py: correctly handle lack of --jinja2-path. 2019-09-18 00:59:40 +00:00
opengl_loader_generator.py OpenGL: Support B2T and T2T copies with BC formats 2019-08-22 08:19:13 +00:00