summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r600/r600_reg_auto_r6xx.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-09-14 18:05:15 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-09-24 09:59:45 -0400
commit9437ac9bccd294bd5a8b838e7ca7597e5dc6d5b0 (patch)
treec362d72afe9456c3a41526ea988090c195f50ae2 /src/mesa/drivers/dri/r600/r600_reg_auto_r6xx.h
parent93a7ea6ba0d5700e18b28c23da226e055f7c2fa1 (diff)
r600: add span support for 1D tiles
1D tile span support for depth/stencil/color/textures Z and stencil buffers are always tiled, so this fixes sw access to Z and stencil buffers. color and textures are currently linear, but this adds span support when we implement 1D tiling. This fixes the text in progs/demos/engine and progs/tests/z*
Diffstat (limited to 'src/mesa/drivers/dri/r600/r600_reg_auto_r6xx.h')
-rw-r--r--src/mesa/drivers/dri/r600/r600_reg_auto_r6xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r600/r600_reg_auto_r6xx.h b/src/mesa/drivers/dri/r600/r600_reg_auto_r6xx.h
index 9d5aa3c7e4..edd85b0fac 100644
--- a/src/mesa/drivers/dri/r600/r600_reg_auto_r6xx.h
+++ b/src/mesa/drivers/dri/r600/r600_reg_auto_r6xx.h
@@ -1366,6 +1366,7 @@ enum {
DB_DEPTH_INFO__READ_SIZE_bit = 1 << 3,
DB_DEPTH_INFO__ARRAY_MODE_mask = 0x0f << 15,
DB_DEPTH_INFO__ARRAY_MODE_shift = 15,
+ ARRAY_1D_TILED_THIN1 = 0x02,
ARRAY_2D_TILED_THIN1 = 0x04,
TILE_SURFACE_ENABLE_bit = 1 << 25,
TILE_COMPACT_bit = 1 << 26,
@@ -1449,6 +1450,7 @@ enum {
CB_COLOR0_INFO__ARRAY_MODE_shift = 8,
ARRAY_LINEAR_GENERAL = 0x00,
ARRAY_LINEAR_ALIGNED = 0x01,
+/* ARRAY_1D_TILED_THIN1 = 0x02, */
/* ARRAY_2D_TILED_THIN1 = 0x04, */
NUMBER_TYPE_mask = 0x07 << 12,
NUMBER_TYPE_shift = 12,