r600: LIT dst.y gets value from src.x
authorAndre Maasikas <amaasikas@gmail.com>
Mon, 12 Oct 2009 09:58:40 +0000 (12:58 +0300)
committerAndre Maasikas <amaasikas@gmail.com>
Mon, 12 Oct 2009 13:28:25 +0000 (16:28 +0300)
seems I overlooked this when removing hardcoded swizzles for this
one previously

src/mesa/drivers/dri/r600/r700_assembler.c

index a1331fdfd209af5cfa8ee1048f8469e7e83ede16..ed597c027b55cf1ddff48b0940c4c67ce7e678a4 100644 (file)
@@ -3026,6 +3026,7 @@ GLboolean assemble_LIT(r700_AssemblerBase *pAsm)
     pAsm->S[0].src.rtype = srcType;
     pAsm->S[0].src.reg   = srcReg;
     setaddrmode_PVSSRC(&(pAsm->S[0].src), ADDR_ABSOLUTE);
+    swizzleagain_PVSSRC(&(pAsm->S[0].src), SQ_SEL_X, SQ_SEL_X, SQ_SEL_X, SQ_SEL_X);
     pAsm->S[1].src.rtype = SRC_REG_TEMPORARY;
     pAsm->S[1].src.reg   = tmp;
     setaddrmode_PVSSRC(&(pAsm->S[1].src), ADDR_ABSOLUTE);