5204053954
Struct member defined in dawn.json could have a 'length' attribute defines the length of the member if it is an array. In previous, the 'length' could only be 'strlen' or other variable which has 'uint32_t' types. It cannot support constant length. CopyTextureForBrowserOptions transfers conversion parameters and conversion matrix with a constant length. This CL adds this ability to meet such requirements. Bug: dawn:1140 Change-Id: I6eeabbc55cc3853fe15e33bdd44060b16f6096bf Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72580 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Shaobo Yan <shaobo.yan@intel.com> |
||
---|---|---|
.. | ||
templates | ||
BUILD.gn | ||
CMakeLists.txt | ||
dawn_generator.gni | ||
dawn_json_generator.py | ||
extract_json.py | ||
generator_lib.gni | ||
generator_lib.py | ||
opengl_loader_generator.py | ||
remove_files.py |