asahi: Advertise Z16_UNORM

This works (on the downstream kernel, anyway).

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24258>
This commit is contained in:
Alyssa Rosenzweig 2023-07-20 10:52:42 -04:00 committed by Marge Bot
parent 0197d46b34
commit ad214fcaf7

View file

@ -1969,8 +1969,8 @@ agx_is_format_supported(struct pipe_screen *pscreen, enum pipe_format format,
if (usage & PIPE_BIND_DEPTH_STENCIL) {
switch (format) {
/* natively supported
* TODO: we could also support Z16_UNORM */
/* natively supported */
case PIPE_FORMAT_Z16_UNORM:
case PIPE_FORMAT_Z32_FLOAT:
case PIPE_FORMAT_S8_UINT: