summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/arbprogram.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Remove some miscellaneous NV program stuff from arbprogram.c.Kenneth Graunke2012-10-161-25/+1
| | | | | Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* mesa: Simplify _mesa_BindProgram() by removing NV program remnants.Kenneth Graunke2012-10-161-34/+9
| | | | | | | | Without NV programs, there's no need for the compatible_program_targets function. A simple (non-)equality check will do. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* mesa: Remove support for parsing NV fragment programs.Kenneth Graunke2012-10-161-8/+0
| | | | | Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* mesa: Remove support for GL_VERTEX_STATE_PROGRAMs and their execution.Eric Anholt2012-10-151-1/+0
| | | | Reviewed-by: Brian Paul <[email protected]>
* mesa: Remove support for parsing NV vertex programs.Eric Anholt2012-10-151-31/+3
| | | | Reviewed-by: Brian Paul <[email protected]>
* mesa: use gl_program cast wrappersBrian Paul2012-07-181-2/+2
| | | | | | | In a few cases, remove unneeded casts. And fix a few other const-correctness issues. Reviewed-by: Kenneth Graunke <[email protected]>
* mesa: Don't skip glGetProgramLocalParam4dvARB if there was already an error.Eric Anholt2011-07-061-64/+53
| | | | | | | Like the previous commit, but fixes ARB_vertex_program/getlocal4d-with-error. v2: Move the success case line into the conditional, use ASSIGN_4V more.
* mesa: Don't skip glGetProgramEnvParam4dvARB if there was already an error.Eric Anholt2011-07-061-66/+46
| | | | | | | | | | Fixes a bug caught by oglconform, and now piglit ARB_vertex_program/getenv4d-with-error. The wrapping of an existing GL function made it so that we couldn't distinguish an error in looking up our arguments from an existing error. Instead, make a helper function to choose the param, and use it from multiple callers. v2: Move the success case line into the conditional, use COPY_4V more.
* mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul2010-06-101-4/+4
|
* mesa: move arbprogram.[ch] to main/Brian Paul2010-06-101-0/+940
|
* Moved to src/mesa/shaderMichal Krol2004-03-291-721/+0
|
* add missing else statementsBrian Paul2004-03-191-6/+6
|
* Make it easier for drivers to create "subclasses" of the existingKeith Whitwell2004-02-141-2/+11
| | | | | | | program struct hierarchy. Add driver callbacks to enable the above and make it possible to track more changes to program objects.
* added some missing FLUSH_VERTICES callsBrian Paul2004-01-171-0/+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-21/+21
| | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
* Assorted casts to silence g++ warnings.Brian Paul2003-09-191-2/+4
|
* 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-0/+6
| | | | Use GL_CLIENT_ACTIVE_TEXTURE when returning texcoord array values in get.c
* move GL_MESA_program_debug code into program.cBrian Paul2003-09-051-207/+0
|
* Moved some shared vertex/fragment program code into new program.c file.Brian Paul2003-08-311-34/+0
| | | | | | | 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-13/+15
| | | | explicit casts and/or tweaking constant and variable definitions.
* Re-org of register files for vertex/fragment programs. Will be easier toBrian Paul2003-08-171-23/+12
| | | | hook in global state references, etc. for ARB programs.
* remove temporary prototypesBrian Paul2003-08-061-18/+2
|
* Restore more code lost during last big merge.Brian Paul2003-07-221-0/+33
| | | | Rename colortable-related functions.
* Implement debugger callback, etc for vertex programs. Misc clean-ups.Brian Paul2003-07-221-5/+14
|
* Initial implementation of GL_MESA_program_debug - a vertex/fragment programBrian Paul2003-07-211-1/+215
| | | | debugging extension.
* 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/+1
|
* glBindProgramARB dispatches to glBindProgramNV (remove _mesa_BindProgramARB).Brian Paul2003-05-281-276/+0
| | | | Removed VertexAttrib*ARB() stubs.
* Use ctx->Const.MaxTextureImageUnits and MaxTextureCoordUnits in more places.Brian Paul2003-05-011-9/+1
| | | | Misc vertex array / vertex program changes.
* alias ARB/NV program functions where possibleBrian Paul2003-04-211-21/+0
|
* minor re-org of program matrix, program local parameter limitsBrian Paul2003-04-181-23/+17
|
* fix some glBindProgramNV/ARB detailsBrian Paul2003-04-171-12/+23
|
* Added arbprogram.c to Makefiles.Brian Paul2003-04-171-65/+51
| | | | | 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-59/+475
|
* Some groundwork for GL_ARB_vertex/fragment_program.Brian Paul2003-04-111-0/+601