mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 00:49:04 +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>
(cherry picked from commit 2272db2ac6)
This commit is contained in:
parent
da09a3e97a
commit
8ada91f65b
2 changed files with 4 additions and 1 deletions
|
|
@ -154,7 +154,7 @@
|
|||
"description": "radeonsi: set the valid buffer range for bindless image buffers",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -2751,6 +2751,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