mesa/st: fix yuv EGLImage's
authorRob Clark <robdclark@gmail.com>
Tue, 16 May 2017 14:29:44 +0000 (10:29 -0400)
committerRob Clark <robdclark@gmail.com>
Tue, 16 May 2017 20:34:21 +0000 (16:34 -0400)
commit8b4588b090826a2da7c1b99497ed07705b149ae1
tree211d582bcd71ab5c25f27ad6189c911db1bd9557
parent12aa1d15d5b30c49ee424e50a20cadcb7c3ac0c9
mesa/st: fix yuv EGLImage's

Don't reject YUV formats that the driver doesn't handle natively, since
mesa/st already knows how to lower this in shader.

Reported-by: Nicolas Dechesne <ndec@linaro.org>
Fixes: 83e9de2 ("st/mesa: EGLImageTarget* error handling")
Cc: 17.1 <mesa-stable@lists.freedesktop.org
Signed-off-by: Rob Clark <robdclark@gmail.com>
Tested-by: Nicolas Dechesne <ndec@linaro.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_cb_eglimage.c