aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_resource.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-10-13 11:08:44 +1000
committerDave Airlie <[email protected]>2010-10-13 15:55:48 +1000
commitf8778eeb40daf355f8dbcfeb1a9b492c57ce6a35 (patch)
treef7b0937f2d50e9605f24861f6b05a378c7945533 /src/gallium/drivers/r600/r600_resource.h
parente9acf9a3bb45caea7b0fba197aa9ab01f24bb63f (diff)
r600g: drop all use of unsigned long
this changes size on 32/64 bit so is definitely no what you want to use here.
Diffstat (limited to 'src/gallium/drivers/r600/r600_resource.h')
-rw-r--r--src/gallium/drivers/r600/r600_resource.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/drivers/r600/r600_resource.h b/src/gallium/drivers/r600/r600_resource.h
index 2d7495e0fbb..ef484aba4a2 100644
--- a/src/gallium/drivers/r600/r600_resource.h
+++ b/src/gallium/drivers/r600/r600_resource.h
@@ -49,12 +49,12 @@ struct r600_resource {
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 size;
+ unsigned offset[PIPE_MAX_TEXTURE_LEVELS];
+ unsigned pitch_in_bytes[PIPE_MAX_TEXTURE_LEVELS];
+ unsigned pitch_in_pixels[PIPE_MAX_TEXTURE_LEVELS];
+ unsigned layer_size[PIPE_MAX_TEXTURE_LEVELS];
+ unsigned pitch_override;
+ unsigned size;
unsigned tiled;
unsigned array_mode;
unsigned tile_type;