dawn-cmake/generator/templates
Austin Eng f6eb890f4c Implement getBindGroupLayout
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>
2019-11-22 17:02:22 +00:00
..
dawn_native Remove the concept of "native_methods" in the generators 2019-11-22 14:02:52 +00:00
dawn_wire Remove the concept of "native_methods" in the generators 2019-11-22 14:02:52 +00:00
opengl Rename ContextLost to DeviceLost 2019-08-27 18:10:03 +00:00
dawn.h Remove the concept of "native_methods" in the generators 2019-11-22 14:02:52 +00:00
dawn_proc.c Remove the concept of "native_methods" in the generators 2019-11-22 14:02:52 +00:00
dawn_proc_table.h Remove the concept of "native_methods" in the generators 2019-11-22 14:02:52 +00:00
dawncpp.h Introduce the webgpu[_cpp].h headers. 2019-10-21 20:04:10 +00:00
mock_webgpu.cpp Remove the concept of "native_methods" in the generators 2019-11-22 14:02:52 +00:00
mock_webgpu.h Introduce a "callback" type in dawn.json 2019-11-22 13:18:22 +00:00
webgpu.h Remove the concept of "native_methods" in the generators 2019-11-22 14:02:52 +00:00
webgpu_cpp.cpp Remove the concept of "native_methods" in the generators 2019-11-22 14:02:52 +00:00
webgpu_cpp.h Implement getBindGroupLayout 2019-11-22 17:02:22 +00:00