Mesa (r6xx-rewrite): R6xx/r7xx: Fix line width issue, ROUND_MODE and QUANT_MODE aren't bits of LINE_CNTL

Cooper Yuan cooperyuan at kemper.freedesktop.org
Thu Jul 2 08:54:17 UTC 2009


Module: Mesa
Branch: r6xx-rewrite
Commit: c571395e5d768b46bef511d89af641d55cd2ad98
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c571395e5d768b46bef511d89af641d55cd2ad98

Author: Cooper Yuan <cooperyuan at gmail.com>
Date:   Thu Jul  2 16:52:11 2009 +0800

R6xx/r7xx: Fix line width issue, ROUND_MODE and QUANT_MODE aren't bits of LINE_CNTL

---

 src/mesa/drivers/dri/r600/r700_state.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/mesa/drivers/dri/r600/r700_state.c b/src/mesa/drivers/dri/r600/r700_state.c
index a98ffed..d251b99 100644
--- a/src/mesa/drivers/dri/r600/r700_state.c
+++ b/src/mesa/drivers/dri/r600/r700_state.c
@@ -1115,10 +1115,6 @@ void r700InitState(GLcontext * ctx) //-------------------
     /* Set up line control */
     SETfield(r700->PA_SU_LINE_CNTL.u32All, 0x8,
              PA_SU_LINE_CNTL__WIDTH_shift, PA_SU_LINE_CNTL__WIDTH_mask);
-    SETfield(r700->PA_SU_LINE_CNTL.u32All, 0x2,
-             PA_SU_VTX_CNTL__ROUND_MODE_shift, PA_SU_VTX_CNTL__ROUND_MODE_mask);
-    SETfield(r700->PA_SU_LINE_CNTL.u32All, 0x5,
-             QUANT_MODE_shift, QUANT_MODE_mask);
 
     r700->PA_SC_LINE_CNTL.u32All = 0;
     CLEARbit(r700->PA_SC_LINE_CNTL.u32All, EXPAND_LINE_WIDTH_bit);




More information about the mesa-commit mailing list