From: Alex Deucher Date: Fri, 10 Sep 2010 00:36:23 +0000 (-0400) Subject: r600c: fix type in cb setup on evergreen X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a712db73ced2f093e1dbf3ea768f6d14d595944e;p=mesa.git r600c: fix type in cb setup on evergreen --- diff --git a/src/mesa/drivers/dri/r600/evergreen_chip.c b/src/mesa/drivers/dri/r600/evergreen_chip.c index 5f353869f2a..d58746de30b 100644 --- a/src/mesa/drivers/dri/r600/evergreen_chip.c +++ b/src/mesa/drivers/dri/r600/evergreen_chip.c @@ -1047,10 +1047,9 @@ static void evergreenSetRenderTarget(context_t *context, int id) EG_CB_COLOR0_PITCH__TILE_MAX_shift, EG_CB_COLOR0_PITCH__TILE_MAX_mask); - /* skice */ + /* slice */ SETfield(evergreen->render_target[id].CB_COLOR0_SLICE.u32All, - //( (nPitchInPixel * context->radeon.radeonScreen->driScreen->fbHeight)/64 )-1, - ( (nPitchInPixel * 240)/64 )-1, + ( (nPitchInPixel * context->radeon.radeonScreen->driScreen->fbHeight)/64 )-1, EG_CB_COLOR0_SLICE__TILE_MAX_shift, EG_CB_COLOR0_SLICE__TILE_MAX_mask);