diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2002-07-04 11:55:44 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2002-07-04 11:55:44 +0000 |
commit | ca81e1334edebb90b0528baad089fbc6df937fb6 (patch) | |
tree | f9ce192b66c0bc9c365a68184a734b2b0a82e041 | |
parent | cc45cc060963356edd832d1bbdf21da46e01c8fb (diff) |
Revert SET_SCISSORS change.
-rw-r--r-- | linux/radeon_state.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/linux/radeon_state.c b/linux/radeon_state.c index a5fb0c3f..163a41cb 100644 --- a/linux/radeon_state.c +++ b/linux/radeon_state.c @@ -48,10 +48,11 @@ static inline void radeon_emit_clip_rect( drm_radeon_private_t *dev_priv, DRM_DEBUG( " box: x1=%d y1=%d x2=%d y2=%d\n", box->x1, box->y1, box->x2, box->y2 ); - BEGIN_RING( 3 ); - OUT_RING( CP_PACKET3( RADEON_CNTL_SET_SCISSORS, 1 )); + BEGIN_RING( 4 ); + OUT_RING( CP_PACKET0( RADEON_RE_TOP_LEFT, 0 ) ); OUT_RING( (box->y1 << 16) | box->x1 ); -/* OUT_RING( ((box->y2 - 1) << 16) | (box->x2 - 1) );*/ + OUT_RING( CP_PACKET0( RADEON_RE_WIDTH_HEIGHT, 0 ) ); +/* OUT_RING( ((box->y2 - 1) << 16) | (box->x2 - 1) );*/ OUT_RING( (box->y2 << 16) | box->x2 ); ADVANCE_RING(); } |