Skip to content

primitive-index#

Real-world WebGPU feature support statistics for primitive-index across browsers, devices, and platforms.

Adds the primitive_index builtin so fragment shaders can read which primitive in the current draw produced the fragment. A primitive is one triangle, line, or point from the draw call.

Want to check this browser directly? Open the WebGPU Capabilities Report.

Overall Support#

This chart shows what share of recent reports support primitive-index.

0%
overall support

Platform Support#

This table shows how support for primitive-index varies by platform.
PlatformSupport
Android0%
Chromium OS0%
iOS0%
Linux0%
Mac OS0%
Windows0%

Browser Support#

This table shows how support for primitive-index varies by browser family.
BrowserSupport
Chrome/Chromium0%
Edge0%
Firefox0%
Opera0%
Other0%
Safari0%
Samsung Internet0%

Vendor Support#

This table shows how support for primitive-index varies by GPU vendor across all platforms.
VendorSupport
amd92.92%
apple57.75%
arm97.49%
google0%
img-tec100%
intel95.27%
intelr0%
microsoft100%
nvidia97.96%
qualcomm97.1%
samsung100%

Vendor Architecture Support#

This table shows how support for primitive-index varies by reported GPU vendor and architecture across all platforms.
Vendor - ArchitectureSupport
amd - gcn-470.44%
amd - gcn-596.77%
amd - rdna-137.06%
amd - rdna-298.49%
amd - rdna-399.38%
apple - apple11.57%
apple - metal-399.54%
arm - bifrost97.41%
arm - valhall97.67%
intel - gen-1192.95%
intel - gen-12lp98.52%
intel - gen-818.75%
intel - gen-992.8%
intel - xe-2lpg99.68%
intel - xe-lpg99.42%
nvidia - ampere98.07%
nvidia - blackwell98.8%
nvidia - kepler90.55%
nvidia - lovelace98.81%
nvidia - maxwell98.38%
nvidia - pascal97.91%
nvidia - turing97.76%
qualcomm - adreno-6xx97.24%
qualcomm - adreno-7xx98.05%
qualcomm - adreno-8xx98.58%