From: Brian Paul Date: Sat, 16 Nov 2013 20:55:50 +0000 (-0700) Subject: postprocess: move #defines to filters.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b7e5678fe59d31798b2d01114fea4660ac1f6dfc;p=mesa.git postprocess: move #defines to filters.h They're not needed in postprocess.h Reviewed-by: Marek Olšák --- 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 */