summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_resource.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-10-13 11:03:18 +1000
committerDave Airlie <airlied@redhat.com>2010-10-13 15:55:48 +1000
commite3b089126c63c7178d725fbe245ca09d3f9edba1 (patch)
tree507edb38fd04c96b8b8652c5bd891f506903269d /src/gallium/drivers/r600/r600_resource.h
parentfa797f12b3e1e82020eb7bc8fd0181baa7515efe (diff)
r600g: remove bpt and start using pitch_in_bytes/pixels.
this mirror changes in r300g, bpt is kinda useless when it comes to some of the non-simple texture formats.
Diffstat (limited to 'src/gallium/drivers/r600/r600_resource.h')
-rw-r--r--src/gallium/drivers/r600/r600_resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_resource.h b/src/gallium/drivers/r600/r600_resource.h
index 04b31ddf89..2d7495e0fb 100644
--- a/src/gallium/drivers/r600/r600_resource.h
+++ b/src/gallium/drivers/r600/r600_resource.h
@@ -51,9 +51,9 @@ struct r600_resource_texture {
struct r600_resource resource;
unsigned long offset[PIPE_MAX_TEXTURE_LEVELS];
unsigned long pitch_in_bytes[PIPE_MAX_TEXTURE_LEVELS];
+ unsigned long pitch_in_pixels[PIPE_MAX_TEXTURE_LEVELS];
unsigned long layer_size[PIPE_MAX_TEXTURE_LEVELS];
unsigned long pitch_override;
- unsigned long bpt;
unsigned long size;
unsigned tiled;
unsigned array_mode;