mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 06:40:08 +01:00
etnaviv: blt: Add Z16_UNORM format translation
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:
parent
0ca826692a
commit
9c31b9b342
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue