summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/r600_resource.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2012-08-23 17:59:51 +0200
committerChristian König <[email protected]>2012-08-24 18:11:31 +0200
commit9aacd5cc67ccbc3984bce6a0b40768a6cec2ec2d (patch)
tree39d815ed9aafbebf8484cd3e082d11feb9a9b657 /src/gallium/drivers/radeonsi/r600_resource.h
parent86f29cf7d0817f1b6c9a9665c044ce36822b23b4 (diff)
radeonsi: remove old tilling handling
Just use the functionality provided by the surface manager instead. This fixes just another bunch of piglit tests. Signed-off-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/r600_resource.h')
-rw-r--r--src/gallium/drivers/radeonsi/r600_resource.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gallium/drivers/radeonsi/r600_resource.h b/src/gallium/drivers/radeonsi/r600_resource.h
index e539eedc3b5..be11b5d21c6 100644
--- a/src/gallium/drivers/radeonsi/r600_resource.h
+++ b/src/gallium/drivers/radeonsi/r600_resource.h
@@ -46,13 +46,7 @@ struct r600_resource_texture {
* for the stencil buffer below. */
enum pipe_format real_format;
- 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;
- unsigned size;
unsigned depth;
unsigned dirty_db;
struct r600_resource_texture *flushed_depth_texture;
@@ -60,11 +54,8 @@ struct r600_resource_texture {
struct radeon_surface surface;
};
-#define R600_TEX_IS_TILED(tex, level) ((tex)->array_mode[level] != V_009910_ARRAY_LINEAR_GENERAL && (tex)->array_mode[level] != V_009910_ARRAY_LINEAR_ALIGNED)
-
struct r600_surface {
struct pipe_surface base;
- unsigned aligned_height;
};
void r600_init_screen_resource_functions(struct pipe_screen *screen);