diff --git a/.pick_status.json b/.pick_status.json index 90ce9d42aa8..31327123692 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -284,7 +284,7 @@ "description": "r600: fix r600_buffer_from_user_memory for rusticl", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/gallium/drivers/r600/r600_buffer_common.c b/src/gallium/drivers/r600/r600_buffer_common.c index 5ff88b5afa4..a49b76baf27 100644 --- a/src/gallium/drivers/r600/r600_buffer_common.c +++ b/src/gallium/drivers/r600/r600_buffer_common.c @@ -600,8 +600,7 @@ r600_buffer_from_user_memory(struct pipe_screen *screen, struct radeon_winsys *ws = rscreen->ws; struct r600_resource *rbuffer; - if ((templ->bind & PIPE_BIND_GLOBAL) && - (templ->bind & PIPE_BIND_COMPUTE_RESOURCE)) { + if (templ->bind & PIPE_BIND_GLOBAL) { rbuffer = r600_resource(r600_compute_global_buffer_create(screen, templ)); ((struct r600_resource_global *)rbuffer)->chunk->real_buffer = rbuffer; } else {