summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40/nv40_state.c
AgeCommit message (Collapse)Author
2010-02-16nv40: Fix incorrect so_new() numbering.Francisco Jerez
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-11nv40: adapt to stencil ref changesRoland Scheidegger
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
2008-09-11nouveau: gallium directory structure changed again..Ben Skeggs
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-06-23nouveau: update for interface changes + hack around gallium x86_64 bustageBen Skeggs
2008-04-28nv40: do full swtnl fallback when edge flags present.Ben Skeggs
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.
2008-04-04nv40: kill some warningsBen Skeggs
2008-04-02nv40: only update draw module state when using swtnlBen Skeggs
2008-04-02nv40: shorten zsa state linesBen Skeggs
2008-03-30nouveau: adapt to recent gallium changesBen Skeggs
2008-03-16nv40: simple swtnl path (half broken, but getting there)Ben Skeggs
2008-03-13nouveau: match interface changesBen Skeggs
2008-02-29nv40: move "channel context" stuff into nv40_screenBen Skeggs
2008-02-25nv40: remove pipe_state struct now.Ben Skeggs
2008-02-25nv40: construct vbo state the same way as the restBen Skeggs
2008-02-22nv40: stateobj start out with 0 refcountBen Skeggs
2008-02-22nv40: rework fragment texture stateBen Skeggs
2008-02-20nv40: fb stateBen Skeggs
2008-02-20nv40: almost there..Ben Skeggs
2008-02-18nv40: and vertprog..Ben Skeggs
2008-02-18nv40: get fragprog onto new state mechanismBen Skeggs
2008-02-18nv40: until gallium is fixed we'll need a fallback for user clip planesBen Skeggs
2008-02-18nouveau: header updateBen Skeggs
2008-02-18nv40: obey polygon offset stateBen Skeggs
Almost sure this isn't entirely correct. However, I'm not sure what gallium expects yet, and this fixes some bugs, so it'll do for now.
2008-02-18nv40: similar changes to polygon stipple as were done for scissorBen Skeggs
2008-02-18nv40: ensure scissor gets disabled where necessaryBen Skeggs
Fixes progs/demos/lodbias. Makes a complete mess of things, but now there's a motivation to finish this off :)
2008-02-16nouveau: match gallium code reorginisation.Ben Skeggs
That was... fun..