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=606becc7f3513354548f587d84db731046616401;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 18377128835..25b27cd8297 100644 --- a/src/mesa/drivers/dri/r600/r700_assembler.c +++ b/src/mesa/drivers/dri/r600/r700_assembler.c @@ -2899,6 +2899,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);