search for: nv30_primit

Displaying 1 result from an estimated 1 matches for "nv30_primit".

2010 Jan 18
1
[PATCH 1/2] nv30-nv40: Rewrite primitive splitting and emission
....c index 1c5db03..b89ef5d 100644 --- a/src/gallium/drivers/nv30/nv30_vbo.c +++ b/src/gallium/drivers/nv30/nv30_vbo.c @@ -163,6 +163,121 @@ nv30_vbo_static_attrib(struct nv30_context *nv30, struct nouveau_stateobj *so, return TRUE; } +// TODO: share this with NV40 instead of duplicating +struct nv30_primitive +{ + struct nv30_context *nv30; + unsigned mode; + unsigned start; + unsigned end; + unsigned vpp; + unsigned flags; + unsigned startv; + int chunk; +}; + +static inline void +nv30_primitive_init(struct nv30_primitive* prim, struct nv30_context *nv30, + unsigned mode, unsigned start, unsigned...