commit | be36fd04659c404c91e9f33138ee805a164b5398 | [log] [tgz] |
---|---|---|
author | Brandon Jones <bajones@chromium.org> | Tue Mar 25 12:19:02 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 25 12:19:02 2025 -0700 |
tree | 018e34d446a448bd99a5cb670316e0b0cf18a6b6 | |
parent | 0cf000cb9e4fec4d32f4d8509d1c3a9cd53e0453 [diff] |
[BitSet] Add/update bit search and count methods Part of a larger set of changes to update Dawn's BitSet implementation. Adds BitCount and ScanReverse, updates ScanForward. All methods have explicit implementations for 8, 16, 32, and 64 bit. Implementations are taken from ANGLE's mathutil.h Bug: 42241557 Change-Id: Ibf848534ba0608fd8730b9e2dc9ac6bf75557807 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/232674 Commit-Queue: Brandon Jones <bajones@chromium.org> Reviewed-by: Geoff Lang <geofflang@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.