← back to v142 · webgpu-primitive-index-feature
conformance · v142
v142 · webgpu-primitive-index-feature — conformance probe
6 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.
0
pass
0
fail
0
blocked
6
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
webgpu-on-navigator |
navigator.gpu is the entry point for WebGPU; primitive_index rides on this surface. | exists | … | |
request-adapter-is-function |
navigator.gpu.requestAdapter is a function — the surface used to inspect which optional features (including primitive-index) the device supports. | script | … | |
gpu-adapter-exposes-features |
GPUAdapter exposes a `features` GPUSupportedFeatures set, which is where the 'primitive-index' feature string appears when supported. | script | … | |
primitive-index-feature-name-introspectable |
Userland can call features.has('primitive-index'); calling has() returns a boolean without throwing whether or not the feature is present. spec ↗ | script | … | |
request-device-with-primitive-index-rejects-when-unsupported |
Requesting a device with requiredFeatures=['primitive-index'] from an adapter that does not list it rejects. | script | … | |
wgsl-source-string-tolerated |
GPUShaderModule descriptor accepts a WGSL string referencing @builtin(primitive_index); device.createShaderModule should accept the source even if compilation later errors when the feature is missing. | script | … |