summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2010-09-09 20:36:23 -0400
committerAlex Deucher <[email protected]>2010-09-10 13:01:23 -0400
commita712db73ced2f093e1dbf3ea768f6d14d595944e (patch)
tree5e0c945104d7a507db48189f64787f12e6bcc19b
parentc7843280f0a50e78a2a04e10bc9a078de53f1e30 (diff)
r600c: fix type in cb setup on evergreen
-rw-r--r--src/mesa/drivers/dri/r600/evergreen_chip.c5
1 files 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);