Skip to content

texture_and_sampler_let

Adds WGSL language support for binding textures and samplers to let declarations. A let declaration creates a named value that cannot be reassigned after it is created.

Check your device: WebGPU Capabilities Report.

More details: Developer Docs (MDN) Specification (W3C)

Overall Support

Percentage supporting this feature among reports tested for it.

76.44%
of browsers tested for this feature

Platform Support

PlatformSupport
Android88.16%
Chromium OS93.65%
iOS1.45%
Linux84.67%
Mac OS63.82%
Windows86.96%

Browser Support

BrowserSupport
Chrome/Chromium92.33%
Edge97.31%
Firefox0.21%
Opera97.96%
Other27.57%
Safari1%
Samsung Internet9.86%

Vendor Support

VendorSupport
0x10de100%
0x8086100%
adreno0%
amd97.61%
apple47.45%
arm92.93%
google100%
huawei0%
img-tec98.6%
intel97.04%
intelr0%
microsoft100%
nvidia97.33%
qualcomm89.28%
samsung100%

Vendor Architecture Support

Vendor - ArchitectureSupport
amd - gcn-496.22%
amd - gcn-597.52%
amd - rdna-198.45%
amd - rdna-298.61%
amd - rdna-399.25%
apple - apple0%
apple - metal-399.1%
arm - bifrost90.77%
arm - valhall94.6%
intel - gen-1195.53%
intel - gen-12lp97.48%
intel - gen-890.45%
intel - gen-996.91%
intel - xe-2lpg100%
intel - xe-lpg98.67%
nvidia - ampere97.15%
nvidia - blackwell98.71%
nvidia - kepler92.86%
nvidia - lovelace97.92%
nvidia - maxwell96.59%
nvidia - pascal96.6%
nvidia - turing97.27%
qualcomm - adreno-6xx88.54%
qualcomm - adreno-7xx90.83%
qualcomm - adreno-8xx88.55%