mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
radeonsi: set the valid buffer range for bindless image buffers
This was missing. Cc: mesa-stable Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31651>
This commit is contained in:
parent
88f057eb53
commit
2272db2ac6
1 changed files with 3 additions and 0 deletions
|
|
@ -2752,6 +2752,9 @@ static uint64_t si_create_image_handle(struct pipe_context *ctx, const struct pi
|
|||
|
||||
si_resource(view->resource)->image_handle_allocated = true;
|
||||
|
||||
if (view->access & PIPE_IMAGE_ACCESS_WRITE && view->resource)
|
||||
si_mark_image_range_valid(view);
|
||||
|
||||
return handle;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue