summaryrefslogtreecommitdiff
path: root/src/sna/sna_accel.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-12-09 12:11:53 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-12-09 12:41:41 +0000
commit25c0d440dee45c03f5e45b8e0e45071c0c32f507 (patch)
tree98befdd7d5539b2e46ec8ee570b2a80fa0bdc79e /src/sna/sna_accel.c
parent3e82fcc8d243b7ffe1a3d3249a5cdb5fd068093f (diff)
sna: Move source to CPU prior to referencing for inplace trapezoids
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56825 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_accel.c')
-rw-r--r--src/sna/sna_accel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index c7edad63..e996cdb2 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -4736,6 +4736,7 @@ sna_copy_boxes(DrawablePtr src, DrawablePtr dst, GCPtr gc,
goto fallback;
}
+ assert(dst_priv->clear == false);
dst_priv->cpu = false;
if (damage) {
assert(dst_priv->gpu_bo->proxy == NULL);