From a4742c6a07179f01eebfc486e6cd21be05d9c8ae Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Sun, 16 Jan 2011 14:10:46 +0100 Subject: nvc0: fix and enable instanced drawing and arrays --- src/gallium/drivers/nvc0/nvc0_stateobj.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers/nvc0/nvc0_stateobj.h') diff --git a/src/gallium/drivers/nvc0/nvc0_stateobj.h b/src/gallium/drivers/nvc0/nvc0_stateobj.h index ee788c5bb9..6c8028aba1 100644 --- a/src/gallium/drivers/nvc0/nvc0_stateobj.h +++ b/src/gallium/drivers/nvc0/nvc0_stateobj.h @@ -65,7 +65,8 @@ struct nvc0_vertex_element { struct nvc0_vertex_stateobj { struct translate *translate; unsigned num_elements; - uint32_t instance_bits; + uint32_t instance_elts; + uint32_t instance_bufs; unsigned vtx_size; unsigned vtx_per_packet_max; struct nvc0_vertex_element element[1]; -- cgit v1.2.3