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.95%
of browsers tested for this feature

Platform Support

PlatformSupport
Android86.6%
Chromium OS84.14%
iOS2.64%
Linux85.97%
Mac OS64.16%
Windows88.38%

Browser Support

BrowserSupport
Chrome/Chromium92.08%
Edge97.4%
Firefox0.26%
Opera97.88%
Other25.37%
Safari1.88%
Samsung Internet0.13%

Vendor Support

VendorSupport
amd97.32%
apple48.72%
arm92.16%
google90.91%
img-tec95%
intel94.84%
intelr0%
microsoft100%
nvidia97.68%
qualcomm88.81%
samsung100%

Vendor Architecture Support

Vendor - ArchitectureSupport
amd - gcn-498.89%
amd - gcn-597.24%
amd - rdna-199.32%
amd - rdna-297.33%
amd - rdna-399.62%
apple - apple0%
apple - metal-399.11%
arm - bifrost91.01%
arm - valhall92.86%
intel - gen-1184.25%
intel - gen-12lp95.96%
intel - gen-889.5%
intel - gen-995.47%
intel - xe-2lpg99.75%
intel - xe-lpg99.15%
nvidia - ampere97.42%
nvidia - blackwell99.05%
nvidia - kepler91.99%
nvidia - lovelace98.22%
nvidia - maxwell97.36%
nvidia - pascal97.33%
nvidia - turing97.66%
qualcomm - adreno-6xx91.27%
qualcomm - adreno-7xx89.48%
qualcomm - adreno-8xx83.88%