gallium: Add a memory range parameter to resource_bind_backing

Needed to bind regions of the resource.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29408>
This commit is contained in:
Konstantin Seurer
2024-05-29 18:15:45 +02:00
committed by Marge Bot
parent 56028a888e
commit fcc0fd2fc1
6 changed files with 16 additions and 5 deletions
+2
View File
@@ -691,6 +691,8 @@ struct pipe_screen {
bool (*resource_bind_backing)(struct pipe_screen *screen,
struct pipe_resource *pt,
struct pipe_memory_allocation *pmem,
uint64_t fd_offset,
uint64_t size,
uint64_t offset);
/**