mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
iris: Explicitly rely on gallium fallbacks for YUV
iris_is_format_supported has been returning false for YUV pipe formats. We're going to update isl_format_for_pipe_format to map some YUV pipe formats, but we don't want iris_is_format_supported to start returning true for them. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14355>
This commit is contained in:
parent
b5e41c8c2d
commit
514897ef41
1 changed files with 4 additions and 0 deletions
|
|
@ -121,6 +121,10 @@ iris_is_format_supported(struct pipe_screen *pscreen,
|
|||
if (pformat == PIPE_FORMAT_NONE)
|
||||
return true;
|
||||
|
||||
/* Rely on gallium fallbacks for better YUV format support. */
|
||||
if (util_format_is_yuv(pformat))
|
||||
return false;
|
||||
|
||||
enum isl_format format = isl_format_for_pipe_format(pformat);
|
||||
|
||||
if (format == ISL_FORMAT_UNSUPPORTED)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue