summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Maasikas <[email protected]>2010-09-10 12:12:36 +0300
committerAndre Maasikas <[email protected]>2010-09-10 12:14:26 +0300
commit67270e1fd60fbdfb9b78fd46cabf077dedf273df (patch)
tree25dc883b529f0d6ce69978cb96b099f40e67f3b9
parent67660ccee969e0024ddec51f84c6e75de3f675d5 (diff)
r600: dont bswap rgba FLOAT formats
fixes at least some readback tests in piglit
-rw-r--r--src/mesa/drivers/dri/r600/r600_blit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r600/r600_blit.c b/src/mesa/drivers/dri/r600/r600_blit.c
index ef47ae1c056..b98fd4b0b47 100644
--- a/src/mesa/drivers/dri/r600/r600_blit.c
+++ b/src/mesa/drivers/dri/r600/r600_blit.c
@@ -224,14 +224,14 @@ set_render_target(context_t *context, struct radeon_bo *bo, gl_format mesa_forma
break;
case MESA_FORMAT_RGBA_FLOAT32:
format = COLOR_32_32_32_32_FLOAT;
- comp_swap = SWAP_STD_REV;
+ comp_swap = SWAP_STD;
SETbit(cb_color0_info, BLEND_FLOAT32_bit);
CLEARbit(cb_color0_info, SOURCE_FORMAT_bit);
SETfield(cb_color0_info, NUMBER_FLOAT, NUMBER_TYPE_shift, NUMBER_TYPE_mask);
break;
case MESA_FORMAT_RGBA_FLOAT16:
format = COLOR_16_16_16_16_FLOAT;
- comp_swap = SWAP_STD_REV;
+ comp_swap = SWAP_STD;
CLEARbit(cb_color0_info, SOURCE_FORMAT_bit);
SETfield(cb_color0_info, NUMBER_FLOAT, NUMBER_TYPE_shift, NUMBER_TYPE_mask);
break;