projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97dd35b
)
r600: LIT dst.y gets value from src.x
author
Andre Maasikas
<amaasikas@gmail.com>
Mon, 12 Oct 2009 09:58:40 +0000
(12:58 +0300)
committer
Andre 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
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r600/r700_assembler.c
b/src/mesa/drivers/dri/r600/r700_assembler.c
index a1331fdfd209af5cfa8ee1048f8469e7e83ede16..ed597c027b55cf1ddff48b0940c4c67ce7e678a4 100644
(file)
--- 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);