summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2017-04-06 14:21:47 +0200
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>2017-04-26 16:05:00 +0200
commit5bffc966cd3ea2511dee35dc709badff189daa19 (patch)
treeb1698b880cb63f304d681ad7b6ed17f62f3b2d58
parent59e34db7eb74ad88716d088656fbb4d35184c6cd (diff)
gallium/radeon: add new RADEON_FLAG_RESIDENT
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
-rw-r--r--src/gallium/drivers/radeon/radeon_winsys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_winsys.h b/src/gallium/drivers/radeon/radeon_winsys.h
index 2e287c67ee..a58814cdee 100644
--- a/src/gallium/drivers/radeon/radeon_winsys.h
+++ b/src/gallium/drivers/radeon/radeon_winsys.h
@@ -54,6 +54,7 @@ enum radeon_bo_flag { /* bitfield */
RADEON_FLAG_NO_CPU_ACCESS = (1 << 2),
RADEON_FLAG_HANDLE = (1 << 3), /* the buffer must not be suballocated */
RADEON_FLAG_SPARSE = (1 << 4),
+ RADEON_FLAG_RESIDENT = (1 << 5),
};
enum radeon_bo_usage { /* bitfield */