iris: Drop the YCRCB cases in finish_aux_import

We recently added native support for these formats in gallium and ISL.

See commits:
* (gallium/dri) f57c074270
* (intel/isl) 3fa16b3025

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14082>
This commit is contained in:
Nanley Chery 2021-12-06 10:20:25 -05:00 committed by Marge Bot
parent 0e075227d8
commit 99b320fc68

View file

@ -923,8 +923,6 @@ iris_resource_finish_aux_import(struct pipe_screen *pscreen,
case PIPE_FORMAT_P010: format = ISL_FORMAT_PLANAR_420_10; break;
case PIPE_FORMAT_P012: format = ISL_FORMAT_PLANAR_420_12; break;
case PIPE_FORMAT_P016: format = ISL_FORMAT_PLANAR_420_16; break;
case PIPE_FORMAT_YUYV: format = ISL_FORMAT_YCRCB_NORMAL; break;
case PIPE_FORMAT_UYVY: format = ISL_FORMAT_YCRCB_SWAPY; break;
default: format = res->surf.format; break;
}