st/mesa: don't lower YUV when driver supports it natively
authorJonathan Marek <jonathan@marek.ca>
Fri, 6 Sep 2019 13:26:08 +0000 (09:26 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 15 Jan 2020 02:20:00 +0000 (02:20 +0000)
commita554b45d736073bbea4978118c02f7929f75cd77
treea984afa3d41575dc4868757597e63ace6f2cd6d4
parent4e3c81517bafe73015e4af4bdce0eae0cab7751c
st/mesa: don't lower YUV when driver supports it natively

This fixes YUYV support on etnaviv.

Fixes: 7404833c "gallium: add handling for YUV planar surfaces"
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1896>
src/gallium/state_trackers/dri/dri2.c
src/mesa/state_tracker/st_atom_sampler.c
src/mesa/state_tracker/st_atom_texture.c
src/mesa/state_tracker/st_cb_eglimage.c
src/mesa/state_tracker/st_program.h
src/mesa/state_tracker/st_sampler_view.c