| commit | afc9c139de7ea3a911171da83ac6922a0089fe34 | [log] [tgz] |
|---|---|---|
| author | Jiawei Shao <jiawei.shao@intel.com> | Sun Dec 15 20:53:11 2024 -0800 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sun Dec 15 20:53:11 2024 -0800 |
| tree | d76c466d4f4cd5da5cbc2ef42fd89b454bcc6134 | |
| parent | ad54e957a81258f0bec879e1ff6fde0272f70099 [diff] |
D3D12: Hard-enable `D3D12SplitBufferTextureCopyForRowsPerImagePaddings` The toggle `D3D12SplitBufferTextureCopyForRowsPerImagePaddings` doesn't need to be defined as the code path it controlled before should always be executed. It is because: 1. In D3D12, the concept of `bufferLocation` specifies how to treat a region of a buffer as a texture. In buffer-texture copies `rowsPerImage` is used as the height of the `bufferLocation`, so if the buffer is not large enough to hold a complete `rowsPerImage` D3D12 debug layer will generate an error that the buffer is not large enough to hold a complete `bufferLocation`, which fully meets the concept in D3D12 and cannot say it a `bug` of D3D12 runtime. 2. Although `UnrestrictedBufferTextureCopyPitchSupported` has been used in Dawn we still need to split a buffer-texture copy into two in some certain situations because of (1). Bug: 42240278 Change-Id: I83981d92057b79661aa39ede66a611329b7cf8a4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/218915 Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Loko Kung <lokokung@google.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.