D3D12: Allow relaxed B2T copy pitch and offset alignment on 3D textures This patch implements the buffer-texture copy with relaxed copy pitch and offset alignment (not required to be a multiple of 512 or 256) on 3D textures when `UnrestrictedBufferTextureCopyPitchSupported` is true on the current D3D12 device so that we just need to implement such copy with at most two buffer-texture copies. Bug: chromium:381000081 Test: dawn_end2end_tests Change-Id: Id438da4ca209d742ae3243b53fc08c118fc82f46 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/216875 Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Dawn is an open-source and cross-platform implementation of the WebGPU standard. More precisely it implements webgpu.h that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h version that Dawn implements.webgpu.h.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.