summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-01-30 14:20:03 -0500
committerMarek Olšák <[email protected]>2019-01-31 13:10:42 -0500
commitd49c16a5976a26ab6646887ecf074d0bbf595e91 (patch)
treeef51324916e80614f8365bb2b9c1ddabd4b93333
parentab4d5775b0decad7df56245cecad63912ed62b4c (diff)
gallium: allow more PIPE_RESOURCE_ driver flags
radeonsi has 8 and will probably have 9 soon. Reviewed-by: Roland Scheidegger <[email protected]>
-rw-r--r--src/gallium/include/pipe/p_defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
index 867d0cb5d74..1f2a3469cc9 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -487,7 +487,7 @@ enum pipe_flush_flags
#define PIPE_RESOURCE_FLAG_MAP_COHERENT (1 << 1)
#define PIPE_RESOURCE_FLAG_TEXTURING_MORE_LIKELY (1 << 2)
#define PIPE_RESOURCE_FLAG_SPARSE (1 << 3)
-#define PIPE_RESOURCE_FLAG_DRV_PRIV (1 << 16) /* driver/winsys private */
+#define PIPE_RESOURCE_FLAG_DRV_PRIV (1 << 8) /* driver/winsys private */
#define PIPE_RESOURCE_FLAG_ST_PRIV (1 << 24) /* state-tracker/winsys private */
/**