summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_surface.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-07-28 23:01:10 +0200
committerMarek Olšák <[email protected]>2017-08-04 02:10:04 +0200
commit4e757d591db8d7e5038be0d22c5de1efa61cb724 (patch)
treeaecb93eb0e7cb6e082744d964c4ca82637a32f90 /src/amd/common/ac_surface.h
parentd311e837f4c73e2b4985b07feb585050dc7a09a5 (diff)
ac/surface: add RADEON_SURF_SHAREABLE
Shareable textures won't use tile swizzle. Reviewed-by: Dave Airlie <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/amd/common/ac_surface.h')
-rw-r--r--src/amd/common/ac_surface.h1
1 files changed, 1 insertions, 0 deletions
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;