aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_surface.h
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2020-05-24 12:50:55 +0200
committerMarge Bot <[email protected]>2020-06-05 13:27:55 +0000
commitb5488a863cf14f6f02b1aa4ec41fdbdd146492e5 (patch)
tree0e53bd3d706bf47c4a00ada3878f84ed6c97f778 /src/amd/common/ac_surface.h
parentd3db633f6dfd960f4052d2e491f4a869e359b98e (diff)
radv: Enforce the contiguous memory for DCC layers in ac_surface.
Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5194>
Diffstat (limited to 'src/amd/common/ac_surface.h')
-rw-r--r--src/amd/common/ac_surface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/common/ac_surface.h b/src/amd/common/ac_surface.h
index 7405192d57c..161a54c9888 100644
--- a/src/amd/common/ac_surface.h
+++ b/src/amd/common/ac_surface.h
@@ -69,7 +69,7 @@ enum radeon_micro_mode {
#define RADEON_SURF_DISABLE_DCC (1 << 22)
#define RADEON_SURF_TC_COMPATIBLE_HTILE (1 << 23)
#define RADEON_SURF_IMPORTED (1 << 24)
-/* gap */
+#define RADEON_SURF_CONTIGUOUS_DCC_LAYERS (1 << 25)
#define RADEON_SURF_SHAREABLE (1 << 26)
#define RADEON_SURF_NO_RENDER_TARGET (1 << 27)
/* Force a swizzle mode (gfx9+) or tile mode (gfx6-8).