From: Kenneth Graunke Date: Sun, 4 Nov 2018 23:20:23 +0000 (-0800) Subject: iris: Drop B5G5R5X1 support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c8fdf8133648483b0e38d5b7fedc55f9dc16876;p=mesa.git iris: Drop B5G5R5X1 support This is oddly renderable but not supported for sampling, which is the opposite of other X formats. Just skip it and fall back to BGRA. --- diff --git a/src/gallium/drivers/iris/iris_formats.c b/src/gallium/drivers/iris/iris_formats.c index b18645439f3..38963de5182 100644 --- a/src/gallium/drivers/iris/iris_formats.c +++ b/src/gallium/drivers/iris/iris_formats.c @@ -145,7 +145,6 @@ iris_isl_format_for_pipe_format(enum pipe_format pf) [PIPE_FORMAT_RGTC2_UNORM] = ISL_FORMAT_BC5_UNORM, [PIPE_FORMAT_RGTC2_SNORM] = ISL_FORMAT_BC5_SNORM, - [PIPE_FORMAT_B5G5R5X1_UNORM] = ISL_FORMAT_B5G5R5X1_UNORM, [PIPE_FORMAT_R10G10B10A2_USCALED] = ISL_FORMAT_R10G10B10A2_USCALED, [PIPE_FORMAT_R11G11B10_FLOAT] = ISL_FORMAT_R11G11B10_FLOAT, [PIPE_FORMAT_R9G9B9E5_FLOAT] = ISL_FORMAT_R9G9B9E5_SHAREDEXP,