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:
Marek Olšák 2024-10-14 19:40:51 -04:00 committed by Marge Bot
parent 88f057eb53
commit 2272db2ac6

View file

@ -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;
}