r600g: add back SOURCE_FORMAT setting that get accidently dropped
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 5 May 2011 23:30:30 +0000 (19:30 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Thu, 5 May 2011 23:30:30 +0000 (19:30 -0400)
Spotted by Henri Verbeet

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
src/gallium/drivers/r600/evergreen_state.c

index 9757811e8b6b37e82eaef1bf0c71541a64f6de84..3384a76803c839abd3ff2a14dd1756f55d4662c0 100644 (file)
@@ -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;