summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_fragtex.c
Commit message (Collapse)AuthorAgeFilesLines
* Move nv30, nv50 and nvc0 to nouveau.Johannes Obermayr2013-09-111-202/+0
| | | | | | | | | | | | | | | | It is planned to ship openSUSE 13.1 with -shared libs. nouveau.la, nv30.la, nv50.la and nvc0.la are currently LIBADDs in all nouveau related targets. This change makes it possible to easily build one shared libnouveau.so which is then LIBADDed. Also dlopen will be faster for one library instead of three and build time on -jX will be reduced. Whitespace fixes were requested by 'git am'. Signed-off-by: Johannes Obermayr <[email protected]> Acked-by: Christoph Bumiller <[email protected]> Acked-by: Ian Romanick <[email protected]>
* mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke2013-04-231-4/+4
| | | | | | | | | | | | | | The previous commit introduced extra words, breaking the formatting. This text transformation was done automatically via the following shell command: $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript where 'vimscript' is a file containing: /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * ' :wq Reviewed-by: Brian Paul <[email protected]>
* mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.Kenneth Graunke2013-04-231-1/+1
| | | | | | | | | | | | | | | This brings the license text in line with the MIT License as published on the Open Source Initiative website: http://opensource.org/licenses/mit-license.php Generated automatically be the following shell command: $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {} This introduces some wrapping issues, to be fixed in the next commit. Reviewed-by: Brian Paul <[email protected]>
* nv30: import new driver for GeForce FX/6/7 chipsets, and Quadro variantsBen Skeggs2012-04-141-0/+202
| | | | | | | | | | | | | | | | | | The primary motivation for this rewrite was to have a maintainable driver going forward, as nvfx was quite horrible in a lot of ways. The driver is heavily based on the design of the nv50/nvc0 3d drivers we already have, and uses the same common buffer/fence code. It also passes a HEAP more piglit tests than nvfx did, supports a couple more features, and a few more to come still probably. The CPU footprint of this driver is far far less than nvfx, and translates into far greater framerates in a lot of applications (unless you're using a CPU that's way way newer than the GPUs of these generations....) Basically, we once again have a maintained driver for these chipsets \o/ Feel free to report bugs now!
* nv30, nv40: move last files to nvfx/ and rm -rf nv30 nv40Luca Barbieri2010-03-151-148/+0
| | | | | | | | | | | This is the last nvfx unification patch. nv[34]0_fragtex.c are moved to the common directory nv[34]0_shader.h are renamed to nv[34]0_vertprog.h and moved to the common directory The separate nv30 and nv40 directories are removed from the build system
* nv30, nv40: partially non-trivially unify sampler state in nv[34]0_state.cLuca Barbieri2010-03-151-0/+30
| | | | | | Many things, like texture wrap modes and min/mag filters are common. Some others, like annisotropy and lod settings, are not.
* nv30, nv40: partially non-trivially unify nv[34]0_fragtex.cLuca Barbieri2010-03-151-44/+1
| | | | | The bulk files cannot be unified, but the frontend can and allows to share some code and simplify state_emit.c
* nv30, nv40: fully unify nv[34]0_context.hLuca Barbieri2010-03-151-1/+1
| | | | Move the remaining content to the common header.
* nv30, nv40: unify all structures and headers, except shadersLuca Barbieri2010-03-151-17/+17
| | | | | | | | | | | | | | | | | | | 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-2/+2
| | | | | | | 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.
* nouveau: Rename pipe formats.José Fonseca2010-03-021-7/+7
| | | | | These format uses were being hiden by pre-processor magic and were missed in the previous search'n'replace.
* nv: Use util_format_name().José Fonseca2010-02-141-1/+3
|
* nouveau: nv30: Remove useless variables fs, txp. Also do not change txf, as ↵Patrice Mandin2010-01-151-9/+1
| | | | | | bit 13 is in the texture format Signed-off-by: Patrice Mandin <[email protected]>
* nouveau: rewrite nouveau_stateobj to use BEGIN_RING properlyMaarten Maathuis2010-01-051-2/+2
| | | | | | | | | - 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]>
* gallium: fix more statetrackers/drivers for not using texture ↵Roland Scheidegger2009-11-261-5/+5
| | | | width/height/depth arrays
* nouveau: Support X8R8G8B8 textures on nv30, nv40 and RTs on nv10-nv40.Younes Manton2009-10-311-0/+1
|
* nouveau: nv30: use r5g6b5 as z16 formatPatrice Mandin2009-10-231-1/+1
|
* nouveau: nv30: use a8r8g8b8 as depth texture format for z24s8Patrice Mandin2009-10-221-4/+4
|
* nouveau: nv30: Do not use assert to return NULLPatrice Mandin2009-10-211-1/+1
|
* nouveau: pass nouveau_bo instead of pipe_buffer to so_ callsBen Skeggs2009-06-051-3/+4
|
* nouveau: make stateobjs start off with refcount of 1Ben Skeggs2009-03-071-0/+2
|
* Nouveau: move the definition of log2i() to headerPekka Paalanen2008-12-131-26/+1
| | | | | | | Also make the type unsigned instead of signed, since negative values do not make sense. Signed-off-by: Pekka Paalanen <[email protected]>
* nouveau: remove useless NOUVEAU_BO_SWIZZLED flag, copy/paste nv40 work to ↵Patrice Mandin2008-12-121-22/+24
| | | | swizzle textures
* nouveau: add flag for swizzled surface uploadPatrice Mandin2008-09-211-15/+19
|
* nouveau: pf_sprint_name -> pf_nameBen Skeggs2008-08-111-2/+1
|
* nv30: do not shift texture formatPatrice Mandin2008-07-121-1/+1
|
* nv30: Emit fragment program using state objectsPatrice Mandin2008-07-121-1/+1
|
* nv30: Emit fragtex state using state objectsPatrice Mandin2008-07-111-30/+52
|
* nv30: min/max lod are used for mipmap, there is just enable bit in tx_formatPatrice Mandin2008-07-091-2/+2
|
* nv30: Update defines from nouveau_class.hPatrice Mandin2008-07-091-10/+11
|
* nouveau: remove final PIPE_FORMAT_U_* usageBen Skeggs2008-05-251-4/+4
|
* nouveau: match gallium code reorginisation.Ben Skeggs2008-02-161-0/+160
That was... fun..