summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv30/nv30_state.c
AgeCommit message (Collapse)Author
2010-02-12gallium: make max_anisotropy a unsigned bitfield memberRoland Scheidegger
saves us a dword in sampler state, hw can't do non-integer aniso degree anyway. To allow aniso 1x (which seems of dubious value but some hardware (radeons) have such a mode, and even d3d allows specifiying it) redefine anisotropic filtering as disabled only if max_anistropy is 0.
2010-02-11nv30: adapt to stencil ref changesRoland Scheidegger
not sure if this has any hope of working
2010-02-09Merge branch 'gallium-nopointsizeminmax'Roland Scheidegger
Conflicts: src/gallium/drivers/nv10/nv10_state.c src/gallium/drivers/nv20/nv20_state.c src/gallium/drivers/nv50/nv50_program.c
2010-02-04gallium: add point_quad_rasterization bit to rasterizer stateRoland Scheidegger
This determines if points should be rasterized according to GL point rules or as normal quads (GL point sprites / d3d points / d3d point sprites).
2010-02-03gallium: clean up point sprite rasterizer stateRoland Scheidegger
Don't need sprite coord origin per coord. Also, don't need separate sprite enable bit - if all coords have it diabled, then there are no point sprites (technically, there's a distinction in pre-GL3, but it only differs in having more leniency in clamping to max size, something the state tracker would need to handle and the hardware won't bother anyway). Also, use packed field for the per-coord enables. All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
2010-02-02gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca
2010-01-25nouveau: adapt drviers to blend changesRoland Scheidegger
2010-01-15Merge branch 'gallium-noconstbuf'Roland Scheidegger
Conflicts: src/gallium/drivers/softpipe/sp_draw_arrays.c src/mesa/state_tracker/st_draw_feedback.c
2010-01-11gallium: remove const qualifier from pipe_buffer argument in set_constant_bufferRoland Scheidegger
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>
2009-12-24gallium: adapt drivers to pipe_constant_buffer removalRoland Scheidegger
2009-12-19gallium: fix up drivers for edgeflag changesRoland Scheidegger
several drivers which chose to ignore edgeflags might require some more work, while edgeflags never worked there they might now crash.
2009-12-01nv: Update for renamed sampler/texture state setters.Michal Krol
2009-03-07nouveau: make stateobjs start off with refcount of 1Ben Skeggs
2009-01-27gallium: remove redundant size from the constant bufferZack Rusin
reuse the size of the actual buffer
2009-01-27gallium: it's a reference value, not a reference numberZack Rusin
2009-01-27gallium: standardize naming of masksZack Rusin
2009-01-21nouveau: nv30 does not support separate blend functions for alpha and rgbPatrice Mandin
2008-09-11nouveau: gallium directory structure changed again..Ben Skeggs
2008-08-14nv30: set mipmap min/max lod accordinglyPatrice Mandin
2008-08-14nv30: disable setting nv40 RECT bit, this is not the same on nv30, plus ↵Patrice Mandin
gallium does not support rectangle textures currently, only full POT or NPOT
2008-08-07nouveau: fix buildBen Skeggs
2008-07-23nv all: Copy shader tokens on create, free on delete.Younes Manton
Must copy token stream on shader create, client is allowed to free their copy after creating the state object.
2008-07-12nv30: Emit vertex buffer objects using state objectsPatrice Mandin
2008-07-12nv30: Move edgeflag stuffPatrice Mandin
2008-07-12nv30: Emit fragment program using state objectsPatrice Mandin
2008-07-12nv30: Emit vertex program using state objectsPatrice Mandin
2008-07-11nv30: Move constant buffers out of vert/frag prog structuresPatrice Mandin
2008-07-09nv30: Update defines from nouveau_class.hPatrice Mandin
2008-07-04nv30: Emit sampler state using state objectsPatrice Mandin
2008-07-03nv30: Emit viewport state using state objectsPatrice Mandin
2008-07-03nv30: Emit polygon stipple state using state objectsPatrice Mandin
2008-07-03nv30: Emit scissor state using state objectsPatrice Mandin
2008-07-03nv30: Emit depth/stencil/alpha state using state objectsPatrice Mandin
2008-07-03nv30: Emit rasterizer state using state objectsPatrice Mandin
2008-07-03nv30: Emit blend state using state objectsPatrice Mandin
2008-07-03nv30: Emit blend color state using state objectsPatrice Mandin
2008-07-03nv30: Emit framebuffer state using state objectsPatrice Mandin
2008-06-29nouveau: adapt to cpp->pf_block changesBen Skeggs
2008-06-21nv30: Update nouveau_class.h to get its proper defines instead of using nv40 ↵Patrice Mandin
ones
2008-03-30nv30: use FREE macroPatrice Mandin
2008-03-30nouveau: adapt to recent gallium changesBen Skeggs
2008-03-17nv30: another 2 rt, and set viewport tx origin, so we render at the proper ↵Patrice Mandin
place \o/
2008-03-15cso_context_destroy calls bind_state functions with NULL parameterPatrice Mandin
2008-03-15nv30: only 2 RTs.Stephane Marchesin
2008-03-13nouveau: match interface changesBen Skeggs
2008-03-11nv30: silence some warningsPatrice Mandin
2008-02-22nv30: init zeta to NULL, use color pitch if no zetaPatrice Mandin
2008-02-22nv30: wrong number of parametersPatrice Mandin
2008-02-16nouveau: match gallium code reorginisation.Ben Skeggs
That was... fun..