summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/arbvertparse.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the _mesa_parse_arb_vertex/fragment_program() functions intoBrian Paul2005-11-191-96/+0
| | | | | | | arbprogparse.c and remove arbvertparse.[ch] and arbfragparse.[ch]. Clean up quite a bit of the arb parsing code. Rewrite parser extension code to avoid a mess of string operations every time the parser was used.
* Move stuff common to vertex/fragment_program into the base class, including:Brian Paul2005-11-121-9/+9
| | | | | | Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
* remove unneeded #includesBrian Paul2005-11-071-12/+4
|
* consolidate vertex/fragment program printing into _mesa_print_program()Brian Paul2005-11-051-85/+2
|
* use _mesa_program_file_string() and _mesa_opcode_string()Brian Paul2005-11-051-54/+25
|
* Unify vertex/fragment program instuctions.Brian Paul2005-11-051-12/+12
| | | | Based on patch by Ian (#4967) but also unify instruction opcodes.
* Streamline code generation by using a fixed size instruction buffer inBrian Paul2005-11-031-4/+13
| | | | arb_program struct.
* Free old parameter list before assigning new one. FIxes memory leak.Brian Paul2005-10-291-0/+5
|
* If parsing a program fails, don't change the vertex/fragment program object.Brian Paul2005-10-291-11/+9
| | | | | | Specifically, don't attach a dummy program. This change also fixes an occasional segfault. Some code clean-ups. Use GLboolean instead of GLuint to return pass/fail.
* Include negate information in disassembly output.Keith Whitwell2005-05-041-6/+12
|
* Reduce the size of mesa's internal fragment and vertex programKeith Whitwell2005-04-211-117/+91
| | | | | representations by switching to packed structures for registers and instructions.
* minor formatting fixBrian Paul2005-01-191-2/+2
|
* Experimental PRINT instruction for NV_vertex_program.Brian Paul2004-12-161-0/+7
| | | | | Basically, this lets you put a "PRINT 'mesage', register;" statement in a vertex program to aid in debugging.
* remove redundant check of parsed program targetMichal Krol2004-10-211-15/+1
|
* Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul2004-08-251-0/+1
| | | | 1015696)
* Reorder some code so we don't upset program state when there's a parsing error.Brian Paul2004-03-301-9/+10
| | | | Be sure to assign program.Base.String pointer.
* Initial changes after moving from src/mesa/main/.Michal Krol2004-03-041-0/+229
Needs testing - it havent been even compiled yet.