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=97dd35bd6f2e2654b96923fd06bf9761e7b2269d;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 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) )