gallium: add PIPE_BARRIER_ALL define
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 27 Apr 2016 02:22:37 +0000 (21:22 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 1 Jun 2016 20:36:48 +0000 (22:36 +0200)
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/include/pipe/p_defines.h

index aba5afb1eef0a5594e6a7ecdee9aa71aed949cbe..278d1009018d6ba6bea8e60c4b93162affa67a99 100644 (file)
@@ -392,6 +392,7 @@ enum pipe_flush_flags
 #define PIPE_BARRIER_FRAMEBUFFER       (1 << 9)
 #define PIPE_BARRIER_STREAMOUT_BUFFER  (1 << 10)
 #define PIPE_BARRIER_GLOBAL_BUFFER     (1 << 11)
+#define PIPE_BARRIER_ALL               ((1 << 12) - 1)
 
 /**
  * Resource binding flags -- state tracker must specify in advance all