summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/nvprogram.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Use VERT_ATTRIB_* indexed array in gl_array_object.Mathias Fröhlich2011-11-291-4/+4
| | | | | | | | | | | | Replace the distinct struct gl_client_array members in gl_array_object by an array of gl_client_arrays indexed by VERT_ATTRIB_*. Renumber the vertex attributes slightly to keep the old semantics of the distinct array members. Make use of the upper 32 bits in VERT_BIT_*. Update all occurances of the distinct struct members with the array equivalents. Signed-off-by: Mathias Froehlich <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* nvprogram: Silence "warning: unused parameter ‘ctx’"Ian Romanick2011-09-091-1/+1
|
* mesa: use gl_constant_value type in _mesa_[Get]ProgramNamedParameter4fNV()Brian Paul2011-08-041-10/+10
|
* mesa: Include mtypes.h in files that use gl_context struct.Vinson Lee2011-01-051-0/+1
| | | | | | Directly include mtypes.h if a file uses a gl_context struct. This allows future removal of headers that are not strictly necessary but indirectly include mtypes.h for a file.
* mesa: upgrade to glext.h version 66Brian Paul2010-11-171-4/+4
| | | | | The type of the num/count parameter to glProgramParameters4[df]vNV() changed so some API dispatch code needed updates too.
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-2/+2
|
* glsl: make compiler options per-targetLuca Barbieri2010-09-081-1/+3
| | | | | | | This allows us to specify different options, especially useful for chips without unified shaders. Signed-off-by: Ian Romanick <[email protected]>
* mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul2010-06-101-6/+6
|
* mesa: move nvprogram.[ch] to main/Brian Paul2010-06-101-0/+917
|
* these files now live in the shader directoryBrian Paul2004-03-301-871/+0
|
* added some missing FLUSH_VERTICES callsBrian Paul2004-01-171-0/+9
|
* added blurb about NVIDIA extensionsBrian Paul2004-01-141-2/+10
|
* Initial work for bounds checking of vertex arrays and vertex buffer objects.Brian Paul2003-10-221-1/+1
| | | | | | Only glDrawArrays() done so far. Simplified glVertex/Color/etcPointer functions. Misc casts added here and there.
* Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett2003-10-211-26/+26
| | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
* More work on ARB_vertex_buffer_object.Brian Paul2003-09-171-1/+1
| | | | | Use GLubyte * instead of void * for gl_client_array->Ptr to simplify upcoming pointer arithmetic changes.
* Some work on ARB_vertex_buffer_object.Brian Paul2003-09-151-1/+1
| | | | Use GL_CLIENT_ACTIVE_TEXTURE when returning texcoord array values in get.c
* Moved some shared vertex/fragment program code into new program.c file.Brian Paul2003-08-311-377/+19
| | | | | | | Implemented new program_parameter_list type and functions for dealing with named program parameters, constants and GL state references. New state_index enum for describing GL state referenced within ARB vertex/ fragment programs. Plus, functions for fetching named GL state.
* Silence compiler warnings about implicit casts or conversions by supplying ↵Karl Schultz2003-08-301-2/+2
| | | | explicit casts and/or tweaking constant and variable definitions.
* register file changesBrian Paul2003-08-171-16/+16
|
* Implement debugger callback, etc for vertex programs. Misc clean-ups.Brian Paul2003-07-221-109/+11
|
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-1/+1
|
* fix GL_CURRENT_VERTEX_ATTRIB_ARB queriesBrian Paul2003-06-101-0/+3
|
* glBindProgramARB dispatches to glBindProgramNV (remove _mesa_BindProgramARB).Brian Paul2003-05-281-12/+20
| | | | Removed VertexAttrib*ARB() stubs.
* alias ARB/NV program functions where possibleBrian Paul2003-04-211-3/+3
|
* fix some glBindProgramNV/ARB detailsBrian Paul2003-04-171-2/+14
|
* Added arbprogram.c to Makefiles.Brian Paul2003-04-171-1/+2
| | | | | Added display list support for GL_NV_fragment_program. Assorted clean-ups.
* checkpoint: more infrastructure for GL_ARB_vertex/fragment_program.Brian Paul2003-04-171-67/+93
|
* Some groundwork for GL_ARB_vertex/fragment_program.Brian Paul2003-04-111-22/+29
|
* basic work on GL_ARB_vertex_buffer_objectBrian Paul2003-04-091-0/+7
|
* fix string compare bugBrian Paul2003-04-081-2/+6
|
* Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul2003-04-081-3/+0
| | | | | | Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now.
* fragment program named constants and named program parameters basically work nowBrian Paul2003-04-051-15/+18
|
* proper dispatch for NV_fragment_program functionsBrian Paul2003-03-291-35/+38
|
* Rewrite of fragment program named parameters, constants, etc. Not done.Brian Paul2003-03-191-105/+33
|
* Clean-up of parser error handling/reporting.Brian Paul2003-03-141-26/+32
| | | | Basic fragment program texture instructions are limping along.
* fix/improve glAreTextures/ProgramsResident (Jose Fonseca)Brian Paul2003-03-101-23/+19
|
* Fix function definitions for Windows.Karl Schultz2003-02-271-13/+13
|
* assorted clean-ups and improvementsBrian Paul2003-02-251-9/+19
|
* added _mesa_find_line_column()Brian Paul2003-02-231-1/+36
|
* more work on DEFINE/DECLARATION statements, symbol tablesBrian Paul2003-02-161-23/+99
|
* cast GLfloatAlan Hourihane2003-02-101-8/+14
|
* First batch of code for GL_NV_fragment_program.Brian Paul2003-01-141-0/+1182
Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.