commit | e78090ef062d456b2c1bf7406d77542dd208e343 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Tue Mar 05 15:07:40 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 05 15:07:40 2024 +0000 |
tree | 653b242a1895386a807707daba3b51fdc327ca59 | |
parent | 901fb74279ef117ac5a86727ea2409c763b83d4f [diff] |
dawn.node: Handle shaders containing a \0. They should be errors but instead the source was being truncated. Explicitly detect this case and generate an error shader module. This fixes the webgpu:shader,validation,parse,blankspace:null_characters:contains_null=true tests on dawn.node. Bug: None Change-Id: Ie6532b2a6d970d1a6e05535d63b242599ed0cf12 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/177662 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Ben Clayton <bclayton@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.