aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/nouveau/nv10_state_tnl.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix promotion of floats to doublesAlbert Astals Cid2020-04-181-1/+1
| | | | | | | | | Use the f variants of the math functions if the input parameter is a float, saves converting from float to double and running the double variant of the math function for gaining no precision at all Reviewed-by: Matt Turner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3969>
* nouveau: Use bitmask/ffs to iterate enabled lightsMathias Fröhlich2016-06-161-11/+16
| | | | | | | | | | | | Replaces a loop that iterates all lights and test which of them is enabled by a loop only iterating over the bits set in the enabled bitmask. v2: Use _mesa_bit_scan{,64} instead of open coding. v3: Use u_bit_scan{,64} instead of _mesa_bit_scan{,64}. Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Mathias Fröhlich <[email protected]>
* dri/nouveau: Include simple_list.h explicitly in nv*_state_tnl.c.Francisco Jerez2015-06-091-0/+2
| | | | Reviewed-by: Brian Paul <[email protected]>
* mesa: Rename 4 color component unsigned byte MESA_FORMATsMark Mueller2014-01-271-1/+1
| | | | | | | | | | | | | Change all 4 color component unsigned byte formats to meet spec for P Type formats: s/MESA_FORMAT_RGBA8888\b/MESA_FORMAT_A8B8G8R8_UNORM/g s/MESA_FORMAT_RGBA8888_REV\b/MESA_FORMAT_R8G8B8A8_UNORM/g s/MESA_FORMAT_ARGB8888\b/MESA_FORMAT_B8G8R8A8_UNORM/g s/MESA_FORMAT_ARGB8888_REV\b/MESA_FORMAT_A8R8G8B8_UNORM/g s/MESA_FORMAT_RGBX8888\b/MESA_FORMAT_X8B8G8R8_UNORM/g s/MESA_FORMAT_RGBX8888_REV\b/MESA_FORMAT_R8G8B8X8_UNORM/g s/MESA_FORMAT_XRGB8888\b/MESA_FORMAT_B8G8R8X8_UNORM/g s/MESA_FORMAT_XRGB8888_REV\b/MESA_FORMAT_X8R8G8B8_UNORM/g
* mesa: rename ColorMaterialBitmask to _ColorMaterialBitmaskBrian Paul2012-06-271-2/+2
| | | | Since it's a derived field.
* nouveau/vieux: switch to libdrm_nouveau-2.0Ben Skeggs2012-04-141-77/+64
|
* dri/nouveau: Enable NV_fog_distance on NV10 and NV20 hardwareNicholas Miell2011-11-011-3/+12
| | | | | | | Add support for NV_fog_distance to the NV10 and NV20 drivers. [ Francisco Jerez: Fix fog coord. signedness for GL_EYE_RADIAL_NV/GL_EYE_PLANE on nv20 ]
* mesa: replace NEED_SECONDARY_COLOR(), RGBA_LOGICOP_ENABLED() with inlinesBrian Paul2011-03-111-1/+1
| | | | and rename them.
* dri/nouveau: Kill a bunch of ternary operators.Francisco Jerez2010-11-151-4/+4
|
* dri/nouveau: nv10: Use rules-ng-ng headersViktor Novotný2010-11-151-41/+41
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-14/+14
|
* dri/nv10: Fake fast Z clears for pre-nv17 cards.Francisco Jerez2010-10-101-0/+3
|
* dri/nouveau: Random cleanups.Francisco Jerez2010-03-211-40/+11
|
* dri/nouveau: Implement texcoord generation.Francisco Jerez2010-03-181-2/+4
|
* dri/nouveau: Fix nv[12]x color sum.Francisco Jerez2010-03-071-2/+4
|
* Import a classic DRI driver for nv0x-nv2x.Francisco Jerez2010-02-041-0/+514