OSDN Git Service

draw/gs: Fetch more than one primitive per invocation
authorZack Rusin <zackr@vmware.com>
Thu, 14 Mar 2013 08:07:28 +0000 (01:07 -0700)
committerZack Rusin <zackr@vmware.com>
Wed, 27 Mar 2013 10:53:01 +0000 (03:53 -0700)
commitedcebe665d1204269f5961079a63c5f632cf3f07
tree7441556ac0a073b2c3070659d10db906aed4aa70
parent014c4d1cd7f147d5365302d15bdb35d9e4b040d0
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 <zackr@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_gs.c
src/gallium/auxiliary/draw/draw_gs.h