diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c index 1296067e024..84e28743b68 100644 --- a/src/gallium/drivers/iris/iris_resource.c +++ b/src/gallium/drivers/iris/iris_resource.c @@ -432,10 +432,7 @@ iris_resource_alloc_flags(const struct iris_screen *screen, break; } - /* Scanout and shared buffers need to be WC (shared because they might be - * used for scanout) - */ - if (templ->bind & (PIPE_BIND_SCANOUT | PIPE_BIND_SHARED)) + if (templ->bind & PIPE_BIND_SCANOUT) flags |= BO_ALLOC_SCANOUT; if (templ->flags & (PIPE_RESOURCE_FLAG_MAP_COHERENT |