wgpu icon indicating copy to clipboard operation
wgpu copied to clipboard

Apple7 some tests fail due to Depth16unorm being unsupported

Open cwfitzgerald opened this issue 3 weeks ago • 1 comments

Discovered in https://github.com/gfx-rs/wgpu/issues/8610#issuecomment-3607956748

       ABORT [   1.401s] wgpu-test::wgpu-gpu [Executed] [Metal/Apple A7 GPU/0] wgpu_gpu::zero_init_texture_after_discard::discarding_depth_target_resets_texture_init_state_check_visible_on_copy_in_same_encoder
           - with code 0xffffffff: OS Error -268435457 (FormatMessageW() returned error 317) (os error -1)
  stdout ───

    running 1 test
  stderr ───
    validateMTLPixelFormat:174: failed assertion `pixelFormat (250) is not a valid MTLPixelFormat.'

    (test aborted)

This seems to be https://developer.apple.com/documentation/metal/mtlpixelformat/depth16unorm

cwfitzgerald avatar Dec 03 '25 17:12 cwfitzgerald

@cwfitzgerald This should be labelled as "depth16unorm". There is no such thing as depth16float in metal or wgpu.

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