Module: Mesa
Branch: master
Commit: 97dd35bd6f2e2654b96923fd06bf9761e7b2269d
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=97dd35bd6f2e2654b96923fd06bf9761e7b2269d

Author: Andre Maasikas <[email protected]>
Date:   Mon Oct 12 12:20:26 2009 +0300

r600: DPH adds w comp of second operand, so set first one to 1 instead

---

 src/mesa/drivers/dri/r600/r700_assembler.c |    2 +-
 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 fefae22..a1331fd 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) ) 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to