commit | 8256abd0e66830233a414378c793090047221e51 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Sat Sep 28 18:30:31 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Sep 28 18:30:31 2024 +0000 |
tree | c99cb7902b1759c23cdc8ab425229a1c5d8a8495 | |
parent | fc7d346f939f5abbaf6324aff78fbf3584a0b85b [diff] |
[glsl][ir] Fix types for GLSL builtins Several of the GLSL builtins are `i32` where in WGSL they are `u32`. This CL fixes the `var` creation to have the correct types so the subsequent bitcast calls do not get removed. Bug: 42251044 Change-Id: I51e4fe08cb7a0d41e75041b89756746a9a4649ff Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/208395 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: James Price <jrprice@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.