Open teoxoy opened 11 months ago
@teoxoy: I added links to #4879 for the relevant built-ins I'm adding there, but I'm not sure if this is what you want for this tracking issue. LMK if you want me to revert.
Added links for #5098.
Data packing and unpacking gained some new functions
Packing:
Unpacking:
bitcast
select
all
any
quantizeToF16
comparison
abs
: https://github.com/gfx-rs/wgpu/pull/4879min
: https://github.com/gfx-rs/wgpu/pull/5098max
: https://github.com/gfx-rs/wgpu/pull/5098clamp
saturate
: https://github.com/gfx-rs/wgpu/pull/4879trigonometry
cos
: https://github.com/gfx-rs/wgpu/pull/4879cosh
: https://github.com/gfx-rs/wgpu/pull/4879sin
: https://github.com/gfx-rs/wgpu/pull/4879sinh
: https://github.com/gfx-rs/wgpu/pull/4879tan
: https://github.com/gfx-rs/wgpu/pull/4879tanh
: https://github.com/gfx-rs/wgpu/pull/4879acos
: https://github.com/gfx-rs/wgpu/pull/4879acosh
: https://github.com/gfx-rs/wgpu/pull/4879asin
: https://github.com/gfx-rs/wgpu/pull/4879asinh
: https://github.com/gfx-rs/wgpu/pull/4879atan
: https://github.com/gfx-rs/wgpu/pull/4879atanh
: https://github.com/gfx-rs/wgpu/pull/4879atan2
radians
: https://github.com/gfx-rs/wgpu/pull/5098degrees
: https://github.com/gfx-rs/wgpu/pull/5098decomposition
ceil
: https://github.com/gfx-rs/wgpu/pull/5098floor
: https://github.com/gfx-rs/wgpu/pull/5098round
: https://github.com/gfx-rs/wgpu/pull/4879fract
: https://github.com/gfx-rs/wgpu/pull/5098trunc
: https://github.com/gfx-rs/wgpu/pull/5098modf
frexp
ldexp
exponent
exp
: https://github.com/gfx-rs/wgpu/pull/5098exp2
: https://github.com/gfx-rs/wgpu/pull/5098log
: https://github.com/gfx-rs/wgpu/pull/5098log2
: https://github.com/gfx-rs/wgpu/pull/5098pow
geometry
dot
cross
distance
length
normalize
faceForward
reflect
refract
computational
sign
: https://github.com/gfx-rs/wgpu/pull/5098fma
: https://github.com/gfx-rs/wgpu/pull/5098mix
step
: https://github.com/gfx-rs/wgpu/pull/4879smoothstep
sqrt
: https://github.com/gfx-rs/wgpu/pull/4879inverseSqrt
: https://github.com/gfx-rs/wgpu/pull/5098transpose
determinant
bits
countTrailingZeros
: https://github.com/gfx-rs/wgpu/pull/5098countLeadingZeros
: https://github.com/gfx-rs/wgpu/pull/5098countOneBits
: https://github.com/gfx-rs/wgpu/pull/5098reverseBits
: https://github.com/gfx-rs/wgpu/pull/5098extractBits
insertBits
firstTrailingBit
: https://github.com/gfx-rs/wgpu/pull/5101firstLeadingBit
: https://github.com/gfx-rs/wgpu/pull/5101data packing
pack4x8snorm
pack4x8unorm
pack2x16snorm
pack2x16unorm
pack2x16float
data unpacking
unpack4x8snorm
unpack4x8unorm
unpack2x16snorm
unpack2x16unorm
unpack2x16float