diff options
author | Zack Rusin <[email protected]> | 2013-03-14 01:07:28 -0700 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2013-03-27 03:53:01 -0700 |
commit | edcebe665d1204269f5961079a63c5f632cf3f07 (patch) | |
tree | 7441556ac0a073b2c3070659d10db906aed4aa70 /src/gallium/auxiliary/draw/draw_gs.h | |
parent | 014c4d1cd7f147d5365302d15bdb35d9e4b040d0 (diff) |
draw/gs: Fetch more than one primitive per invocation
Allows executing gs on up to 4 primitives at a time. Will also be
required by the llvm code because there we definitely don't want
to flush with just a single primitive.
Signed-off-by: Zack Rusin <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_gs.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_gs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_gs.h b/src/gallium/auxiliary/draw/draw_gs.h index b17a4485b16..7ab4f04a33d 100644 --- a/src/gallium/auxiliary/draw/draw_gs.h +++ b/src/gallium/auxiliary/draw/draw_gs.h @@ -63,6 +63,7 @@ struct draw_geometry_shader { unsigned in_prim_idx; unsigned input_vertex_stride; + unsigned fetched_prim_count; const float (*input)[4]; const struct tgsi_shader_info *input_info; |