summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkeithw <keithw>2003-02-22 00:02:43 +0000
committerkeithw <keithw>2003-02-22 00:02:43 +0000
commit56ec7ac011b1ac636c287793d7a4ef3a60803b1b (patch)
tree41855c78feac624c1501910105fd6df3a022c46e
parent0acca64be6f15120671d86947ce20f69659549b7 (diff)
Correctly initialize RE_LINE_PATTERN registermesa-4-0-4-20030222
-rw-r--r--xc/lib/GL/mesa/src/drv/r200/r200_state_init.c6
-rw-r--r--xc/lib/GL/mesa/src/drv/radeon/radeon_state_init.c6
2 files changed, 2 insertions, 10 deletions
diff --git a/xc/lib/GL/mesa/src/drv/r200/r200_state_init.c b/xc/lib/GL/mesa/src/drv/r200/r200_state_init.c
index 94b10263b..65551c60e 100644
--- a/xc/lib/GL/mesa/src/drv/r200/r200_state_init.c
+++ b/xc/lib/GL/mesa/src/drv/r200/r200_state_init.c
@@ -407,11 +407,7 @@ void r200InitState( r200ContextPtr rmesa )
rmesa->hw.set.cmd[SET_RE_CNTL] = (R200_PERSPECTIVE_ENABLE |
R200_SCISSOR_ENABLE);
- rmesa->hw.lin.cmd[LIN_RE_LINE_PATTERN] =
- ((0x0000 & R200_LINE_PATTERN_MASK) |
- (0 << R200_LINE_REPEAT_COUNT_SHIFT) |
- (0 << R200_LINE_PATTERN_START_SHIFT) |
- R200_LINE_PATTERN_LITTLE_BIT_ORDER);
+ rmesa->hw.lin.cmd[LIN_RE_LINE_PATTERN] = ((1 << 16) | 0xffff);
rmesa->hw.lin.cmd[LIN_RE_LINE_STATE] =
((0 << R200_LINE_CURRENT_PTR_SHIFT) |
diff --git a/xc/lib/GL/mesa/src/drv/radeon/radeon_state_init.c b/xc/lib/GL/mesa/src/drv/radeon/radeon_state_init.c
index 7d6bf1b7d..8c407cb60 100644
--- a/xc/lib/GL/mesa/src/drv/radeon/radeon_state_init.c
+++ b/xc/lib/GL/mesa/src/drv/radeon/radeon_state_init.c
@@ -380,11 +380,7 @@ void radeonInitState( radeonContextPtr rmesa )
RADEON_TEX1_W_ROUTING_USE_Q1);
- rmesa->hw.lin.cmd[LIN_RE_LINE_PATTERN] =
- ((0x0000 & RADEON_LINE_PATTERN_MASK) |
- (0 << RADEON_LINE_REPEAT_COUNT_SHIFT) |
- (0 << RADEON_LINE_PATTERN_START_SHIFT) |
- RADEON_LINE_PATTERN_LITTLE_BIT_ORDER);
+ rmesa->hw.lin.cmd[LIN_RE_LINE_PATTERN] = ((1 << 16) | 0xffff);
rmesa->hw.lin.cmd[LIN_RE_LINE_STATE] =
((0 << RADEON_LINE_CURRENT_PTR_SHIFT) |