From 1040d92e31eea4556c2605c809d18ec4c864424a Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 31 Oct 2014 16:11:54 +0000 Subject: sna/gen6+: Fix projective sample coordinates Reported-by: "Ding, Chi" Signed-off-by: Chris Wilson --- src/sna/brw/brw_wm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sna/brw') 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), -- cgit v1.2.3