commit | b61bbdc8690f2b61e5a81f6852d04c78b1b23936 | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Wed Jan 17 22:01:20 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 17 22:01:20 2024 +0000 |
tree | 79d499f03158fb7942d32a97554a832e795fc5f5 | |
parent | 37bf6cf5d6c9e6faec26d6d7a833d7365add14aa [diff] |
DXC: assert if a flag is unhandled This avoids issues such as the one I recently fixed, where we were setting D3DCOMPILE_SKIP_OPTIMIZATION, but this wasn't being handled in the backend. Also, since DXC's default opt level is /O3, but we are using the FXC macros, where the default is /O1, make sure to explicitly set /O3 when using DXC. This ensures that we _can_ use /O1 in the future by setting D3DCOMPILE_OPTIMIZATION_LEVEL1. Change-Id: I6c6f3fae22a96fb148f6ca92229d8b6a4c9bac81 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/170040 Commit-Queue: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@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.