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#
Browser Support#
| Browser | Support |
|---|---|
| Chrome/Chromium | 0% |
| Edge | 0% |
| Firefox | 0% |
| Opera | 0% |
| Other | 0% |
| Safari | 0% |
| Samsung Internet | 0% |
Vendor Support#
| Vendor | Support |
|---|---|
| amd | 91.89% |
| apple | 60.37% |
| arm | 100% |
| 0% | |
| img-tec | 100% |
| intel | 95.26% |
| Intel | 0% |
| intelr | 0% |
| microsoft | 0% |
| nvidia | 99.21% |
| qualcomm | 97.87% |
| samsung | 0% |
Vendor Architecture Support#
| Vendor - Architecture | Support |
|---|---|
| amd - amd | 0% |
| amd - gcn-4 | 66.67% |
| amd - gcn-5 | 95% |
| amd - rdna-1 | 66.67% |
| amd - rdna-2 | 95.83% |
| amd - rdna-3 | 100% |
| amd - rdna-4 | 100% |
| apple - apple | 18.27% |
| apple - metal-3 | 100% |
| arm - bifrost | 100% |
| arm - valhall | 100% |
| intel - gen-11 | 95.24% |
| intel - gen-12lp | 97.12% |
| intel - gen-8 | 66.67% |
| intel - gen-9 | 95.24% |
| intel - xe-lpg | 94.44% |
| nvidia - ampere | 100% |
| nvidia - blackwell | 100% |
| nvidia - lovelace | 100% |
| nvidia - maxwell | 100% |
| nvidia - pascal | 100% |
| nvidia - turing | 100% |
| qualcomm - adreno-6xx | 90.91% |
| qualcomm - adreno-7xx | 100% |
| qualcomm - adreno-8xx | 100% |