From e5df04f13d246df867e1e7f7754be7621eacda85 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 21 Jun 2018 22:04:33 -0400 Subject: radeonsi: remove unused r600_memory_object::offset The real offset is passed through resource_from_memobj. Reviewed-by: Timothy Arceri --- src/gallium/drivers/radeonsi/si_pipe.h | 1 - src/gallium/drivers/radeonsi/si_texture.c | 1 - 2 files changed, 2 deletions(-) (limited to 'src/gallium/drivers/radeonsi') 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; -- cgit v1.2.3