r600g: add defines for tiling
authorDave Airlie <airlied@redhat.com>
Fri, 8 Oct 2010 01:56:12 +0000 (11:56 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 17 Oct 2010 23:25:22 +0000 (09:25 +1000)
src/gallium/drivers/r600/r600d.h

index 76df62ffc3ea9fbca6f707f321eb9a2e9392e7e2..a3cb5b8600487cc9c53ed1fc564a09a548baca6e 100644 (file)
 #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