r600g: fix typo in r700 alu emit
authorDave Airlie <airlied@redhat.com>
Fri, 24 Sep 2010 06:10:07 +0000 (16:10 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 24 Sep 2010 06:12:02 +0000 (16:12 +1000)
src/gallium/drivers/r600/r700_asm.c

index a78cf0ce950944ca144e02fe640f9cd23ad93a99..9c731f2dbb9008d60c20dbde112ef6ce8cd741d4 100644 (file)
@@ -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);