summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-03-18 16:58:15 -0600
committerBrian <[email protected]>2008-03-18 17:18:10 -0600
commite5a20499d84ba8d270c3144f2c1c7615eeb077c7 (patch)
tree04fffad65bc6ff6500705264bf143096fe439759 /src/gallium/auxiliary/util
parent4bd2b74441092154f0d0048822c6e36cfcc183af (diff)
gallium: make the gen_mipmap_state struct private
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r--src/gallium/auxiliary/util/u_gen_mipmap.c13
-rw-r--r--src/gallium/auxiliary/util/u_gen_mipmap.h13
2 files changed, 14 insertions, 12 deletions
diff --git a/src/gallium/auxiliary/util/u_gen_mipmap.c b/src/gallium/auxiliary/util/u_gen_mipmap.c
index e32ce768c49..e18f8ab72ac 100644
--- a/src/gallium/auxiliary/util/u_gen_mipmap.c
+++ b/src/gallium/auxiliary/util/u_gen_mipmap.c
@@ -50,6 +50,19 @@
#include "tgsi/util/tgsi_parse.h"
+struct gen_mipmap_state
+{
+ struct pipe_context *pipe;
+
+ void *blend;
+ void *depthstencil;
+ void *rasterizer;
+ /*struct pipe_viewport_state viewport;*/
+ struct pipe_sampler_state *vs;
+ struct pipe_sampler_state *fs;
+};
+
+
enum dtype
{
diff --git a/src/gallium/auxiliary/util/u_gen_mipmap.h b/src/gallium/auxiliary/util/u_gen_mipmap.h
index 6ee909f0a6f..80496140a24 100644
--- a/src/gallium/auxiliary/util/u_gen_mipmap.h
+++ b/src/gallium/auxiliary/util/u_gen_mipmap.h
@@ -31,18 +31,7 @@
#include "pipe/p_state.h"
-struct gen_mipmap_state
-{
- struct pipe_context *pipe;
-
- void *blend;
- void *depthstencil;
- void *rasterizer;
- /*struct pipe_viewport_state viewport;*/
- struct pipe_sampler_state *vs;
- struct pipe_sampler_state *fs;
-};
-
+struct gen_mipmap_state;
extern struct gen_mipmap_state *