diff options
author | Marek Olšák <maraeo@gmail.com> | 2013-07-01 02:36:37 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2013-07-08 20:25:18 +0200 |
commit | a3263cca59b463a9c49bd165226e36fdfec96d8b (patch) | |
tree | de11a4717d5be8d64f68de360c26af9a04883ed1 /src/gallium/drivers/r600/r600_blit.c | |
parent | b1a061b81ed78cd3c71304e122374ae970d04908 (diff) | |
download | external_mesa3d-a3263cca59b463a9c49bd165226e36fdfec96d8b.zip external_mesa3d-a3263cca59b463a9c49bd165226e36fdfec96d8b.tar.gz external_mesa3d-a3263cca59b463a9c49bd165226e36fdfec96d8b.tar.bz2 |
r600g: fix color resolve for RGBX8 and RGBX16 integer formats
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/gallium/drivers/r600/r600_blit.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_blit.c | 4 |
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 7a0e256..ba5d4ea 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); |