diff options
author | Zack Rusin <[email protected]> | 2010-06-10 13:07:27 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2010-06-10 13:07:27 -0400 |
commit | 4d0baa73c9e1a40b4ac089c786af79dc7f1ff219 (patch) | |
tree | 747b07c1e64f8de2bd3d587d151078e47ebc02ac /src/gallium/auxiliary/draw/draw_gs.h | |
parent | 9ef6d34f7e03f3d33c0ebad4191f3300a9062c4a (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_gs.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_gs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_gs.h b/src/gallium/auxiliary/draw/draw_gs.h index 6a9800c43f4..a91f5313e21 100644 --- a/src/gallium/auxiliary/draw/draw_gs.h +++ b/src/gallium/auxiliary/draw/draw_gs.h @@ -68,6 +68,7 @@ struct draw_geometry_shader { * smaller than the GS_MAX_OUTPUT_VERTICES shader property. */ int draw_geometry_shader_run(struct draw_geometry_shader *shader, + unsigned pipe_prim, const float (*input)[4], float (*output)[4], const void *constants[PIPE_MAX_CONSTANT_BUFFERS], @@ -80,5 +81,7 @@ void draw_geometry_shader_prepare(struct draw_geometry_shader *shader, void draw_geometry_shader_delete(struct draw_geometry_shader *shader); +int draw_gs_max_output_vertices(struct draw_geometry_shader *shader, + unsigned pipe_prim); #endif |