Mesa (master): r300: Fix typo on < R5xx RS setup for blits.

Michel Dänzer daenzer at kemper.freedesktop.org
Tue Dec 15 15:57:39 PST 2009


Module: Mesa
Branch: master
Commit: bc443d841c84977abd88d3be3d78287480fbe72d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc443d841c84977abd88d3be3d78287480fbe72d

Author: Michel Dänzer <daenzer at vmware.com>
Date:   Wed Dec 16 00:37:40 2009 +0100

r300: Fix typo on < R5xx RS setup for blits.

---

 src/mesa/drivers/dri/r300/r300_blit.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/r300/r300_blit.c b/src/mesa/drivers/dri/r300/r300_blit.c
index 3523c27..ca6dd3b 100644
--- a/src/mesa/drivers/dri/r300/r300_blit.c
+++ b/src/mesa/drivers/dri/r300/r300_blit.c
@@ -315,8 +315,8 @@ static void r300_emit_rs_setup(struct r300_context *r300)
     OUT_BATCH_REGVAL(R300_RS_IP_0,
                      R300_RS_TEX_PTR(0) |
                      R300_RS_SEL_S(R300_RS_SEL_C0) |
-                     R300_RS_SEL_R(R300_RS_SEL_C1) |
-                     R300_RS_SEL_T(R300_RS_SEL_K0) |
+                     R300_RS_SEL_T(R300_RS_SEL_C1) |
+                     R300_RS_SEL_R(R300_RS_SEL_K0) |
                      R300_RS_SEL_Q(R300_RS_SEL_K1));
     END_BATCH();
 }



More information about the mesa-commit mailing list