summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/nvvertexec.c
Commit message (Collapse)AuthorAgeFilesLines
* code tweaks, remove old commentsBrian Paul2006-10-301-65/+16
|
* Move gl_vertex_program_machine struct out of mtypes.h and put into nvvertexec.h.Brian Paul2006-10-301-126/+142
| | | | | Massage nvvertexec.c code to work more like s_nvfragprog.c - another step toward unifying vertex/fragment program execution.
* New _mesa_exec_vertex_state_program() function. Start of some re-org.Brian Paul2006-10-291-1/+17
|
* a step toward moving run-time vertex program state out of GLcontextBrian Paul2006-10-101-26/+26
|
* Some structure renaming. Prefix vertex/fragment-related structs withBrian Paul2006-07-201-1/+1
| | | | "gl_" to match other structs.
* More GLSL code:Michal Krol2006-04-111-2/+2
| | | | | | | | | | | | - use macros to access and modify render inputs bit-field; - un-alias generic vertex attributes for ARB vertex calls; - use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS (ARB code) in place of VERT_ATTRIB_MAX; - define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex attributes for ARB_vertex_shader; - fix generic attribute index range check in arbprogparse.c; - interface GLSL varyings between vertex and fragment shader; - use 64-bit optimised bitset (bitset.h) for render inputs;
* update some assertionsBrian Paul2005-11-121-1/+1
|
* Move stuff common to vertex/fragment_program into the base class, including:Brian Paul2005-11-121-6/+7
| | | | | | Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
* Unify vertex/fragment program instuctions.Brian Paul2005-11-051-41/+41
| | | | Based on patch by Ian (#4967) but also unify instruction opcodes.
* use VERT_RESULT_HPOS, VERT_BIT_POS tokensBrian Paul2005-11-041-5/+5
|
* fix a few bugs in SWZ executionBrian Paul2005-10-291-5/+5
|
* additional wrapper updates, bug 4468Brian Paul2005-09-191-4/+4
|
* fix typo in assertionsBrian Paul2005-07-011-2/+2
|
* Add a set of predicate functions for testing matrices instead of directlyBrian Paul2005-06-301-3/+3
| | | | | | testing the flags field. Move definition of all the MAT_FLAGs into the m_matrix.c file since they're now private.
* Reduce the size of mesa's internal fragment and vertex programKeith Whitwell2005-04-211-19/+19
| | | | | representations by switching to packed structures for registers and instructions.
* use _mesa_pow() for LIT (bug 3087)Brian Paul2005-04-211-1/+1
|
* Experimental PRINT instruction for NV_vertex_program.Brian Paul2004-12-161-2/+16
| | | | | Basically, this lets you put a "PRINT 'mesage', register;" statement in a vertex program to aid in debugging.
* tweaks to the LIT instructionsBrian Paul2004-12-151-9/+4
|
* update some type namesBrian Paul2004-11-261-6/+6
|
* Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul2004-08-251-4/+4
| | | | 1015696)
* fix another bug in get_register_pointer()Brian Paul2004-06-291-1/+3
|
* the get_register_pointer() function was pretty well broken in a few waysBrian Paul2004-06-291-16/+9
|
* Fix up some assorted issues with initialization of vertex program registers.Brian Paul2004-04-211-83/+91
| | | | | Some need to be set per-vertex, other per-primitive. Cleared that up. Only need to init temp/result registers if executing an NV vertex program.
* Moved from src/mesa/mainMichal Krol2004-03-291-0/+839