diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-09-28 14:47:33 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-09-28 15:05:33 +0100 |
commit | e74a39b45446e2c43df5419efc4a2e0e73275c45 (patch) | |
tree | 5d7f842229f09ada880543fa8286b1b674726ff1 /src/sna/gen7_render.c | |
parent | 6395894ada6b9c14deb62814ccf55848eaa80527 (diff) |
sna/gen7: Confusion reigns as trying to fix errors found by an outdated checker
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen7_render.c')
-rw-r--r-- | src/sna/gen7_render.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c index eb777b3a..8c216938 100644 --- a/src/sna/gen7_render.c +++ b/src/sna/gen7_render.c @@ -626,7 +626,7 @@ gen7_disable_streamout(struct sna *sna) static void gen7_emit_sf_invariant(struct sna *sna) { - OUT_BATCH(GEN7_3DSTATE_SF | (6 - 2)); + OUT_BATCH(GEN7_3DSTATE_SF | (7 - 2)); OUT_BATCH(0); OUT_BATCH(GEN7_3DSTATE_SF_CULL_NONE); OUT_BATCH(2 << GEN7_3DSTATE_SF_TRIFAN_PROVOKE_SHIFT); @@ -666,7 +666,7 @@ gen7_disable_clip(struct sna *sna) static void gen7_emit_wm_invariant(struct sna *sna) { - OUT_BATCH(GEN7_3DSTATE_WM | (2 - 2)); + OUT_BATCH(GEN7_3DSTATE_WM | (3 - 2)); OUT_BATCH(GEN7_WM_DISPATCH_ENABLE | GEN7_WM_PERSPECTIVE_PIXEL_BARYCENTRIC); OUT_BATCH(0); @@ -703,7 +703,7 @@ gen7_emit_invariant(struct sna *sna) { OUT_BATCH(GEN7_PIPELINE_SELECT | PIPELINE_SELECT_3D); - OUT_BATCH(GEN7_3DSTATE_MULTISAMPLE | (3 - 2)); + OUT_BATCH(GEN7_3DSTATE_MULTISAMPLE | (4 - 2)); OUT_BATCH(GEN7_3DSTATE_MULTISAMPLE_PIXEL_LOCATION_CENTER | GEN7_3DSTATE_MULTISAMPLE_NUMSAMPLES_1); /* 1 sample/pixel */ OUT_BATCH(0); |