nine: add fallback for D3DFMT_D16 in d3d9_to_pipe_format_checked
authorFilip Gawin <filip.gawin@zoho.com>
Fri, 2 Dec 2022 02:48:16 +0000 (03:48 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 19 Apr 2023 22:54:26 +0000 (22:54 +0000)
commit421d3e3c8e88d94fccb7883e41bb1d2c87e4981c
treec34244f4a4d115cb4e9fb5f96f727c4f99496ccc
parent8f3c3d2fc0bd61698123512b881d7fdc0ec77722
nine: add fallback for D3DFMT_D16 in d3d9_to_pipe_format_checked

Helps with avoing crash in winetests on crocus.

Cc: mesa-stable
Reviewed-by: Axel Davy <davyaxel0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20121>
src/gallium/frontends/nine/nine_pipe.h