r600c: fix type in cb setup on evergreen
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 10 Sep 2010 00:36:23 +0000 (20:36 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Fri, 10 Sep 2010 17:01:23 +0000 (13:01 -0400)
src/mesa/drivers/dri/r600/evergreen_chip.c

index 5f353869f2a009c95a44a1136dbae5d236a2ca66..d58746de30b89288f0dac12973a67a7648600dea 100644 (file)
@@ -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);