summaryrefslogtreecommitdiff
path: root/src/sna/gen3_render.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/gen3_render.c')
-rw-r--r--src/sna/gen3_render.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/gen3_render.c b/src/sna/gen3_render.c
index 3313e3e2..28b950fe 100644
--- a/src/sna/gen3_render.c
+++ b/src/sna/gen3_render.c
@@ -3215,6 +3215,8 @@ gen3_composite_set_target(struct sna *sna,
if (op->dst.bo == NULL)
return false;
+ assert(op->dst.bo->unique_id);
+
/* For single-stream mode there should be no minimum alignment
* required, except that the width must be at least 2 elements.
*/