Allow WebGPU command allocation up to transfer buffer size
This patch allows WebGPU to allocate command space up to the transfer buffer size instead of being limited to the initial starting transfer buffer size. This patch also creates SharedMemoryLimits::ForWebGPUContext(). Because WebGPU sends the majority of its commands via the transfer buffer, it is preferrable to have a larger minimum transfer buffer size and smaller command buffer. Change-Id: I31bb74dfb1075a2b6f159985b297695d57e71ed3 Bug: 877147 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1559455 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by:Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#649744}
Showing
Please register or sign in to comment