summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sna/brw/brw_wm.c4
-rw-r--r--src/sna/gen8_eu.c4
2 files changed, 4 insertions, 4 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),
diff --git a/src/sna/gen8_eu.c b/src/sna/gen8_eu.c
index 2fd990a1..71338c06 100644
--- a/src/sna/gen8_eu.c
+++ b/src/sna/gen8_eu.c
@@ -1247,8 +1247,8 @@ static void wm_projective_st(struct brw_compile *p, int dw,
brw_vec8_grf(2, 0));
gen8_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));
gen8_MUL(p,
brw_message_reg(msg),