From: Andre Maasikas Date: Mon, 12 Oct 2009 09:20:26 +0000 (+0300) Subject: r600: DPH adds w comp of second operand, so set first one to 1 instead X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74c31e5d05f7ed342fb143cb6f637b54e8961973;p=mesa.git r600: DPH adds w comp of second operand, so set first one to 1 instead --- diff --git a/src/mesa/drivers/dri/r600/r700_assembler.c b/src/mesa/drivers/dri/r600/r700_assembler.c index e79c256c6b7..18377128835 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) )