commit | 0f6f57784ad4240721efb83053b52244ac0153df | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Tue Jan 16 16:01:25 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 16 16:01:25 2024 +0000 |
tree | d1edfded3fdb2aa96cf9aeaeb632b0e6a83ceae9 | |
parent | eed2866138e78f80db13ac125d939a3d08004d97 [diff] |
Fix DXC shader source not showing up in PIX Unlike FXC, DXC does not embed debug ingo in the shader object by default. We must enable this via "/Qembed_debug". Although not required, we also make sure to handle D3DCOMPILE_SKIP_OPTIMIZATION by passing in "/Od", as this flag is also enabled along with D3DCOMPILE_DEBUG when "emit_hlsl_debug_symbols" is enabled. Note when DXC parses optimization flags, /O[0-3[ and /Od, it will pick the very last one that's passed in, so we make sure to pass in /Od last. We should probably ensure that we only ever set one of these in Dawn to avoid confusion. Bug: dawn:2339 Change-Id: Icdfcd46a4360ac5ffa4ad31f36698897fbbba854 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/169761 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@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.