f6eb890f4c
This patch makes the |layout| member of the Render|ComputePipelineDescriptor optional. If it is not provided, a default layout is created from the ShaderModules provided and used to replace the layout in the descriptor. Then, pipeline.GetBindGroupLayout may be called to get the existing, or the computed bind group layout. If no bind group layout exists at the provided index, an empty bind group layout is returned. Bug: dawn:276 Change-Id: I276ed0296a2f1f2d8131fa906a4aefe85d75b3a7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13741 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Jiawei Shao <jiawei.shao@intel.com> |
||
---|---|---|
.. | ||
templates | ||
BUILD.gn | ||
dawn_generator.gni | ||
dawn_json_generator.py | ||
extract_json.py | ||
generator_lib.gni | ||
generator_lib.py | ||
opengl_loader_generator.py | ||
remove_files.py |