From: Marek Olšák Date: Fri, 22 Jun 2018 02:04:33 +0000 (-0400) Subject: radeonsi: remove unused r600_memory_object::offset X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e5df04f13d246df867e1e7f7754be7621eacda85;p=mesa.git radeonsi: remove unused r600_memory_object::offset The real offset is passed through resource_from_memobj. Reviewed-by: Timothy Arceri --- diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index a4da98c6369..deceb44b66c 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -390,7 +390,6 @@ struct r600_memory_object { struct pipe_memory_object b; struct pb_buffer *buf; uint32_t stride; - uint32_t offset; }; /* Saved CS data for debugging features. */ diff --git a/src/gallium/drivers/radeonsi/si_texture.c b/src/gallium/drivers/radeonsi/si_texture.c index 450e819a311..7b745f7477a 100644 --- a/src/gallium/drivers/radeonsi/si_texture.c +++ b/src/gallium/drivers/radeonsi/si_texture.c @@ -2409,7 +2409,6 @@ si_memobj_from_handle(struct pipe_screen *screen, memobj->b.dedicated = dedicated; memobj->buf = buf; memobj->stride = stride; - memobj->offset = offset; return (struct pipe_memory_object *)memobj;