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 | 92.92% |
| apple | 57.75% |
| arm | 97.49% |
| 0% | |
| img-tec | 100% |
| intel | 95.27% |
| intelr | 0% |
| microsoft | 100% |
| nvidia | 97.96% |
| qualcomm | 97.1% |
| samsung | 100% |
Vendor Architecture Support#
| Vendor - Architecture | Support |
|---|---|
| amd - gcn-4 | 70.44% |
| amd - gcn-5 | 96.77% |
| amd - rdna-1 | 37.06% |
| amd - rdna-2 | 98.49% |
| amd - rdna-3 | 99.38% |
| apple - apple | 11.57% |
| apple - metal-3 | 99.54% |
| arm - bifrost | 97.41% |
| arm - valhall | 97.67% |
| intel - gen-11 | 92.95% |
| intel - gen-12lp | 98.52% |
| intel - gen-8 | 18.75% |
| intel - gen-9 | 92.8% |
| intel - xe-2lpg | 99.68% |
| intel - xe-lpg | 99.42% |
| nvidia - ampere | 98.07% |
| nvidia - blackwell | 98.8% |
| nvidia - kepler | 90.55% |
| nvidia - lovelace | 98.81% |
| nvidia - maxwell | 98.38% |
| nvidia - pascal | 97.91% |
| nvidia - turing | 97.76% |
| qualcomm - adreno-6xx | 97.24% |
| qualcomm - adreno-7xx | 98.05% |
| qualcomm - adreno-8xx | 98.58% |