dawn-cmake/src
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
..
common Enable -Wunused-but-set-variable. 2021-07-27 18:42:59 +00:00
dawn Add utilities for printing Dawn enums and bitmasks 2021-06-01 18:49:12 +00:00
dawn_native Add Buffer::GetAllocatedSize() 2021-08-05 15:26:58 +00:00
dawn_platform Implement AsyncWaitableEvent with std::condition_variable 2021-05-27 00:49:03 +00:00
dawn_wire Remove deprecated WireClient/Server handlers functions 2021-07-15 01:13:04 +00:00
fuzzers Enable use_tint_generator by default, disable shader_float16 2021-07-08 18:42:37 +00:00
include Clean remaining deprecated WireServer WriteHandle interface 2021-07-20 23:26:48 +00:00
tests Fix bind groups not being applied 2021-08-05 14:45:48 +00:00
utils Deprecate sampling depth textures with float/unfilterable-float 2021-07-27 22:08:32 +00:00
Dummy.cpp Add missed file for the CMake build. 2020-02-07 23:46:30 +00:00