summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_texture.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-06-21 22:04:33 -0400
committerMarek Olšák <[email protected]>2018-06-25 18:33:58 -0400
commite5df04f13d246df867e1e7f7754be7621eacda85 (patch)
tree210f446eb7085962f8ac5fa3d7a178fa88fc80cf /src/gallium/drivers/radeonsi/si_texture.c
parent45004abfd507976c2ada695a9482f985ead56c55 (diff)
radeonsi: remove unused r600_memory_object::offset
The real offset is passed through resource_from_memobj. Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_texture.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_texture.c1
1 files changed, 0 insertions, 1 deletions
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;