gallium: allow more PIPE_RESOURCE_ driver flags
authorMarek Olšák <marek.olsak@amd.com>
Wed, 30 Jan 2019 19:20:03 +0000 (14:20 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 31 Jan 2019 18:10:42 +0000 (13:10 -0500)
radeonsi has 8 and will probably have 9 soon.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/include/pipe/p_defines.h

index 867d0cb..1f2a346 100644 (file)
@@ -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 */
 
 /**