From a3263cca59b463a9c49bd165226e36fdfec96d8b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Mon, 1 Jul 2013 02:36:37 +0200 Subject: [PATCH] r600g: fix color resolve for RGBX8 and RGBX16 integer formats Reviewed-by: Alex Deucher --- src/gallium/drivers/r600/r600_blit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index 7a0e2561b85..ba5d4ea6e7f 100644 --- a/src/gallium/drivers/r600/r600_blit.c +++ b/src/gallium/drivers/r600/r600_blit.c @@ -777,7 +777,7 @@ static enum pipe_format int_to_norm_format(enum pipe_format format) REPLACE_FORMAT_SIGN(B10G10R10A2, U); REPLACE_FORMAT(R8); REPLACE_FORMAT(R8G8); - REPLACE_FORMAT(R8G8B8); + REPLACE_FORMAT(R8G8B8X8); REPLACE_FORMAT(R8G8B8A8); REPLACE_FORMAT(A8); REPLACE_FORMAT(I8); @@ -785,7 +785,7 @@ static enum pipe_format int_to_norm_format(enum pipe_format format) REPLACE_FORMAT(L8A8); REPLACE_FORMAT(R16); REPLACE_FORMAT(R16G16); - REPLACE_FORMAT(R16G16B16); + REPLACE_FORMAT(R16G16B16X16); REPLACE_FORMAT(R16G16B16A16); REPLACE_FORMAT(A16); REPLACE_FORMAT(I16); -- 2.30.2