summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv40/nv40_vbo.c
Commit message (Collapse)AuthorAgeFilesLines
* nv30, nv40: unify nv[34]0_vbo.cLuca Barbieri2010-03-151-565/+0
| | | | | | The files are identical, except for swtnl support which is commented out on nv30 and restart being initialized on nv30 to avoid a compiler warning.
* nv30, nv40: non-trivially unify nv[34]0_draw.cLuca Barbieri2010-03-151-2/+2
| | | | | | | | | | | | nv30_draw.c is a stub. This patch makes both nv30 and nv40 use the nv40 swtnl path. Note that this doesn't actually work on nv30 because the vertex program is encoded in the nv40-only layout. However, swtnl was unimplemented before on nv30, so this is not a regression. Furthermore, a patch to fix this is available near the end of the patchset.
* nv30, nv40: non-trivially unify nv[34]0_state_emit.cLuca Barbieri2010-03-151-7/+7
| | | | | | | | The files are the same except for swtnl support on nv40 and for texture cache flushing on nv40. Unify them, and use a macro to define 4 versions of render_states, for all combinations of nvfx and hwtnl/swtnl.
* nv30, nv40: unify all structures and headers, except shadersLuca Barbieri2010-03-151-56/+56
| | | | | | | | | | | | | | | | | | | This patch unifies nv[34]0_screen.h, nv[34]0_context.h and nv[34]0_state.h The unified files are put in a new "nvfx" directory. nv30_context.h and nv40_context.h still exist to hold the function prototypes and include nvfx_context.h nv[34]0_screen.h and nv[34]0_state.h are deleted, replaced by the unified versions. nv40 includes some extra fields for swtnl and user clip planes support. These fields will be unused on nv30 until that functionality gets added to it too (by unification with nv40).
* nouveau: s/rankine/eng3d/g; s/curie/eng3d/gLuca Barbieri2010-03-151-34/+34
| | | | | | | Result of running: perl -i -p -e 's/rankine/eng3d/g; s/curie/eng3d/g;' nv[34]0/*.[ch] This will allow to more easily unify nv30 and nv40.
* nv40: use NV34TCL_ constants where availableLuca Barbieri2010-03-151-37/+37
| | | | | | | | | | | It was decided to just use the NV34TCL_ constants for constants common between nv30 and nv40, and deprecate the NV40TCL_ versions. This patch changes the nv40 driver to use NV34TCL_ constants for common functionality. This reduces differences between nv30 and nv40 to ease further unification.
* nv40: adapt to vertex element csoRoland Scheidegger2010-03-011-4/+4
|
* nv: Use util_format_name().José Fonseca2010-02-141-2/+3
|
* nouveau: use AVAIL_RING()Ben Skeggs2010-02-121-5/+5
|
* nouveau: Fix warning for void function returning value. Add missing include ↵Patrice Mandin2010-02-051-2/+2
| | | | | | for pipe_reference_init function. Signed-off-by: Patrice Mandin <[email protected]>
* gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca2010-02-021-1/+1
|
* nouveau: rewrite nouveau_stateobj to use BEGIN_RING properlyMaarten Maathuis2010-01-051-3/+3
| | | | | | | | | - The previous solution was hacky and didn't do subchannel autobinding. - The beheaviour should match what libdrm_nouveau does closely. - The solution remains statically sized, but when debugging is on it will check for abuse. Signed-off-by: Maarten Maathuis <[email protected]>
* nouveau: kill nouveau_push.h and use libdrm versions of BEGIN_RINGs, etcMarcin Slusarz2010-01-051-48/+58
|
* Merge commit 'origin/gallium-draw-retval'Keith Whitwell2010-01-051-13/+10
|\ | | | | | | | | Conflicts: src/gallium/drivers/identity/id_context.c
| * gallium: propogate draw retval changes into more driversKeith Whitwell2009-12-211-13/+10
| |
* | gallium: fix up drivers for edgeflag changesRoland Scheidegger2009-12-191-5/+0
|/ | | | | several drivers which chose to ignore edgeflags might require some more work, while edgeflags never worked there they might now crash.
* nouveau: remove unneeded code from ws, use pipe_buffer_ instead of ws->Ben Skeggs2009-06-051-8/+9
|
* nouveau: move channel creation into pipe driversBen Skeggs2009-06-051-5/+5
|
* nv40: remove u_simple_screen usageBen Skeggs2009-06-051-1/+1
|
* nouveau: pass nouveau_bo instead of pipe_buffer to so_ callsBen Skeggs2009-06-051-5/+8
|
* nouveau: make stateobjs start off with refcount of 1Ben Skeggs2009-03-071-0/+3
|
* gallium: standardize on stride instead of pitch in the interfaceZack Rusin2009-01-271-2/+2
|
* nouveau: gallium directory structure changed again..Ben Skeggs2008-09-111-1/+0
|
* nouveau: pf_sprint_name -> pf_nameBen Skeggs2008-08-111-6/+2
|
* Update for extra vertex attributesPatrice Mandin2008-06-211-1/+1
|
* nv40: do full swtnl fallback when edge flags present.Ben Skeggs2008-04-281-0/+5
| | | | | | This isn't necessary, with some effort we can do this on the hw. However, until I encounter something "real" that uses them there's not a lot of point.
* nv40: use vb/ve counts rather than shader inputs for related loopsBen Skeggs2008-04-091-21/+4
|
* nv40: have test for hw idxbuf in single placeBen Skeggs2008-04-041-2/+2
|
* nv40: remove redundant state_emit() callsBen Skeggs2008-04-041-3/+0
|
* nv40: static attribs -> stateobjBen Skeggs2008-04-041-28/+34
|
* nv40: convert the inline idxbuf paths alsoBen Skeggs2008-04-041-48/+111
|
* nv40: need to resubmit buffers if pushbuf gets flushed during drawBen Skeggs2008-04-041-44/+76
|
* nouveau: update object headerBen Skeggs2008-03-311-1/+1
|
* nouveau: adapt to recent gallium changesBen Skeggs2008-03-301-2/+2
|
* nv40: add 16-bit SSCALED vb formatsBen Skeggs2008-03-211-0/+10
|
* nv40: swtnl fallback on unsupported array formatBen Skeggs2008-03-211-2/+6
|
* nv40: simple swtnl path (half broken, but getting there)Ben Skeggs2008-03-161-4/+18
|
* nv40: re-do vtxbuf format codeBen Skeggs2008-03-031-29/+50
|
* nv40: move "channel context" stuff into nv40_screenBen Skeggs2008-02-291-5/+5
|
* nv40: remove pipe_state struct now.Ben Skeggs2008-02-251-9/+9
|
* nv40: construct vbo state the same way as the restBen Skeggs2008-02-251-124/+122
|
* nv40: dump meaningful names for surface formatsBen Skeggs2008-02-251-1/+5
|
* nv40: stateobj start out with 0 refcountBen Skeggs2008-02-221-1/+0
|
* nv40: and vertprog..Ben Skeggs2008-02-181-1/+1
|
* nouveau: match gallium code reorginisation.Ben Skeggs2008-02-161-0/+424
That was... fun..