summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-07-01 02:36:37 +0200
committerMarek Olšák <[email protected]>2013-07-08 20:25:18 +0200
commita3263cca59b463a9c49bd165226e36fdfec96d8b (patch)
treede11a4717d5be8d64f68de360c26af9a04883ed1
parentb1a061b81ed78cd3c71304e122374ae970d04908 (diff)
r600g: fix color resolve for RGBX8 and RGBX16 integer formats
Reviewed-by: Alex Deucher <[email protected]>
-rw-r--r--src/gallium/drivers/r600/r600_blit.c4
1 files 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);