commit | 6a9897bb6437e64ad6151f22be7ebecec8802f8d | [log] [tgz] |
---|---|---|
author | Le Hoang Quyen <lehoangquyen@chromium.org> | Tue Apr 08 09:00:03 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 08 09:00:03 2025 -0700 |
tree | 123087f2423175db3a2f240a9161b63baea784c0 | |
parent | 391d8302b60f7665fd092e8a6d323f73b70be317 [diff] |
D3D11: Only reset used UAV slots. Previously we reset all UAV slots from 0 to max used slot. However UAVs are bound starting from highest index and with decreasing indices. That means the beginning slots (from 0) might not be used at all. This CL adds code to keep track of min and max UAV slot. At the end of a compute/render pass, we will only reset [min, max] UAV slots. Bug: 42240704 Change-Id: I73049425cade43dc26923a6778cb329fc8565c41 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/235014 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Quyen Le <lehoangquyen@chromium.org>
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.