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
amd91.89%
apple60.37%
arm100%
google0%
img-tec100%
intel95.26%
Intel0%
intelr0%
microsoft0%
nvidia99.21%
qualcomm97.87%
samsung0%

Vendor Architecture Support#

This table shows how support for primitive-index varies by reported GPU vendor and architecture across all platforms.
Vendor - ArchitectureSupport
amd - amd0%
amd - gcn-466.67%
amd - gcn-595%
amd - rdna-166.67%
amd - rdna-295.83%
amd - rdna-3100%
amd - rdna-4100%
apple - apple18.27%
apple - metal-3100%
arm - bifrost100%
arm - valhall100%
intel - gen-1195.24%
intel - gen-12lp97.12%
intel - gen-866.67%
intel - gen-995.24%
intel - xe-lpg94.44%
nvidia - ampere100%
nvidia - blackwell100%
nvidia - lovelace100%
nvidia - maxwell100%
nvidia - pascal100%
nvidia - turing100%
qualcomm - adreno-6xx90.91%
qualcomm - adreno-7xx100%
qualcomm - adreno-8xx100%