summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorAndre Maasikas <amaasikas@gmail.com>2009-10-12 12:20:26 +0300
committerAlex Deucher <alexdeucher@gmail.com>2009-10-15 11:20:04 -0400
commit74c31e5d05f7ed342fb143cb6f637b54e8961973 (patch)
tree4cc58fb2b71708e333779ee230bb23e64dc772b3 /src/mesa
parent95851d8cb232cbd1312d2b8de471ba2aeb276911 (diff)
r600: DPH adds w comp of second operand, so set first one to 1 instead
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r600/r700_assembler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_assembler.c b/src/mesa/drivers/dri/r600/r700_assembler.c
index e79c256c6b..1837712883 100644
--- a/src/mesa/drivers/dri/r600/r700_assembler.c
+++ b/src/mesa/drivers/dri/r600/r700_assembler.c
@@ -2508,7 +2508,7 @@ GLboolean assemble_DOT(r700_AssemblerBase *pAsm)
}
else if(pAsm->pILInst[pAsm->uiCurInst].Opcode == OPCODE_DPH)
{
- onecomp_PVSSRC(&(pAsm->S[1].src), 3);
+ onecomp_PVSSRC(&(pAsm->S[0].src), 3);
}
if ( GL_FALSE == next_ins(pAsm) )