summaryrefslogtreecommitdiff
path: root/src/sna/gen7_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-07-31 10:20:51 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-07-31 19:11:54 +0100
commitfd3a1236051265fab700aad689a171de47d7338f (patch)
tree6641adf9c792b6084d1f7a2f26dedff2e77b8e0e /src/sna/gen7_render.c
parent8922b804bc9ed27957c81f7cda4812ab4ecbd4de (diff)
sna/gen6: Enable 8 pixel dispatch
This gives a small performance increase when operating with rectangles, which is reasonably frequent. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index 6381ccfb..8c64016d 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -4277,7 +4277,7 @@ static bool gen7_render_setup(struct sna *sna)
wm_kernels[m].data, 32);
}
}
- assert(state->wm_kernel[m][1]);
+ assert(state->wm_kernel[m][0]|state->wm_kernel[m][1]|state->wm_kernel[m][2]);
}
ss = sna_static_stream_map(&general,