aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2011-05-05 19:30:30 -0400
committerAlex Deucher <[email protected]>2011-05-05 19:30:30 -0400
commit31d27259b6d682f69866ace89ffaac5294e8bf62 (patch)
treef69082e1a4b566ed664b92349c3f377328021bc3
parent5939bc03bc15b9b1131463ffad04a7b2d987074d (diff)
r600g: add back SOURCE_FORMAT setting that get accidently dropped
Spotted by Henri Verbeet Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--src/gallium/drivers/r600/evergreen_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c
index 9757811e8b6..3384a76803c 100644
--- a/src/gallium/drivers/r600/evergreen_state.c
+++ b/src/gallium/drivers/r600/evergreen_state.c
@@ -724,6 +724,7 @@ static void evergreen_cb(struct r600_pipe_context *rctx, struct r600_pipe_state
ntype != V_028C70_NUMBER_UINT && ntype != V_028C70_NUMBER_SINT) ||
(desc->channel[i].size < 17 &&
desc->channel[i].type == UTIL_FORMAT_TYPE_FLOAT))) {
+ color_info |= S_028C70_SOURCE_FORMAT(V_028C70_EXPORT_4C_16BPC);
rctx->export_16bpc = true;
} else {
rctx->export_16bpc = false;