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-18 23:10:11 +00:00
2020-09-18 23:10:11 +00:00
2020-09-09 22:44:57 +00:00
2020-09-18 23:10:11 +00:00
2020-09-18 23:10:11 +00:00
2020-01-10 13:28:18 +00:00
2020-01-10 13:28:18 +00:00
2020-09-09 00:08:38 +00:00
2020-09-09 00:08:38 +00:00
2020-01-10 13:28:18 +00:00
2020-01-10 13:28:18 +00:00
2020-09-18 10:31:40 +00:00
2020-06-19 21:39:23 +00:00
2020-09-18 10:31:40 +00:00
2020-09-22 11:04:45 +00:00
2020-07-14 22:20:35 +00:00
2020-09-22 11:04:45 +00:00
2020-09-09 00:08:38 +00:00
2020-04-10 19:04:42 +00:00
2020-04-30 15:58:28 +00:00
2020-06-11 18:58:26 +00:00
2019-10-29 18:40:12 +00:00
2020-09-02 00:21:08 +00:00
2020-09-01 08:08:57 +00:00
2020-09-17 19:58:40 +00:00
2019-10-30 00:20:03 +00:00
2019-10-30 00:20:03 +00:00
2020-09-16 19:03:18 +00:00
2020-08-13 20:25:39 +00:00
2020-08-13 20:25:39 +00:00
2020-09-09 00:08:38 +00:00
2020-08-13 20:25:39 +00:00
2020-09-17 19:07:00 +00:00
2020-09-17 19:07:00 +00:00
2020-09-09 00:08:38 +00:00
2020-07-17 09:02:46 +00:00
2020-08-13 20:25:39 +00:00
2020-09-17 19:07:00 +00:00
2020-09-02 18:50:09 +00:00
2020-09-01 18:40:18 +00:00
2020-07-01 10:48:16 +00:00
2020-07-01 10:48:16 +00:00
2020-08-28 14:26:00 +00:00
2020-09-02 15:57:39 +00:00
2020-05-06 07:12:48 +00:00
2020-08-06 17:00:29 +00:00
2020-09-03 18:39:37 +00:00
2020-08-20 14:22:29 +00:00
2020-08-20 11:25:49 +00:00
2020-08-20 11:25:49 +00:00
2020-04-01 12:07:43 +00:00
2020-04-01 12:07:43 +00:00
2020-08-06 17:00:29 +00:00
2020-07-30 15:25:37 +00:00
2020-06-16 17:53:38 +00:00
2020-06-16 17:53:38 +00:00
2020-04-01 12:07:43 +00:00
2020-04-01 12:07:43 +00:00
2020-01-06 19:56:17 +00:00
2020-01-06 19:56:17 +00:00
2020-05-11 20:26:12 +00:00
2020-05-11 20:26:12 +00:00
2020-06-04 02:26:46 +00:00
2020-04-20 17:36:22 +00:00
2020-06-08 12:18:21 +00:00
2020-06-08 12:18:21 +00:00
2020-02-06 00:56:35 +00:00
2020-04-06 18:20:02 +00:00
2020-06-04 02:26:46 +00:00
2020-04-20 17:36:22 +00:00
2020-09-10 08:48:57 +00:00
2020-09-02 18:50:09 +00:00
2020-06-11 00:34:14 +00:00
2020-07-29 19:44:41 +00:00
2020-07-29 19:44:41 +00:00
2020-09-17 19:07:00 +00:00
2020-08-20 14:22:29 +00:00
2020-08-20 14:22:29 +00:00
2020-04-06 18:20:02 +00:00
2020-04-20 17:36:22 +00:00
2020-07-01 10:48:16 +00:00
2020-08-06 17:00:29 +00:00
2020-05-04 17:10:49 +00:00
2019-10-23 11:57:41 +00:00
2019-10-23 11:57:41 +00:00
2020-09-09 22:51:37 +00:00
2020-09-09 22:51:37 +00:00
2020-09-22 11:04:45 +00:00
2020-09-02 15:57:39 +00:00
2020-08-17 17:47:15 +00:00
2020-08-17 17:47:15 +00:00
2020-09-18 10:31:40 +00:00
2020-04-22 00:55:43 +00:00
2020-07-13 18:21:03 +00:00
2020-07-13 18:21:03 +00:00
2020-09-02 18:50:09 +00:00
2020-08-20 13:29:39 +00:00
2019-11-13 17:00:37 +00:00
2020-04-06 18:20:02 +00:00
2020-04-08 16:04:32 +00:00
2020-04-08 16:04:32 +00:00
2020-09-17 19:07:00 +00:00
2020-08-27 01:13:35 +00:00
2020-07-01 10:48:16 +00:00
2020-07-01 10:48:16 +00:00
2020-09-17 19:07:00 +00:00
2020-09-17 19:07:00 +00:00
2020-07-10 18:19:38 +00:00
2019-10-30 00:19:43 +00:00
2020-07-10 18:19:38 +00:00
2020-03-09 15:53:19 +00:00
2020-04-16 09:51:26 +00:00
2020-07-10 18:19:38 +00:00
2020-04-20 23:43:20 +00:00
2020-04-20 23:43:20 +00:00
2020-09-18 10:31:40 +00:00
2020-09-17 19:58:40 +00:00
2020-09-09 22:47:07 +00:00
2020-09-09 22:47:07 +00:00
2020-07-10 18:19:38 +00:00
2020-07-10 18:19:38 +00:00
2020-01-15 13:14:12 +00:00
2020-07-06 18:50:00 +00:00
2020-04-20 17:36:22 +00:00
2020-06-15 18:26:12 +00:00
2020-06-15 18:26:12 +00:00
2020-09-02 18:50:09 +00:00
2020-08-13 14:38:48 +00:00
2020-06-11 00:34:14 +00:00
2020-09-03 18:39:37 +00:00
2020-09-03 18:39:37 +00:00