commit | d3ffe215d6f6bb463b82d51dec7fe45b8affc85a | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Thu Dec 05 02:51:28 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 05 02:51:28 2024 +0000 |
tree | 22a71a767a4d6500501be53016257529f074f4b2 | |
parent | 279ff7f143a8944956b50a5877c8eeca4b735e37 [diff] |
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.