Skip to content

Add extension for GLSL ES 3.1 bit functions #3714

Description

@kenrussell

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions