summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-10-01 11:19:41 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-10-01 11:19:41 +0100
commitba1dea5e373b8d7b410c07df897acc4d11079f63 (patch)
tree0007192e70a575c43afe9b9349c3b1f58383cdd1
parenteec12faf82370a8540114287c224953aa66d7bd9 (diff)
sna/gen2: Clear STIPPLE setup before rendering with the 3D pipeline
One over-zealous removal too many. Reported-by: Timo Kamph <timo@kamph.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55455 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/gen2_render.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/gen2_render.c b/src/sna/gen2_render.c
index ca61bd38..d7980d46 100644
--- a/src/sna/gen2_render.c
+++ b/src/sna/gen2_render.c
@@ -503,6 +503,8 @@ static void gen2_emit_invariant(struct sna *sna)
ENABLE_COLOR_WRITE |
ENABLE_TEX_CACHE);
+ BATCH(_3DSTATE_STIPPLE);
+
sna->render_state.gen2.need_invariant = false;
}