From 4e757d591db8d7e5038be0d22c5de1efa61cb724 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Fri, 28 Jul 2017 23:01:10 +0200 Subject: ac/surface: add RADEON_SURF_SHAREABLE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Shareable textures won't use tile swizzle. Reviewed-by: Dave Airlie Reviewed-by: Nicolai Hähnle --- src/amd/common/ac_surface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/amd/common/ac_surface.h') diff --git a/src/amd/common/ac_surface.h b/src/amd/common/ac_surface.h index 3c9e13e3f21..01a71f32b2f 100644 --- a/src/amd/common/ac_surface.h +++ b/src/amd/common/ac_surface.h @@ -67,6 +67,7 @@ enum radeon_micro_mode { #define RADEON_SURF_TC_COMPATIBLE_HTILE (1 << 23) #define RADEON_SURF_IMPORTED (1 << 24) #define RADEON_SURF_OPTIMIZE_FOR_SPACE (1 << 25) +#define RADEON_SURF_SHAREABLE (1 << 26) struct legacy_surf_level { uint64_t offset; -- cgit v1.2.3