commit | c101627f1c648c2f189ae017e57082b43129504f | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Thu Aug 29 13:08:18 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 29 13:08:18 2024 +0000 |
tree | 0f740767db09dceebea95bd8b7a983c3675c958a | |
parent | db27b9960804dc6eef83fb9128b4ebe3c413c1a8 [diff] |
[glsl][ir] Emit `precision` in fragment shaders Fragment shaders require the precision modifier. This CL updates the GLSL IR backend to emit the needed global precision declarations when generating fragment shaders. Bug: 42251044 Change-Id: Id75ba4973d91eb4e98694626b047a4d171927f61 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/204337 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@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.