You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for accessing most types of WGSL textures, both with
filtering
(sampler in fragment shader) and without (direct value loading). The
former
extends the existing `TextureSampleExpr` while the latter adds a new
`TextureLoadExpr`.
This change forces the `TextureSampleExpr` slot back into a CPU
constant. To dynamically switch between texture, use an array texture
with a `layer_index` expression instead.
Add a new `lut.rs` example showing how to use a `TextureLoadExpr` inside
the
Update pass to read a 2D array texture used as a look-up table (LUT).
0 commit comments