commit | c908e43a0890bded45ae548468d24cda7ba3fabe | [log] [tgz] |
---|---|---|
author | Le Hoang Quyen <lehoangquyen@chromium.org> | Wed May 21 01:11:15 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 21 01:11:15 2025 -0700 |
tree | d84df71815233087818254d3f5e493718a1ee341 | |
parent | e558b5d7b68f12c9ebdd8fb1ee2fce1a4f13d3c5 [diff] |
D3D11: ignore debug layer msg about BaseInstance+InstanceCount overflow Some clients use workarounds such as packing uniform data in a 32 bits BaseInstance value to avoid needing an uniform buffer. See https://source.chromium.org/chromium/chromium/src/+/main:third_party/skia/src/gpu/graphite/dawn/DawnResourceProvider.cpp;drc=d29622dea776ec762e8a69c8c65b87f8e9ee8908;l=398 for one example. The embedded data would cause BaseInstance + InstanceCount to overflow in some cases. This is not an error because the workarounds always use InstanceCount=1 and we never invoke any vertex shader at (BaseInstance + InstanceCount)-th instance. Bug: chromium:406269712 Change-Id: Ied4cc4dd712c6d5f7be1393a8fc09fccc8d90d9c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/243034 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Auto-Submit: 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.