st/nine: Add fallback for YUV formats
authorAxel Davy <davyaxel0@gmail.com>
Sat, 10 Apr 2021 19:58:59 +0000 (21:58 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 14 Apr 2021 08:33:14 +0000 (08:33 +0000)
commit7ac9c9c6675023941ea6460602a9e028a9343b51
tree6baaaf4eb4d12f7181cf1125baebdb8d8da2be05
parent25d203a1166bc4ad0803d02216b22f6ba6fb9280
st/nine: Add fallback for YUV formats

Adds alternative format to store YUV textures/surfaces.

These will be converted on upload to the alternative format.
Fixes: https://github.com/iXit/wine-nine-standalone/issues/39

Signed-off-by: Axel Davy <davyaxel0@gmail.com>
Acked-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10160>
src/gallium/frontends/nine/nine_pipe.h