-
Notifications
You must be signed in to change notification settings - Fork 671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow the use of builtin bit functions from ES 3.1 #3704
Comments
Yeah, this sounds pretty easy to add. |
FWIW, all math ops (integer as well as a few others) introduced in GLSL ES 3.10 are equally easy to add since they are already supported in the translator:
|
@lexaknyazev yeah probably best to pack as many functions as possible in one extension to avoid polluting the registry |
On 2025-02-06 the WebGL working group resolved to move forward with this extension. It will likely be scoped within the |
I'm working on a project where the bulk of work is traversing hierarchies of bitmasks in u32s and having the ability to use hardware instructions to find the LSB MSB and count the set bits would help a lot. Could we bring those functions from ES 3.1 (bitCount, findLSB, findMSB) as an extension to WebGL 2?
The text was updated successfully, but these errors were encountered: