commit | 99ea749195aeb61caec21b503a3848bd695be351 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Tue Jan 21 21:17:39 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 21 21:17:39 2025 -0800 |
tree | fb456d24d954363175f6c8b662feb5dbd49d637b | |
parent | fe1a3b8c65ed3982aefdc83b270a380d884f2c0f [diff] |
D3D12: Support feature `BufferMapExtendedUsages` on cache-coherent UMA This patch implements Dawn-specific feature `BufferMapExtendedUsages` on the platforms where both `isUMA` and `isCacheCoherentUMA` are true (e.g. all Intel GPUs with newer D3D12 drivers). When `BufferMapExtendedUsages` is enabled on such platforms, the buffers with `MapWrite` or `MapRead` usage will be allocated with custom heap type and CPU page property `D3D12_CPU_PAGE_PROPERTY_WRITE_BACK` so that they can be both visible to CPU and valid to all other usages. Bug: 386255678 Test: dawn_end2end_tests Change-Id: I55bd73e051bdfc95a9044cbead291e868dddaa18 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/220535 Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> 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.