diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-11-13 12:43:44 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-11-13 12:43:44 +0000 |
commit | d2897cb0136ffec83365c7530ed544b562cac478 (patch) | |
tree | 5b71715b9428e31ccb862b690ff155d1fbceb4df /src/sna/brw | |
parent | 440eaa049756e5266f3bd80e2751f1fd0d5f9890 (diff) |
sna/gen4,5: Fix the opacity shader to use the right vertex attribute
Reported-by: Edward Sheldrake <ejsheldrake@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=57054
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/brw')
-rw-r--r-- | src/sna/brw/brw_wm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/brw/brw_wm.c b/src/sna/brw/brw_wm.c index f54e55ef..af047a20 100644 --- a/src/sna/brw/brw_wm.c +++ b/src/sna/brw/brw_wm.c @@ -653,7 +653,7 @@ brw_wm_kernel__affine_opacity(struct brw_compile *p, int dispatch) if (p->gen < 60) { brw_wm_xy(p, dispatch); - mask = 4; + mask = 5; } else mask = dispatch == 16 ? 8 : 6; @@ -670,7 +670,7 @@ brw_wm_kernel__projective_opacity(struct brw_compile *p, int dispatch) if (p->gen < 60) { brw_wm_xy(p, dispatch); - mask = 4; + mask = 5; } else mask = dispatch == 16 ? 8 : 6; |