From 9c8fdf8133648483b0e38d5b7fedc55f9dc16876 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sun, 4 Nov 2018 15:20:23 -0800 Subject: [PATCH] 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. --- src/gallium/drivers/iris/iris_formats.c | 1 - 1 file changed, 1 deletion(-) 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, -- 2.30.2