[Mesa-dev] [PATCH 02/17] gallium/util: Fix compiler warning about unknown pipe_filter_state.

Eric Anholt eric at anholt.net
Sat Feb 10 16:32:55 UTC 2018


Fixes: 6321b1bd4005 ("gallium/util: replace uint with tgsi enum types").
Cc: Brian Paul <brianp at vmware.com>
---
 src/gallium/auxiliary/util/u_blit.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_blit.h b/src/gallium/auxiliary/util/u_blit.h
index 085ea6357007..8fd24e5595c2 100644
--- a/src/gallium/auxiliary/util/u_blit.h
+++ b/src/gallium/auxiliary/util/u_blit.h
@@ -31,18 +31,14 @@
 
 
 #include "pipe/p_compiler.h"
+#include "pipe/p_state.h"
 
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-   
 struct cso_context;
-struct pipe_context;
-struct pipe_resource;
-struct pipe_sampler_view;
-struct pipe_surface;
 
 extern struct blit_state *
 util_create_blit(struct pipe_context *pipe, struct cso_context *cso);
-- 
2.15.0



More information about the mesa-dev mailing list