Mesa (master): r600g: add defines for tiling
Dave Airlie
airlied at kemper.freedesktop.org
Sun Oct 17 23:25:58 UTC 2010
Module: Mesa
Branch: master
Commit: e8e20313afbdf3a38e5a10e6fa566864452eeb2c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8e20313afbdf3a38e5a10e6fa566864452eeb2c
Author: Dave Airlie <airlied at redhat.com>
Date: Fri Oct 8 11:56:12 2010 +1000
r600g: add defines for tiling
---
src/gallium/drivers/r600/r600d.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/r600/r600d.h b/src/gallium/drivers/r600/r600d.h
index 76df62f..a3cb5b8 100644
--- a/src/gallium/drivers/r600/r600d.h
+++ b/src/gallium/drivers/r600/r600d.h
@@ -904,6 +904,10 @@
#define S_038000_TILE_MODE(x) (((x) & 0xF) << 3)
#define G_038000_TILE_MODE(x) (((x) >> 3) & 0xF)
#define C_038000_TILE_MODE 0xFFFFFF87
+#define V_038000_ARRAY_LINEAR_GENERAL 0x00000000
+#define V_038000_ARRAY_LINEAR_ALIGNED 0x00000001
+#define V_038000_ARRAY_1D_TILED_THIN1 0x00000002
+#define V_038000_ARRAY_2D_TILED_THIN1 0x00000004
#define S_038000_TILE_TYPE(x) (((x) & 0x1) << 7)
#define G_038000_TILE_TYPE(x) (((x) >> 7) & 0x1)
#define C_038000_TILE_TYPE 0xFFFFFF7F
More information about the mesa-commit
mailing list