summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_vbo.c
AgeCommit message (Collapse)Author
2010-02-16nv50: use hw idx buffers where we canBen Skeggs
2010-02-14nv: Use util_format_name().José Fonseca
2010-02-02gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca
2010-01-18nv50: fix constant vtxattr methodsChristoph Bumiller
This function was untested, sorry.
2010-01-18nv50: make instanced drawing work with edge flagsChristoph Bumiller
And fix some obvious mistakes introduced in the previous instancing commit.
2010-01-17nv50: implement instanced drawingChristoph Bumiller
Too bad we don't have hw array divisors or a method for setting startInstance.
2010-01-16nv50: hook up geometry programsChristoph Bumiller
2010-01-05nouveau: rewrite nouveau_stateobj to use BEGIN_RING properlyMaarten Maathuis
- 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 <madman2003@gmail.com>
2010-01-05Merge commit 'origin/gallium-draw-retval'Keith Whitwell
Conflicts: src/gallium/drivers/identity/id_context.c
2009-12-28nv50: Dehexify and bring up to date with new method defines.Marcin Kościelnicki
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2009-12-24nv50: make edgeflags workChristoph Bumiller
It doesn't seem to be possible to set the egdeflag in the vertex shader, so we need to fallback to pushing vertices through the FIFO and use method 0x15e4 if they are used. This only works if VP does MOV OUT[X] IN[Y] where X is the edgeflag output, and Y is saved so we can tell the correct input later. The VP still writes the useless values to wasted outputs as punishment.
2009-12-21gallium: propogate draw retval changes into more driversKeith Whitwell
2009-12-17s/desc->type/desc->channel[0].type/Michal Krol
2009-12-08Format layout cannot be used to distinguish scaled/normalised formats.Michal Krol
2009-12-08Remove remaining pipe format utility functions.Michal Krol
Depricate pf_type(), pf_size_*(), pf_layout() and pf_exp2(). Map depricated PIPE_FORMAT_TYPE to new UTIL_FORMAT_ values: UNKNOWN = TYPE_VOID UNORM = TYPE_UNSIGNED + LAYOUT_ARITH SNORM = TYPE_SIGNED + LAYOUT_ARITH FIXED = TYPE_FIXED FLOAT = TYPE_FLOAT USCALED = TYPE_UNSIGNED + LAYOUT_ARRAY SSCALED = TYPE_SIGNED + LAYOUT_ARRAY SRGB = TYPE_COLORSPACE_SRGB
2009-12-03Remove pf_swizzle_* internal macros.Michal Krol
2009-10-19nv50: submit user vbo data through the fifoChristoph Bumiller
Requesting a new real buffer from the kernel and copying all the data is wasteful e.g. if only a few (but widely spread) vertices are accessed.
2009-10-19nv50: use SIFC for TIC, TSC uploadChristoph Bumiller
Add proper flushes for TIC and TSC and remove the costly 2D.0110 flush in nv50_flush. Correct TIC and TSC bo sizes.
2009-09-03nv50: fix vbo_static_attrib method size errorChristoph Bumiller
The VTX_ATTR_3/2/1F methods also had size 4 ... a stupid copy/paste error.
2009-09-03nv50: fix draw_elements_inline_u08/16Christoph Bumiller
We've been emitting the same two indices over and over without incrementing map.
2009-08-20nv50: use VTX_ATTR_nF for constant vtxeltsChristoph Bumiller
2009-08-20nv50: set vertex buffer limitsChristoph Bumiller
2009-08-20nv50: modify vbo format to hw translation, add BGRA swizzleChristoph Bumiller
2009-08-17nv50: whitespace fixes and deobfuscationMaarten Maathuis
2009-07-29nv50: support more vtxelt formatsChristoph Bumiller
NOTE: we must not try to emit buffer relocations when vtxbuf_nr is 0 but vtxelt_nr is not
2009-07-29nv50: should use uint32_t ptr in draw_elements_inline_u32Christoph Bumiller
2009-06-05nouveau: remove unneeded code from ws, use pipe_buffer_ instead of ws->Ben Skeggs
2009-06-05nouveau: move channel creation into pipe driversBen Skeggs
2009-06-05nouveau: pass nouveau_bo instead of pipe_buffer to so_ callsBen Skeggs
2009-03-07nouveau: make stateobjs start off with refcount of 1Ben Skeggs
2009-02-20nv50: remove unused variableBen Skeggs
2009-02-05nv50: stop using nouveau_push.h, it's evilBen Skeggs
2009-01-27gallium: standardize on stride instead of pitch in the interfaceZack Rusin
2009-01-13nv50: fix progs/tests/manytexBen Skeggs
Previously all squares were textured with the same texture.. not quite what the demo was supposed to look like!
2009-01-13nv50: get glxgears showing all 3 gears instead of 1!!Ben Skeggs
This fixes a lot of other things where not all the geometry got drawn also.
2008-09-11nouveau: gallium directory structure changed again..Ben Skeggs
2008-08-11nouveau: pf_sprint_name -> pf_nameBen Skeggs
2008-07-11nv50: add license headers to .c filesBen Skeggs
2008-07-11nv50: enable GART usage for vertex buffersBen Skeggs
AKA "I can haz fast b0rk3d glxgears!!!"
2008-06-29nv50: R32_FLOAT vbo formatBen Skeggs
2008-06-29nv50: separate state validation and upload, similar to nv40Ben Skeggs
2008-06-29nv50: another vbo formatBen Skeggs
2008-06-29nv50: draw_elements() - inline only for the momentBen Skeggs
2008-06-29nv50: support a couple more common VBO formatsBen Skeggs
2008-06-29nv50: rename nv50_state.h to nv50_program.hBen Skeggs
2008-06-29nv50: LIT - sort-ofBen Skeggs
*somehow* we have the exact same bug here as on nv4x, the difference being on nv4x the hw actually has a LIT opcode.. NVIDIA doesn't have the bug on either arch FWIW.
2008-06-29nv50: import current "state of the art" nv50 codeBen Skeggs
2008-03-12nv50: crappy state validate/emit functionBen Skeggs
Just for testing stateobjs to make sure they don't hang the engine.
2008-02-16nouveau: match gallium code reorginisation.Ben Skeggs
That was... fun..