aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/ffvertex_prog.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: comments, whitespace changesBrian Paul2009-01-011-13/+31
|
* mesa: increase max texture image units and GLSL samplers to 16Brian Paul2008-12-311-2/+2
| | | | | | | | | | | | | | | | The max texture coord units is still 8. All the fixed-function paths are still limited to 8 too. But GLSL shaders can use more samplers now. Note that some texcoord-related data structures are declared to be 16 elements in size rather than 8. This just simplifies the code in a few places; the extra elements aren't accessible to the user. These changes haven't been extensively tested yet, but sanity checking has been done. It should be possible to increase the max image units/samplers to 32 without doing anything special. Beyond that we'll need longer bitfields in a few places.
* mesa: restore the negate flag of dots in build_lighting.Xiang, Haihao2008-11-111-0/+3
| | | | | Dots is re-used if more than one light is enabled. Previously the negate flag of dots may affect next light.
* mesa: use NRM3 in emit_normalize_vec3() when drivers are readyBrian2008-11-081-0/+5
|
* mesa: use _bfc0 instead of _col0 when building back face lighting.Xiang, Haihao2008-11-071-3/+2
|
* mesa: drop calloc from _mesa_get_fixed_func_vertex_programShunichi Fuji2008-09-291-11/+7
| | | | Signed-off-by: Shunichi Fuji <[email protected]>
* mesa: move fixed function vertex program builder from tnl to core mesaKeith Whitwell2008-09-211-0/+1753
Also unify caching of fragment and vertex programs in shader/prog_cache.c` Brought across from gallium-0.2