projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23671e5
)
i965: Fix RECT shadow sampling by not losing the other texcoords.
author
Eric Anholt
<eric@anholt.net>
Tue, 4 Aug 2009 19:39:22 +0000
(12:39 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 4 Aug 2009 19:43:18 +0000
(12:43 -0700)
Bug #20821
src/mesa/drivers/dri/i965/brw_wm_fp.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_wm_fp.c
b/src/mesa/drivers/dri/i965/brw_wm_fp.c
index b9e8dd2e96e6ea0172b1276bb2393031aab2e653..a8312228496d5f6d4161b61f8bf0f48119df666f 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_wm_fp.c
+++ b/
src/mesa/drivers/dri/i965/brw_wm_fp.c
@@
-717,7
+717,11
@@
static void precalc_tex( struct brw_wm_compile *c,
tmpcoord,
0,
inst->SrcReg[0],
- scale,
+ src_swizzle(scale,
+ SWIZZLE_X,
+ SWIZZLE_Y,
+ SWIZZLE_ONE,
+ SWIZZLE_ONE),
src_undef());
coord = src_reg_from_dst(tmpcoord);