commit | 3d2a692d6381fdf550d01d0665b32e6243f0fd5c | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Mon Sep 23 16:34:17 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Sep 23 16:34:17 2024 +0000 |
tree | d650855ba1cdf6e3cd2aedea93054265814f5a6a | |
parent | 7ffe38a01f090285825115b06a6f5933f2e1a35c [diff] |
[glsl][ir] Polyfill `fma`. The `fma` instruction exists in GLSL 4.00, but not ES 3.10. So, create an emulated version which we use in both cases for consistency. Bug: 42251044 Change-Id: I9f158d29cdb252e61bb7d8c102cfa61a06a0b427 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/207754 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.