nvc0: add support for real ARB_multi_draw_indirect
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 2 Jan 2016 05:45:56 +0000 (00:45 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 7 Jan 2016 23:38:46 +0000 (18:38 -0500)
commit7ca67c752bca08a38a7334cace15ce2b8429a318
treef32b581b5679d879a6a565d27ceb4be26b1e3b2c
parentd3e43baffe06d8375b63cf8009410391f4900e05
nvc0: add support for real ARB_multi_draw_indirect

The draw groups are now split up into groups of 32 if there's a
non-packed stride, or in groups of 400-500 if the draw data is packed.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_query_hw.c
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
src/gallium/drivers/nouveau/nvc0/nvc0_vbo.c
src/gallium/drivers/nouveau/nvc0/nvc0_winsys.h