Austin Eng 6c6707021a Add Buffer::GetAllocatedSize()
Buffer allocations may need padding based on backend requirements.
GetAllocatedSize returns the size of the buffer actually allocated.

This CL also updates the backends to use GetAllocatedSize for buffer
clearing and barrier operations which should operate over the
entire allocated resource.

Bug: dawn:1011
Change-Id: Ic5233214414fa090725a4f50fff70d6e178494c3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/60701
Reviewed-by: Stephen White <senorblanco@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2021-08-05 15:26:58 +00:00
..
2021-08-05 15:26:58 +00:00
2021-08-05 15:26:58 +00:00
2021-08-05 15:26:58 +00:00
2021-08-05 15:26:58 +00:00
2021-08-05 15:26:58 +00:00
2021-06-04 22:23:56 +00:00
2021-06-04 22:23:56 +00:00
2021-06-04 22:23:56 +00:00
2021-08-05 15:26:58 +00:00
2021-08-05 15:26:58 +00:00
2020-12-08 16:32:34 +00:00
2021-06-04 22:23:56 +00:00
2021-06-04 22:23:56 +00:00
2021-07-21 08:59:09 +00:00
2021-02-19 18:31:02 +00:00
2021-02-19 18:17:22 +00:00
2021-02-19 18:17:22 +00:00
2020-04-20 17:36:22 +00:00
2021-06-07 18:23:52 +00:00
2021-06-04 22:23:56 +00:00
2021-04-01 20:46:42 +00:00
2021-06-30 11:17:16 +00:00
2021-06-04 22:23:56 +00:00