aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r600
diff options
context:
space:
mode:
authorAndre Maasikas <[email protected]>2009-10-12 12:58:40 +0300
committerAndre Maasikas <[email protected]>2009-10-12 16:28:25 +0300
commitda66d9e12d339c5c6df08ea0bd11a550c9c57b36 (patch)
tree8ff69c3510ffb757130e9df32ced3639c4b0ed3a /src/mesa/drivers/dri/r600
parent97dd35bd6f2e2654b96923fd06bf9761e7b2269d (diff)
r600: LIT dst.y gets value from src.x
seems I overlooked this when removing hardcoded swizzles for this one previously
Diffstat (limited to 'src/mesa/drivers/dri/r600')
-rw-r--r--src/mesa/drivers/dri/r600/r700_assembler.c1
1 files changed, 1 insertions, 0 deletions
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);