From: Ilia Mirkin Date: Sun, 20 Nov 2016 22:51:24 +0000 (-0500) Subject: swr: add missing rgbx8_srgb variant X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ed703cfa6628a6ee40de4c5635b493986da1a95;p=mesa.git swr: add missing rgbx8_srgb variant Signed-off-by: Ilia Mirkin Reviewed-by: Tim Rowley --- diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp index 642f9be8467..19bb102354e 100644 --- a/src/gallium/drivers/swr/swr_screen.cpp +++ b/src/gallium/drivers/swr/swr_screen.cpp @@ -497,6 +497,7 @@ mesa_to_swr_format(enum pipe_format format) {PIPE_FORMAT_R8G8B8A8_UNORM, R8G8B8A8_UNORM}, {PIPE_FORMAT_R8G8B8A8_SRGB, R8G8B8A8_UNORM_SRGB}, {PIPE_FORMAT_R8G8B8X8_UNORM, R8G8B8X8_UNORM}, + {PIPE_FORMAT_R8G8B8X8_SRGB, R8G8B8X8_UNORM_SRGB}, {PIPE_FORMAT_R8_USCALED, R8_USCALED}, {PIPE_FORMAT_R8G8_USCALED, R8G8_USCALED},