summaryrefslogtreecommitdiff
path: root/src/mesa/shader/nvprogram.c
AgeCommit message (Collapse)Author
2006-12-14remove unneeded includesBrian
2006-12-14Updated includes.Brian
2006-11-04Fix for glGetVertexAttribfvNV, bug 8883Brian Paul
2006-10-29New _mesa_exec_vertex_state_program() function. Start of some re-org.Brian Paul
2006-10-10a step toward moving run-time vertex program state out of GLcontextBrian Paul
2006-08-23Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoidBrian Paul
a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver.
2006-08-15Remove extraneous trailing semicolon.Ian Romanick
2006-07-20Some structure renaming. Prefix vertex/fragment-related structs withBrian Paul
"gl_" to match other structs.
2006-06-12Add support for GL_APPLE_vertex_array_object. Several test programsIan Romanick
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.
2006-04-20check glLoadProgramNV len < 0 (bug 6679)Brian Paul
2005-11-12Move stuff common to vertex/fragment_program into the base class, including:Brian Paul
Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
2005-11-05Unify vertex/fragment program instuctions.Brian Paul
Based on patch by Ian (#4967) but also unify instruction opcodes.
2005-05-05Port Mesa to build on a P64 platform (e.g., Win64). P64 platformsKarl Schultz
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.
2004-10-02fix LoadProgramNV regression when I had fixed the RefCount bugBrian Paul
2004-06-20call ctx->Driver.NewProgram() instead of CALLOC/etc in _mesa_LoadProgramNV. ↵Brian Paul
Fixes problems found with Cg demos.
2004-04-21Fix up some assorted issues with initialization of vertex program registers.Brian Paul
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.
2004-03-29Moved from src/mesa/mainMichal Krol