diff options
author | Marek Olšák <[email protected]> | 2011-08-03 01:47:57 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-08-16 09:15:10 +0200 |
commit | cdbb8a195a3581faa7b569997fa84fb9bceffaa4 (patch) | |
tree | 53960e8cb56599d3bc9e927cdff7e7b1eebef53c /src/gallium | |
parent | 60ff68ad00b821eb04ebb5e0d83620421ee16deb (diff) |
r600g: remove now-unused r600_bo::size
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/winsys/r600/drm/r600_bo.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/r600/drm/r600_priv.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/winsys/r600/drm/r600_bo.c b/src/gallium/winsys/r600/drm/r600_bo.c index 4918897be67..9fc799a1586 100644 --- a/src/gallium/winsys/r600/drm/r600_bo.c +++ b/src/gallium/winsys/r600/drm/r600_bo.c @@ -66,7 +66,6 @@ struct r600_bo *r600_bo(struct radeon *radeon, } bo = calloc(1, sizeof(struct r600_bo)); - bo->size = size; bo->domains = domains; bo->bo = rbo; @@ -88,7 +87,6 @@ struct r600_bo *r600_bo_handle(struct radeon *radeon, struct winsys_handle *whan } pipe_reference_init(&bo->reference, 1); - bo->size = rbo->size; bo->domains = (RADEON_GEM_DOMAIN_CPU | RADEON_GEM_DOMAIN_GTT | RADEON_GEM_DOMAIN_VRAM); diff --git a/src/gallium/winsys/r600/drm/r600_priv.h b/src/gallium/winsys/r600/drm/r600_priv.h index 99c238e04e6..0b757a84953 100644 --- a/src/gallium/winsys/r600/drm/r600_priv.h +++ b/src/gallium/winsys/r600/drm/r600_priv.h @@ -88,7 +88,6 @@ struct radeon_bo { struct r600_bo { struct pipe_reference reference; /* this must be the first member for the r600_bo_reference inline to work */ /* DO NOT MOVE THIS ^ */ - unsigned size; unsigned domains; struct radeon_bo *bo; unsigned fence; |