diff options
author | Keith Whitwell <[email protected]> | 2008-03-25 15:17:53 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-03-25 15:22:32 +0000 |
commit | 4505acf3b28f0b88bf97838ed7898f10e9200b93 (patch) | |
tree | 76b480be23a45b591e3584a12139f90df3080302 /src/gallium/auxiliary/draw/draw_private.h | |
parent | aacfc326cc94be180864201cd9377db08985698e (diff) |
draw: take primitive into account when deciding if the pipeline is active
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_private.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_private.h b/src/gallium/auxiliary/draw/draw_private.h index 0c5afcacfae..8a879809c36 100644 --- a/src/gallium/auxiliary/draw/draw_private.h +++ b/src/gallium/auxiliary/draw/draw_private.h @@ -364,7 +364,8 @@ extern void draw_vertex_shader_queue_flush( struct draw_context *draw ); extern void draw_update_vertex_fetch( struct draw_context *draw ); -extern boolean draw_need_pipeline(const struct draw_context *draw); +extern boolean draw_need_pipeline(const struct draw_context *draw, + unsigned prim ); /* Passthrough mode (second attempt): |