commit | 35d0e336f441b9571b1d132fa0e147a94fade145 | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Mon Nov 25 16:49:16 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Nov 25 16:49:16 2024 +0000 |
tree | 057c01e5161429bc95516f311ba00ed144e79e14 | |
parent | db77e264caaaf66a3f7c58889b75b703b21e9f47 [diff] |
HLSL: combine two maps into one in PixelLocalOptions Instead of two unorderd_maps that map a member index to the attachment index and texel format respectively, we now have a single map that maps the member index to a struct of both. This avoids having to ensure that both maps contain the same keys, which is not only simpler, but increases the chance that fuzzers will produce valid options. Bug: 380271246 Change-Id: Ic31bb31b19b455ef03996d44ff8f85f57ee91363 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/216154 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Antonio Maiorano <amaiorano@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.