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.