gallium: rename PIPE_RESOURCE_FLAG_ST_PRIV to FRONTEND_PRIV
authorMarek Olšák <marek.olsak@amd.com>
Wed, 4 Dec 2019 02:22:43 +0000 (21:22 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 13 May 2020 17:47:27 +0000 (13:47 -0400)
Acked-by: Eric Anholt <eric@anholt.net>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4902>

src/gallium/frontends/nine/nine_defines.h
src/gallium/include/pipe/p_defines.h

index 26aa064b1accac8de4f0409356c61332c391dad7..4abbc12463371686ada89cfa5ef8f9c91d1fb48d 100644 (file)
@@ -26,8 +26,8 @@
 #include "pipe/p_defines.h"
 
 
-#define NINE_RESOURCE_FLAG_LOCKABLE (PIPE_RESOURCE_FLAG_ST_PRIV << 1)
-#define NINE_RESOURCE_FLAG_DUMMY    (PIPE_RESOURCE_FLAG_ST_PRIV << 2)
+#define NINE_RESOURCE_FLAG_LOCKABLE (PIPE_RESOURCE_FLAG_FRONTEND_PRIV << 1)
+#define NINE_RESOURCE_FLAG_DUMMY    (PIPE_RESOURCE_FLAG_FRONTEND_PRIV << 2)
 
 /* vertexdeclaration9.c */
 uint16_t nine_d3d9_to_nine_declusage(unsigned usage, unsigned index);
index c805d3a78a7f8380bd7ce873c3edd0b1dca53ead..e68b6642daf41d3ee80f8bac78834f906b354283 100644 (file)
@@ -503,7 +503,7 @@ enum pipe_flush_flags
 #define PIPE_RESOURCE_FLAG_SINGLE_THREAD_USE     (1 << 4)
 #define PIPE_RESOURCE_FLAG_ENCRYPTED             (1 << 5)
 #define PIPE_RESOURCE_FLAG_DRV_PRIV    (1 << 8) /* driver/winsys private */
-#define PIPE_RESOURCE_FLAG_ST_PRIV     (1 << 24) /* gallium frontend/winsys private */
+#define PIPE_RESOURCE_FLAG_FRONTEND_PRIV         (1 << 24) /* gallium frontend private */
 
 /**
  * Hint about the expected lifecycle of a resource.