summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_state.c
AgeCommit message (Collapse)Author
2010-01-16nv50: hook up geometry programsChristoph Bumiller
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-06gallium: remove PIPE_TEX_FILTER_ANISOLuca Barbieri
This patch removes PIPE_TEX_FILTER_ANISO. Anisotropic filtering is enabled if and only if max_anisotropy > 1.0. Values between 0.0 and 1.0, inclusive, of max_anisotropy are to be considered equivalent, and meaning to turn off anisotropic filtering. This approach has the small drawback of eliminating the possibility of enabling anisotropic filter on either minification or magnification separately, which Radeon hardware seems to support, is currently support by Gallium but not exposed to OpenGL. If this is actually useful it could be handled by splitting max_anisotropy in two values and adding an appropriate OpenGL extension. NOTE: some fiddling & reformatting by keithw to get this patch to apply. Hopefully nothing broken in the process.
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-31nv50: multiply polygon offset units by 2Christoph Bumiller
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-24gallium: adapt drivers to pipe_constant_buffer removalRoland Scheidegger
2009-12-12nv50: fix depth comparison func TSC bitsChristoph Bumiller
Unfortunately it seems that if depth comparison is active and we read a 2D texture, i.e. provide only 2 inputs, the second is used for comparison ...
2009-12-12nv50: support vertex program texturesChristoph Bumiller
2009-12-01nv: Update for renamed sampler/texture state setters.Michal Krol
2009-10-22nv50: handle PIPE_TEX_FILTER_ANISO caseChristoph Bumiller
Set the same bits as for linear filtering (in addition to max anisotropy), and 2 unknown bits I've seen set.
2009-09-15nv50: add preliminary support for point spritesChristoph Bumiller
2009-09-15nv50: add support for light-twosideChristoph Bumiller
2009-08-29nv50: set provoking vertex stateChristoph Bumiller
2009-08-17nv50: fix stencil stateChristoph Bumiller
It's the front stencil methods that have contiguous offsets, not the back ones. Unfortunately the names in the header still have FRONT/BACK reversed, so I'm using hex values until it gets updated.
2009-07-29nv50: TIC/TSC fixes and additionsChristoph Bumiller
Red and blue were interchanged in TIC. Add border color and some formats.
2009-06-06nv50: support non-normalized texture coordsBen Skeggs
2009-05-28nv50: some mipmapping fixesBen Skeggs
2009-03-07nouveau: make stateobjs start off with refcount of 1Ben Skeggs
2009-01-27gallium: it's a reference value, not a reference numberZack Rusin
2009-01-27gallium: standardize naming of masksZack Rusin
2009-01-13nv50: shadow mappingBen Skeggs
2009-01-13nv50: anisoBen Skeggs
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-07-11nv50: demagic tex filter / wrap modeBen Skeggs
2008-07-11nv50: add license headers to .c filesBen Skeggs
2008-06-29nv50: fixes after rebase + commits note on the code that was just pushed.Ben Skeggs
OK, seems a lot of people have been getting the idea that nouveau is dying lately - I decided to commit some of the work I've been doing lately to prove them wrong :) Progress on my side is slow due to lack of time mainly, but I'm still around. Firstly, don't even bother trying to use gallium on G8x/G9x yet, it won't work. I've deliberately left all the necessary winsys changes out of the commits for a very good reason - I don't know what we're going to need from the DRM exactly yet and don't want to be continually breaking interfaces as I discover additional requirements. On my side, I think I've gone through about 3 different DRM interface changes, and have just discovered that I may need more yet. It'd be very annoying for everyone who uses nouveau to keep things in sync. Once I've got it sorted - I'll commit a lot of cool stuff. Stay tuned. Also, don't look at the shader code.. it's horribly nasty and full of hacks, I used it as an opportunity to learn G8x GPU programs at the same time. New semi-decent code is in works, and will follow at some point. :)
2008-06-29nv50: reverse stencil sides, header is wrongBen Skeggs
2008-06-29nv50: fix line stippleBen Skeggs
2008-06-29nv50: don't multiply polygon offset units by 2.0 like on nv40Ben Skeggs
2008-06-29nv50: turn on depth test/write again, not 100% but winsys handles it betterBen Skeggs
2008-06-29nv50: do tsc/tic upload + stub out shader TEX stuffBen Skeggs
2008-06-29nv50: disable ztest for now - it doesn't work stillBen Skeggs
2008-06-29nv50: flag to indicate to winsys we want a surface for use as a zeta bufferBen Skeggs
NVIDIA love to make life difficult.. we need different flags in PTEs for zeta.. yay.. not.
2008-06-29nv50: fix blend csoBen Skeggs
2008-06-29nv50: rename nv50_state.h to nv50_program.hBen Skeggs
2008-06-29nv50: remove NV50_PROG_{VERTEX,FRAGMENT}Ben Skeggs
2008-06-29nv50: start using interpreter for fragprog too, not hardcoded passthroughBen Skeggs
2008-06-29nv50: use "real" constbufs for shaders + tcb uploadsBen Skeggs
2008-06-29nv50: import current "state of the art" nv50 codeBen Skeggs
2008-04-23nouveau: fix buildBen Skeggs
2008-03-30nouveau: adapt to recent gallium changesBen Skeggs
2008-03-13nouveau: match interface changesBen Skeggs
2008-03-12nv50: start on fb stateBen Skeggs
2008-03-12nv50: rasterizer stateobjBen Skeggs
2008-03-12nv50: scissor/viewport/blend colour/stippleBen Skeggs
2008-03-12nv50: depth_stencil_alpha stateobjBen Skeggs