wgpu icon indicating copy to clipboard operation
wgpu copied to clipboard

`primitive_id` being enabled on unsupported device

Open opstic opened this issue 3 weeks ago • 2 comments

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     

opstic avatar Dec 03 '25 04:12 opstic

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.

inner-daemons avatar Dec 03 '25 05:12 inner-daemons

This is probably fixed in #8439, waiting on confirmation

inner-daemons avatar Dec 03 '25 06:12 inner-daemons