summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/nvprogram.c
Commit message (Collapse)AuthorAgeFilesLines
* a step toward moving run-time vertex program state out of GLcontextBrian Paul2006-10-101-3/+4
|
* Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoidBrian Paul2006-08-231-10/+8
| | | | | | a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver.
* Remove extraneous trailing semicolon.Ian Romanick2006-08-151-1/+1
|
* Some structure renaming. Prefix vertex/fragment-related structs withBrian Paul2006-07-201-24/+24
| | | | "gl_" to match other structs.
* Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick2006-06-121-11/+11
| | | | | | | and demos are also added. Adding basic support to drivers should be as easy as just enabling the extension, though thorough test would also be required.
* check glLoadProgramNV len < 0 (bug 6679)Brian Paul2006-04-201-2/+7
|
* 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