summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_resource.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-07-29 18:53:19 +0200
committerMarek Olšák <[email protected]>2012-08-04 14:05:51 +0200
commit581f7e3101980a4e1068bb75c2eca60bb2071229 (patch)
treecc5da6fb66a7203ca4d905ac02f790452c796f63 /src/gallium/drivers/r600/r600_resource.h
parent7c371f46958910dd2ca9487c89af1b72bbfdada9 (diff)
r600g: drop the old texture allocation code
Made obsolete by the libdrm surface allocator.
Diffstat (limited to 'src/gallium/drivers/r600/r600_resource.h')
-rw-r--r--src/gallium/drivers/r600/r600_resource.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/r600_resource.h b/src/gallium/drivers/r600/r600_resource.h
index 0d872308c0a..dc07d3e880f 100644
--- a/src/gallium/drivers/r600/r600_resource.h
+++ b/src/gallium/drivers/r600/r600_resource.h
@@ -52,7 +52,6 @@ struct r600_resource_texture {
unsigned offset[PIPE_MAX_TEXTURE_LEVELS];
unsigned pitch_in_bytes[PIPE_MAX_TEXTURE_LEVELS]; /* transfer */
- unsigned pitch_in_blocks[PIPE_MAX_TEXTURE_LEVELS]; /* texture resource */
unsigned layer_size[PIPE_MAX_TEXTURE_LEVELS];
unsigned array_mode[PIPE_MAX_TEXTURE_LEVELS];
unsigned pitch_override;
@@ -61,7 +60,6 @@ struct r600_resource_texture {
bool is_depth;
bool is_rat;
unsigned dirty_db_mask; /* each bit says if that miplevel is dirty */
- struct r600_resource_texture *stencil; /* Stencil is in a separate buffer on Evergreen. */
struct r600_resource_texture *flushed_depth_texture;
boolean is_flushing_texture;
struct radeon_surface surface;
@@ -71,7 +69,6 @@ struct r600_resource_texture {
struct r600_surface {
struct pipe_surface base;
- unsigned aligned_height;
};
void r600_resource_destroy(struct pipe_screen *screen, struct pipe_resource *res);