summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndre Maasikas <[email protected]>2009-10-12 12:20:26 +0300
committerAndre Maasikas <[email protected]>2009-10-12 16:28:16 +0300
commit97dd35bd6f2e2654b96923fd06bf9761e7b2269d (patch)
tree5952c29d08ea24fbca6ee0b609c6c884a9fde505 /src
parent150d4968e31e4600f9479c53f83d810b92b59cf7 (diff)
r600: DPH adds w comp of second operand, so set first one to 1 instead
Diffstat (limited to 'src')
-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 fefae22ba7c..a1331fdfd20 100644
--- a/src/mesa/drivers/dri/r600/r700_assembler.c
+++ b/src/mesa/drivers/dri/r600/r700_assembler.c
@@ -2635,7 +2635,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) )