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.

78.81%
of browsers tested for this feature

Platform Support

PlatformSupport
Android86.28%
Chromium OS91.93%
iOS1.54%
Linux86.37%
Mac OS65.29%
Windows89.36%

Browser Support

BrowserSupport
Chrome/Chromium93.62%
Edge96.78%
Firefox0.36%
Opera98.07%
Other27.17%
Safari1%
Samsung Internet0.82%

Vendor Support

VendorSupport
0x10de100%
0x8086100%
amd97.41%
apple49.65%
arm92.21%
google89.58%
img-tec99.26%
intel96.73%
intelr0%
microsoft100%
nvidia97.22%
qualcomm87.76%
samsung100%

Vendor Architecture Support

Vendor - ArchitectureSupport
amd - gcn-497.01%
amd - gcn-597.42%
amd - rdna-198.42%
amd - rdna-298.53%
amd - rdna-399.41%
apple - apple0%
apple - metal-398.97%
arm - bifrost92.09%
arm - valhall92.24%
intel - gen-1195.57%
intel - gen-12lp97.25%
intel - gen-889.21%
intel - gen-996.26%
intel - xe-2lpg99.8%
intel - xe-lpg99.03%
nvidia - ampere97.71%
nvidia - blackwell98.46%
nvidia - kepler90%
nvidia - lovelace97.81%
nvidia - maxwell95.08%
nvidia - pascal95.03%
nvidia - turing97.49%
qualcomm - adreno-6xx87.62%
qualcomm - adreno-7xx87.96%
qualcomm - adreno-8xx87.73%