i965: Invalidate pixmap binding location on reuse.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
4a186a6123
commit
d90c8f4d0b
|
|
@ -630,6 +630,7 @@ void intel_set_pixmap_bo(PixmapPtr pixmap, dri_bo * bo)
|
|||
if (priv->bo == bo)
|
||||
return;
|
||||
|
||||
priv->dst_bound = priv->src_bound = 0;
|
||||
if (list_is_empty(&priv->batch)) {
|
||||
dri_bo_unreference(priv->bo);
|
||||
} else if (!drm_intel_bo_is_reusable(priv->bo)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue