wgpu
wgpu copied to clipboard
`primitive_id` being enabled on unsupported device
Discovered in https://github.com/gfx-rs/wgpu/issues/8610#issuecomment-3605006862
Failure in test wgpu_gpu::shader_primitive_index
Platform: iOS 15.8.2, Apple A9
2025-12-02 22:37:37.212 wgpu_gpu-6745f484ba67fbea[17894:138612] Metal API Validation Enabled
2025-12-02 22:37:37.212 wgpu_gpu-6745f484ba67fbea[17894:138612] Metal GPU Validation Enabled
[2025-12-03T03:37:37Z ERROR wgpu::backend::wgpu_core] Shader translation error for stage ShaderStages(VERTEX | FRAGMENT): new_render_pipeline_state: "primitive_id not supported for this device"
[2025-12-03T03:37:37Z ERROR wgpu::backend::wgpu_core] Please report it to https://github.com/gfx-rs/wgpu
[2025-12-03T03:37:37Z ERROR wgpu::backend::wgpu_core] Handling wgpu errors as fatal by default
Thanks for filing! You already described it elsewhere, but can you just include more context here? Like which test, what hardware/os, etc. Just to avoid people having to look around to find more information.
This is probably fixed in #8439, waiting on confirmation