diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-07-08 18:58:32 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-07-08 18:58:40 +0100 |
commit | 625e37b317e4d237bdc9f80d7ab86b5d2badddc7 (patch) | |
tree | 9e6c3956d076fdd74a0068b60b98f46ac246c2b7 | |
parent | 1e2cae0ab339e477929e429f8ff31b11fcaf2cbf (diff) |
sna/gen3: So we also need to ensure stippling is cleared...
My theory that we used nothing that invoked polygon stippling proved
baseless.
Fixes regression from 3b5971bd2359383cb8326702d80e03bc15d34c69
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/gen3_render.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sna/gen3_render.c b/src/sna/gen3_render.c index 464e87be..7665cdcb 100644 --- a/src/sna/gen3_render.c +++ b/src/sna/gen3_render.c @@ -1082,7 +1082,7 @@ static void gen3_emit_invariant(struct sna *sna) CSB_TCB(6, 6) | CSB_TCB(7, 7)); - OUT_BATCH(_3DSTATE_LOAD_STATE_IMMEDIATE_1 | I1_LOAD_S(3) | I1_LOAD_S(4) | I1_LOAD_S(5) | 1); + OUT_BATCH(_3DSTATE_LOAD_STATE_IMMEDIATE_1 | I1_LOAD_S(3) | I1_LOAD_S(4) | I1_LOAD_S(5) | 2); OUT_BATCH(0); /* Disable texture coordinate wrap-shortest */ OUT_BATCH((1 << S4_POINT_WIDTH_SHIFT) | S4_LINE_WIDTH_ONE | @@ -1096,6 +1096,9 @@ static void gen3_emit_invariant(struct sna *sna) OUT_BATCH(_3DSTATE_LOAD_INDIRECT); OUT_BATCH(0x00000000); + OUT_BATCH(_3DSTATE_STIPPLE); + OUT_BATCH(0x00000000); + sna->render_state.gen3.need_invariant = FALSE; } |