[Mesa-dev] [PATCH 4/6] postprocess: move #defines to filters.h

Brian Paul brianp at vmware.com
Sat Nov 16 12:59:05 PST 2013


They're not needed in postprocess.h
---
 src/gallium/auxiliary/postprocess/filters.h     |    4 ++++
 src/gallium/auxiliary/postprocess/postprocess.h |    3 ---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/gallium/auxiliary/postprocess/filters.h b/src/gallium/auxiliary/postprocess/filters.h
index 1aa1e3a..321f333 100644
--- a/src/gallium/auxiliary/postprocess/filters.h
+++ b/src/gallium/auxiliary/postprocess/filters.h
@@ -30,6 +30,10 @@
 
 #include "postprocess/postprocess.h"
 
+#define PP_FILTERS 6            /* Increment this if you add filters */
+#define PP_MAX_PASSES 6
+
+
 typedef bool (*pp_init_func) (struct pp_queue_t *, unsigned int,
                               unsigned int);
 typedef void (*pp_free_func) (struct pp_queue_t *, unsigned int);
diff --git a/src/gallium/auxiliary/postprocess/postprocess.h b/src/gallium/auxiliary/postprocess/postprocess.h
index c4b2030..1db581c 100644
--- a/src/gallium/auxiliary/postprocess/postprocess.h
+++ b/src/gallium/auxiliary/postprocess/postprocess.h
@@ -30,9 +30,6 @@
 
 #include "pipe/p_state.h"
 
-#define PP_FILTERS 6            /* Increment this if you add filters */
-#define PP_MAX_PASSES 6
-
 struct cso_context;
 
 struct pp_queue_t;              /* Forward definition */
-- 
1.7.10.4



More information about the mesa-dev mailing list