etnaviv: blt: Add Z16_UNORM format translation
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Passes dEQP-GLES3.functional.fbo.msaa.4_samples.depth_component16

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38362>
This commit is contained in:
Christian Gmeiner 2025-11-11 00:12:16 +01:00
parent 0ca826692a
commit 9c31b9b342

View file

@ -343,6 +343,8 @@ translate_blt_format(enum pipe_format fmt)
return BLT_FORMAT_A8L8;
case PIPE_FORMAT_S8_UINT_Z24_UNORM:
return BLT_FORMAT_X24S8;
case PIPE_FORMAT_Z16_UNORM:
return BLT_FORMAT_D16;
default:
return ETNA_NO_MATCH;
}