summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vb_vertex.c
Commit message (Collapse)AuthorAgeFilesLines
* GLSL fixes:Michal Krol2006-03-211-1/+1
| | | | | | | | | | | | | | | | | | - generate error on NULL pointers in glShaderSourceARB; - reinstall program object, if current, in glLinkProgramARB; - vertex and fragment shaders are optional in program object; - floor asm was wrongly computed for x86 back-end; - allow for (void) idiom in function prototypes; - all fixed-state uniforms are updated; - local variable initializers are working; - implement texture* and shadow* functions for vertex processor; - generate error if too many arguments in general constructor; - trim unused data in general constructor; - struct r-value field select was badly relocated; Changes: - add derived state gl_fog_attrib::_Scale; - add derived state gl_light::_CosCutoffNeg;
* Add ARB_vertex_shader stage just before render stage.Michal Krol2006-02-131-2/+5
| | | | If enabled, all other stages, except render, are disabled.
* Simplify the pipeline_stage structureKeith Whitwell2005-04-221-141/+74
| | | | | | | | | | - remove input/output fields, input tracking removed. - remove state fields, the validate function now called on every statechange. - add an explicit 'create' function. Add in code to build vertex program to implement current t&l state. Still disabled, but turn on with a #define in t_vp_build.h.
* mesa-tnl-0-to-NULL.patch from Jeff MuizelaarKeith Whitwell2005-02-101-4/+4
|
* added some handy debug code (disabled)Brian Paul2004-08-101-0/+25
|
* minor commentsBrian Paul2004-07-231-0/+2
|
* Add EXT_vertex_cull support to mesaKeith Whitwell2004-05-101-0/+2
|
* Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragmentBrian Paul2004-04-231-5/+4
| | | | | | | program is enabled AND the currently bound program is valid. Check _Enable instead of Enable to prevent things from blowing up when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually defining a program.
* Merge vtx-0-2-branchKeith Whitwell2003-11-241-37/+19
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-2/+1
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* tweak pipeline flags for vertex programmingBrian Paul2002-10-311-6/+8
|
* updated email addressesBrian Paul2002-10-291-2/+2
|
* Header file clean-up:Brian Paul2002-10-241-2/+2
| | | | | | | | 1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
* bring in changes from dri tcl branchKeith Whitwell2002-04-091-4/+5
|
* Replaced ClipEnabled[] array and _AnyClip with ClipPlanesEnabled bitmask.Brian Paul2002-03-291-3/+3
|
* Clean-up/renaming of the per-vertex attribute bits, specifically, theBrian Paul2002-01-221-8/+8
| | | | | | VERT_BIT_* flags are new and used in many places (esp in T&L code). Updated some comments for doxygen. Various code clean-ups.
* Replace old matrix stacks with new code based on struct matrix_stack.Brian Paul2001-12-181-12/+15
| | | | | | Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).
* vertex program check-inBrian Paul2001-12-141-8/+8
|
* rerun vertex stage on _MESA_NEW_NEED_EYE_COORDSKeith Whitwell2001-05-301-1/+2
|
* Removed DD_Z_NEVER.Brian Paul2001-03-291-8/+6
| | | | | | Replaced SEPERATE with SEPARATE. Renumbered _NEW_ flags. Removed _NEW_COLORTABLE.
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-38/+36
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-071-5/+5
| | | | of potential problems
* more namespace clean-upsBrian Paul2001-03-031-11/+11
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-9/+9
|
* Removed knowledge of swrast Clear/Bitmap/Accum/Draw/Read/CopyPixelsKeith Whitwell2001-01-291-16/+15
| | | | | | | | | | | | functions from core mesa -- if drivers need these fallbacks they must now call them themselves. Introduced hooks for clip-vertex-interpolation and the rendering of clipped lines and polygons. Allows drivers to interpolate their hardware-format vertices directly. Used in dri drivers to replace fastpath code. Slight optimizations to pipeline build/run routines.
* Fix crash in book/stencil.Keith Whitwell2001-01-131-23/+33
| | | | | Allow drivers to perform the perspective divide themselves. Assembly to do cliptesting without perspective divide for size-4 vectors.
* Major rework of tnl moduleKeith Whitwell2000-12-261-0/+311
New array_cache module Support 8 texture units in core mesa (now support 8 everywhere) Rework core mesa statechange operations to avoid flushing on many noop statechanges.