diff options
author | Dave Airlie <airlied@redhat.com> | 2010-10-08 11:56:12 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-10-18 09:25:22 +1000 |
commit | e8e20313afbdf3a38e5a10e6fa566864452eeb2c (patch) | |
tree | 28956d43002c4e2190966652ab53fb51dffb39e8 | |
parent | 82114ac02a2d5a764ce69711fc0a71f559ee9137 (diff) |
r600g: add defines for tiling
-rw-r--r-- | 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 76df62ffc3..a3cb5b8600 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 |