Mesa (master): r600g: fix typo in r700 alu emit

Dave Airlie airlied at kemper.freedesktop.org
Thu Sep 23 23:14:04 PDT 2010


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Sep 24 16:10:07 2010 +1000

r600g: fix typo in r700 alu emit

---

 src/gallium/drivers/r600/r700_asm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/r600/r700_asm.c b/src/gallium/drivers/r600/r700_asm.c
index a78cf0c..9c731f2 100644
--- a/src/gallium/drivers/r600/r700_asm.c
+++ b/src/gallium/drivers/r600/r700_asm.c
@@ -37,7 +37,7 @@ int r700_bc_alu_build(struct r600_bc *bc, struct r600_bc_alu *alu, unsigned id)
 		S_SQ_ALU_WORD0_SRC0_CHAN(alu->src[0].chan) |
 		S_SQ_ALU_WORD0_SRC0_NEG(alu->src[0].neg) |
 		S_SQ_ALU_WORD0_SRC1_SEL(alu->src[1].sel) |
-		S_SQ_ALU_WORD0_SRC0_REL(alu->src[1].rel) |
+		S_SQ_ALU_WORD0_SRC1_REL(alu->src[1].rel) |
 		S_SQ_ALU_WORD0_SRC1_CHAN(alu->src[1].chan) |
 		S_SQ_ALU_WORD0_SRC1_NEG(alu->src[1].neg) |
 		S_SQ_ALU_WORD0_LAST(alu->last);



More information about the mesa-commit mailing list