KhronosGroup / KhronosGroup/WebGL

Add extension for GLSL ES 3.1 bit functions

Open
#3,714 5 comments 2 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
2.9k
Forks
703
Avg merge
2d 9h
Merged PRs (30d)
4

Description

Per the WebGL working group conference call of 2025-02-06 and #3704 it was agreed to add an extension for the math operations added in GLSL ES 3.1:

* Integer Functions
* `bitfieldExtract` and `bitfieldInsert`
* `bitfieldReverse`
* `bitCount`
* `findLSB` and `findMSB`
* `uaddCarry` and `usubBorrow`
* `umulExtended` and `imulExtended`
* Floating-Point Pack and Unpack Functions
* `[un]packUnorm4x8`
* `[un]packSnorm4x8`
* Common Functions
* `mix` with `genIType`/`genUType`/`genBType`
* `frexp` and `ldexp`

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by reading issue #3704 and the referenced 2025-02-06 WebGL working-group decision, then locate where WebGL extensions are specified in this repository. Done means the extension covers all listed GLSL ES 3.1 integer, pack/unpack, and common functions.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.