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.

77.29%
of browsers tested for this feature

Platform Support

PlatformSupport
Android87.25%
Chromium OS85.32%
iOS1.94%
Linux87.59%
Mac OS65.67%
Windows87.99%

Browser Support

BrowserSupport
Chrome/Chromium92.06%
Edge97.05%
Firefox0.3%
Opera97.45%
Other29.36%
Safari1.53%
Samsung Internet0.13%

Vendor Support

VendorSupport
amd97.22%
apple52.38%
arm91.74%
google86.67%
img-tec100%
intel95.65%
intelr0%
microsoft83.33%
nvidia97.4%
qualcomm88.61%
samsung100%

Vendor Architecture Support

Vendor - ArchitectureSupport
amd - gcn-497.73%
amd - gcn-596.32%
amd - rdna-197.38%
amd - rdna-298.32%
amd - rdna-399.39%
apple - apple0%
apple - metal-398.99%
arm - bifrost91.12%
arm - valhall91.9%
intel - gen-1190.2%
intel - gen-12lp96.25%
intel - gen-891.42%
intel - gen-995.65%
intel - xe-2lpg99.72%
intel - xe-lpg99.04%
nvidia - ampere97.29%
nvidia - blackwell98.86%
nvidia - kepler93.25%
nvidia - lovelace98.04%
nvidia - maxwell98.4%
nvidia - pascal96.25%
nvidia - turing97.11%
qualcomm - adreno-6xx91.35%
qualcomm - adreno-7xx89.01%
qualcomm - adreno-8xx84.57%