Corentin Wallez aeda49ba50 Reuse BGL validation in default layout computations.
Instead of calling validation functions directly in
PipelineLayoutBase::CreateDefault, use ValidateBGLDesc and
ValidatePipelineLayoutDesc.

  Also makes the visibility of the default layout match the aggregation as
in the WebGPU spec.

  Also makes refcounting of BGLs a bit less manual at the bottom of
CreateDefault.

  Also adds tests for minBufferBindingSize and visiblity aggregation in
the default layout computations.

Bug: dawn:527
Change-Id: I6bbd5f3de8b235dddf6cbd2bedfd34a094fcb277
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/28560
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
2020-09-22 11:04:45 +00:00
..
2020-09-09 00:08:38 +00:00
2020-06-19 21:39:23 +00:00
2020-09-09 00:08:38 +00:00
2020-04-10 19:04:42 +00:00
2020-09-09 00:08:38 +00:00
2020-07-17 09:02:46 +00:00
2020-07-01 10:48:16 +00:00
2020-06-11 00:34:14 +00:00
2020-04-20 17:36:22 +00:00
2020-07-01 10:48:16 +00:00
2020-07-01 10:48:16 +00:00
2020-04-20 17:36:22 +00:00
2020-06-11 00:34:14 +00:00