summaryrefslogtreecommitdiff
path: root/src/radeon_reg.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-04-14 16:04:50 -0400
committerAdam Jackson <ajax@redhat.com>2011-04-14 16:17:02 -0400
commit982c22f16c8eeee9be81779fbfe17d8d3f9b6897 (patch)
tree93dd69bc548090b212685cbb2f51c632d6c77e9d /src/radeon_reg.h
parentcc7d1fa39da40a532fcdbe6c7924ca47a879e66a (diff)
R520: Fix textures larger than 2k
Ported from the equivalent fix in Mesa.
Diffstat (limited to 'src/radeon_reg.h')
-rw-r--r--src/radeon_reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_reg.h b/src/radeon_reg.h
index e61c29d2..fbf15584 100644
--- a/src/radeon_reg.h
+++ b/src/radeon_reg.h
@@ -4688,6 +4688,7 @@
#define R300_TX_FORMAT0_2 0x4488
# define R300_TXWIDTH_SHIFT 0
# define R300_TXHEIGHT_SHIFT 11
+# define R300_TXDEPTH_SHIFT 22
# define R300_NUM_LEVELS_SHIFT 26
# define R300_NUM_LEVELS_MASK 0x
# define R300_TXPROJECTED (1 << 30)