aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák2013-11-22 16:31:13 -0600
committerMarek Olšák2013-11-22 17:35:39 -0600
commit67d92404d62044972599dcef3011d17fca46eed5 (patch)
treeeab74c852d5271e5caaf26257505c68352428eb3 /radeon/radeon_surface.h
parentce8af454259279c14c44bcd32c429640ca5e1691 (diff)
downloadexternal-libgbm-67d92404d62044972599dcef3011d17fca46eed5.tar.gz
external-libgbm-67d92404d62044972599dcef3011d17fca46eed5.tar.xz
external-libgbm-67d92404d62044972599dcef3011d17fca46eed5.zip
radeon: implement 2D tiling for CIK
Bug fixes and simplification by Marek. We have to use the tile index of 0 for non-MSAA depth-stencil after all. Signed-off-by: Marek Olšák <marek.olsak@amd.com> Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'radeon/radeon_surface.h')
-rw-r--r--radeon/radeon_surface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/radeon/radeon_surface.h b/radeon/radeon_surface.h
index bbed56f8..af7cab67 100644
--- a/radeon/radeon_surface.h
+++ b/radeon/radeon_surface.h
@@ -54,6 +54,7 @@
54#define RADEON_SURF_SCANOUT (1 << 16) 54#define RADEON_SURF_SCANOUT (1 << 16)
55#define RADEON_SURF_ZBUFFER (1 << 17) 55#define RADEON_SURF_ZBUFFER (1 << 17)
56#define RADEON_SURF_SBUFFER (1 << 18) 56#define RADEON_SURF_SBUFFER (1 << 18)
57#define RADEON_SURF_Z_OR_SBUFFER (RADEON_SURF_ZBUFFER | RADEON_SURF_SBUFFER)
57#define RADEON_SURF_HAS_SBUFFER_MIPTREE (1 << 19) 58#define RADEON_SURF_HAS_SBUFFER_MIPTREE (1 << 19)
58#define RADEON_SURF_HAS_TILE_MODE_INDEX (1 << 20) 59#define RADEON_SURF_HAS_TILE_MODE_INDEX (1 << 20)
59#define RADEON_SURF_FMASK (1 << 21) 60#define RADEON_SURF_FMASK (1 << 21)