summaryrefslogtreecommitdiff
path: root/src/sna/brw
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-10-31 16:11:54 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2014-10-31 16:20:25 +0000
commit1040d92e31eea4556c2605c809d18ec4c864424a (patch)
tree6593f2e2b95c7d6b2a9ed828d797eb5205c0c06c /src/sna/brw
parent30fded8dfa77c74de165ad53f82412a2e7fa88ae (diff)
sna/gen6+: Fix projective sample coordinates
Reported-by: "Ding, Chi" <chix.ding@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/brw')
-rw-r--r--src/sna/brw/brw_wm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/brw/brw_wm.c b/src/sna/brw/brw_wm.c
index 1d1dda64..859e826c 100644
--- a/src/sna/brw/brw_wm.c
+++ b/src/sna/brw/brw_wm.c
@@ -539,8 +539,8 @@ static void brw_wm_projective_st(struct brw_compile *p, int dw,
brw_vec8_grf(2, 0));
brw_PLN(p,
brw_vec8_grf(28, 0),
- brw_vec1_grf(uv, 0),
- brw_vec8_grf(4, 0));
+ brw_vec1_grf(uv, 4),
+ brw_vec8_grf(2, 0));
brw_MUL(p,
brw_message_reg(msg),