summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_private.h
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2010-06-10 13:07:27 -0400
committerZack Rusin <[email protected]>2010-06-10 13:07:27 -0400
commit4d0baa73c9e1a40b4ac089c786af79dc7f1ff219 (patch)
tree747b07c1e64f8de2bd3d587d151078e47ebc02ac /src/gallium/auxiliary/draw/draw_private.h
parent9ef6d34f7e03f3d33c0ebad4191f3300a9062c4a (diff)
draw: geometry shader fixes
don't overwrite the inputs and make sure the correct primitive is used on entry
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_private.h')
-rw-r--r--src/gallium/auxiliary/draw/draw_private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_private.h b/src/gallium/auxiliary/draw/draw_private.h
index ca8f9cfab1e..fe867ff8e27 100644
--- a/src/gallium/auxiliary/draw/draw_private.h
+++ b/src/gallium/auxiliary/draw/draw_private.h
@@ -380,4 +380,9 @@ draw_get_rasterizer_no_cull( struct draw_context *draw,
boolean flatshade );
+int draw_max_output_vertices(struct draw_context *draw,
+ unsigned pipe_prim,
+ unsigned count);
+
+
#endif /* DRAW_PRIVATE_H */