OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72648ca
)
nvfx: fix vp DP2
author
Luca Barbieri
<luca@luca-barbieri.com>
Sat, 4 Sep 2010 02:43:02 +0000
(
04:43
+0200)
committer
Luca Barbieri
<luca@luca-barbieri.com>
Sat, 4 Sep 2010 02:43:02 +0000
(
04:43
+0200)
src/gallium/drivers/nvfx/nvfx_vertprog.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nvfx/nvfx_vertprog.c
b/src/gallium/drivers/nvfx/nvfx_vertprog.c
index
d761d5b
..
bc78ed4
100644
(file)
--- a/
src/gallium/drivers/nvfx/nvfx_vertprog.c
+++ b/
src/gallium/drivers/nvfx/nvfx_vertprog.c
@@
-534,7
+534,7
@@
nvfx_vertprog_parse_instruction(struct nvfx_context* nvfx, struct nvfx_vpc *vpc,
case TGSI_OPCODE_DP2:
tmp = nvfx_src(temp(vpc));
nvfx_vp_emit(vpc, arith(VEC, MUL, tmp.reg, NVFX_VP_MASK_X | NVFX_VP_MASK_Y, src[0], src[1], none));
- nvfx_vp_emit(vpc, arith(VEC, ADD, dst, mask, swz(tmp, X, X, X, X),
swz(tmp, Y, Y, Y, Y), none
));
+ nvfx_vp_emit(vpc, arith(VEC, ADD, dst, mask, swz(tmp, X, X, X, X),
none, swz(tmp, Y, Y, Y, Y)
));
break;
case TGSI_OPCODE_DP3:
nvfx_vp_emit(vpc, arith(VEC, DP3, dst, mask, src[0], src[1], none));