summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_resource.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-09-21 20:02:55 +0200
committerMarek Olšák <[email protected]>2013-09-29 15:18:08 +0200
commitba29324dba334054950cb25b0a4bd98b05fc6631 (patch)
tree732cb7671f55eb1823f072b87728f9e39cbdf489 /src/gallium/drivers/r600/r600_resource.h
parent39801d4ba7e19e9ce1dbde3ba3441cae38e7dbaa (diff)
r600g: get rid of r600_texture::array_mode
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 9896470255f..3c0e74ab5de 100644
--- a/src/gallium/drivers/r600/r600_resource.h
+++ b/src/gallium/drivers/r600/r600_resource.h
@@ -37,7 +37,6 @@ struct r600_resource_global {
struct r600_texture {
struct r600_resource resource;
- unsigned array_mode[PIPE_MAX_TEXTURE_LEVELS];
unsigned pitch_override;
unsigned size;
bool non_disp_tiling;
@@ -60,8 +59,6 @@ struct r600_texture {
unsigned color_clear_value[2];
};
-#define R600_TEX_IS_TILED(tex, level) ((tex)->array_mode[level] != V_038000_ARRAY_LINEAR_GENERAL && (tex)->array_mode[level] != V_038000_ARRAY_LINEAR_ALIGNED)
-
struct r600_surface {
struct pipe_surface base;