Skip to content
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

[meta] Constant evaluator built-in functions support #4507

Open
40 of 73 tasks
teoxoy opened this issue Oct 5, 2023 · 3 comments
Open
40 of 73 tasks

[meta] Constant evaluator built-in functions support #4507

teoxoy opened this issue Oct 5, 2023 · 3 comments
Labels
area: naga front-end area: naga processing Passes over IR in the middle lang: GLSL OpenGL Shading Language lang: WGSL WebGPU Shading Language naga Shader Translator

Comments

@teoxoy
Copy link
Member

teoxoy commented Oct 5, 2023

  • bitcast
  • select
  • all
  • any
  • quantizeToF16

comparison

trigonometry

decomposition

exponent

geometry

  • dot
  • cross
  • distance
  • length
  • normalize
  • faceForward
  • reflect
  • refract

computational

bits

data packing

  • pack4x8snorm
  • pack4x8unorm
  • pack2x16snorm
  • pack2x16unorm
  • pack2x16float

data unpacking

  • unpack4x8snorm
  • unpack4x8unorm
  • unpack2x16snorm
  • unpack2x16unorm
  • unpack2x16float
@teoxoy teoxoy added lang: WGSL WebGPU Shading Language area: naga front-end lang: GLSL OpenGL Shading Language area: naga processing Passes over IR in the middle labels Oct 5, 2023
@cwfitzgerald cwfitzgerald transferred this issue from gfx-rs/naga Oct 25, 2023
@cwfitzgerald cwfitzgerald added the naga Shader Translator label Oct 25, 2023
@teoxoy teoxoy added this to the WebGPU Specification V1 milestone Nov 3, 2023
@ErichDonGubler

This comment was marked as resolved.

@ErichDonGubler

This comment was marked as resolved.

@VlaDexa
Copy link
Contributor

VlaDexa commented Mar 21, 2024

Data packing and unpacking gained some new functions

Packing:

  • pack4xI8
  • pack4xI8

Unpacking:

  • unpack4xI8
  • unpack4xI8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: naga front-end area: naga processing Passes over IR in the middle lang: GLSL OpenGL Shading Language lang: WGSL WebGPU Shading Language naga Shader Translator
Projects
Status: In Progress
Development

No branches or pull requests

4 participants