commit | b7d43415b1ef5b9a6b3c26b74af5537684dbcbe0 | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Wed Nov 27 20:26:05 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 27 20:26:05 2024 +0000 |
tree | 65ba636817f2de47b207e5e291e65b7ea86911fa | |
parent | a50b2e52046756d6a9fd3df4954ceed582f63cba [diff] |
dawn/hlsl: revert dumping HLSL if compilation fails This CL effectively reverts https://dawn-review.googlesource.com/c/dawn/+/130460 Unfortunately, this change never actually worked since if `d3d::CompileShader` fails to compile, the output `compiledShader` would remain invalid, so attempting to dump its contents would not work. Furthermore, we would actually crash the GPU process because we were dereferencing `compiledShader` when it was still invalid. This CL reverts the original change, so if compilation fails, we don't crash, and we output the compilation error without dumping HLSL. I will follow up with a working implementation. Bug: 42240637 Bug: 381065163 Change-Id: I8d10980863f746bc886e3af4d1b0b26dfdb9671a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/216994 Commit-Queue: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Corentin Wallez <cwallez@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.