commit | c9de7ceb011108982a4a0c7963adea0852ab1be8 | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Wed May 28 13:23:24 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 28 13:23:24 2025 -0700 |
tree | 32f01d35c5a263068aa9d420a7950704579823a5 | |
parent | 1d3f4143ab82b174273a1be84168907beed8d141 [diff] |
Check result of HLSL generation when useTintIR When compiling a compute shader, if Generate fails, we'd end up crashing on accessing `result->workgroup_info`. Bug: 420743933 Change-Id: Ide64bf29abdbd160703424bdd37324f7dbb61f79 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/244156 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Reviewed-by: Ryan Harrison <rharrison@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.