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

Platform Support

PlatformSupport
Android92.39%
Chromium OS96.05%
iOS1.1%
Linux81.13%
Mac OS66.73%
Windows89.1%

Browser Support

BrowserSupport
Chrome/Chromium93.78%
Edge97.07%
Firefox9.49%
Opera97.76%
Other25.73%
Safari0.92%
Samsung Internet84.3%

Vendor Support

VendorSupport
0x1002100%
0x10de100%
0x8086100%
amd97.29%
apple44.17%
arm95.71%
google42.75%
img-tec99.37%
intel97.51%
intelr0%
microsoft100%
nvidia97.64%
NVIDIA0%
qualcomm96.46%
samsung100%

Vendor Architecture Support

Vendor - ArchitectureSupport
amd - gcn-496.22%
amd - gcn-597.36%
amd - rdna-197.71%
amd - rdna-298.31%
amd - rdna-399%
apple - apple0.11%
apple - metal-399.24%
arm - bifrost94.03%
arm - valhall96.67%
intel - gen-1197.12%
intel - gen-12lp98.02%
intel - gen-890.15%
intel - gen-997.06%
intel - xe-2lpg99.28%
intel - xe-lpg99.09%
nvidia - ampere97.64%
nvidia - blackwell98.67%
nvidia - kepler90.93%
nvidia - lovelace97.95%
nvidia - maxwell97.97%
nvidia - pascal97.88%
nvidia - turing97.33%
qualcomm - adreno-6xx96.23%
qualcomm - adreno-7xx96.26%
qualcomm - adreno-8xx97.38%