From a712db73ced2f093e1dbf3ea768f6d14d595944e Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Thu, 9 Sep 2010 20:36:23 -0400 Subject: [PATCH] r600c: fix type in cb setup on evergreen --- src/mesa/drivers/dri/r600/evergreen_chip.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); -- 2.30.2