From: Andre Maasikas Date: Mon, 12 Oct 2009 09:58:40 +0000 (+0300) Subject: r600: LIT dst.y gets value from src.x X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da66d9e12d339c5c6df08ea0bd11a550c9c57b36;p=mesa.git r600: LIT dst.y gets value from src.x seems I overlooked this when removing hardcoded swizzles for this one previously --- diff --git a/src/mesa/drivers/dri/r600/r700_assembler.c b/src/mesa/drivers/dri/r600/r700_assembler.c index a1331fdfd20..ed597c027b5 100644 --- a/src/mesa/drivers/dri/r600/r700_assembler.c +++ b/src/mesa/drivers/dri/r600/r700_assembler.c @@ -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);