diff options
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/v3d/v3d_resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/v3d/v3d_resource.c b/src/gallium/drivers/v3d/v3d_resource.c index fba1661cd3f..d95abaa8fd4 100644 --- a/src/gallium/drivers/v3d/v3d_resource.c +++ b/src/gallium/drivers/v3d/v3d_resource.c @@ -764,7 +764,7 @@ v3d_resource_create_with_modifiers(struct pipe_screen *pscreen, * the modifiers to see if we're allocating a scanout object. */ if (screen->ro && - ((tmpl->bind & PIPE_BIND_SCANOUT) || + ((tmpl->bind & (PIPE_BIND_SCANOUT | PIPE_BIND_SHARED)) || (count == 1 && modifiers[0] == DRM_FORMAT_MOD_LINEAR))) { struct winsys_handle handle; rsc->scanout = |