From b7e5678fe59d31798b2d01114fea4660ac1f6dfc Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 16 Nov 2013 13:55:50 -0700 Subject: [PATCH] postprocess: move #defines to filters.h MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit They're not needed in postprocess.h Reviewed-by: Marek Olšák --- 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 1aa1e3a639e..321f333a326 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 c4b20301c68..1db581c66d9 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 */ -- 2.30.2