From: Alex Deucher Date: Thu, 5 May 2011 23:30:30 +0000 (-0400) Subject: r600g: add back SOURCE_FORMAT setting that get accidently dropped X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31d27259b6d682f69866ace89ffaac5294e8bf62;p=mesa.git r600g: add back SOURCE_FORMAT setting that get accidently dropped Spotted by Henri Verbeet Signed-off-by: Alex Deucher --- 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;