summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/nvprogram.c
Commit message (Collapse)AuthorAgeFilesLines
* Move stuff common to vertex/fragment_program into the base class, including:Brian Paul2005-11-121-2/+4
| | | | | | 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-2/+1
| | | | Based on patch by Ian (#4967) but also unify instruction opcodes.
* Port Mesa to build on a P64 platform (e.g., Win64). P64 platformsKarl Schultz2005-05-051-1/+1
| | | | | | | | use 64-bit pointers and 32-bit longs. So, operations like casting pointers to unsigned long and back to pointer won't work. glheader.h now includes files to define uintptr_t, which should instead be used for this sort of operation. It is an integer type that is the same size as a pointer.
* fix LoadProgramNV regression when I had fixed the RefCount bugBrian Paul2004-10-021-5/+5
|
* call ctx->Driver.NewProgram() instead of CALLOC/etc in _mesa_LoadProgramNV. ↵Brian Paul2004-06-201-7/+5
| | | | Fixes problems found with Cg demos.
* Fix up some assorted issues with initialization of vertex program registers.Brian Paul2004-04-211-2/+2
| | | | | 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/+871