summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/arbprogram.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: silence compiler warning at -O2Brian Paul2009-01-201-0/+1
|
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-181-6/+6
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* mesa: refactor: move _mesa_Bind/Gen/DeleteProgram() to arbprogram.cBrian Paul2008-07-291-0/+202
| | | | No API-level functions now in program.c.
* Bug #13492: Only call ProgramStringNotify if program parsing succeeded.Eric Anholt2008-01-151-2/+2
| | | | | | Wine intentionally tries some out-of-spec programs to test strictness, and calling ProgramStringNotify on the results of a failed program parse resulted in crashes in the 965 driver.
* alias ProgramEnvParameter4xyARB and ProgramParameter4xyNV (bug #12935)Roland Scheidegger2007-11-091-3/+26
| | | | these should be the same functions (as per spec).
* fix GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB bug (10787)Brian2007-04-281-4/+12
|
* fix g++ warnings/errorsBrian2007-01-231-2/+2
|
* Moved NumTexInstructions, NumTexIndirections, etc. into gl_program sinceBrian2007-01-091-6/+6
| | | | they can now apply to vertex programs.
* fix several program-related bugs (bug 9136)Brian Paul2006-11-231-2/+8
|
* fix error msgBrian Paul2006-11-041-1/+1
|
* fix for glGetVertexAttribfvARB, bug 8883Brian Paul2006-11-041-1/+6
|
* Rename _mesa_IsProgram() to _mesa_IsProgramARB() to avoid collision with theBrian Paul2006-11-021-1/+25
| | | | OpenGL 2.0 function of the same name.
* Add support for GL_EXT_gpu_program_parameters. Any driver that enablesIan Romanick2006-08-151-0/+88
| | | | | either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well.
* Some structure renaming. Prefix vertex/fragment-related structs withBrian Paul2006-07-201-7/+7
| | | | "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.
* don't generate GL_INVALID_ENUM if GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB, ↵Tilman Sauerbeck2006-05-301-0/+1
| | | | which is actually handled
* More GLSL code:Michal Krol2006-04-111-6/+3
| | | | | | | | | | | | - use macros to access and modify render inputs bit-field; - un-alias generic vertex attributes for ARB vertex calls; - use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS (ARB code) in place of VERT_ATTRIB_MAX; - define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex attributes for ARB_vertex_shader; - fix generic attribute index range check in arbprogparse.c; - interface GLSL varyings between vertex and fragment shader; - use 64-bit optimised bitset (bitset.h) for render inputs;
* Remove the _mesa_parse_arb_vertex/fragment_program() functions intoBrian Paul2005-11-191-18/+8
| | | | | | | arbprogparse.c and remove arbvertparse.[ch] and arbfragparse.[ch]. Clean up quite a bit of the arb parsing code. Rewrite parser extension code to avoid a mess of string operations every time the parser was used.
* Unify vertex/fragment program instuctions.Brian Paul2005-11-051-2/+1
| | | | Based on patch by Ian (#4967) but also unify instruction opcodes.
* Re-org and clean-up of vertx/fragment program limits (instructions,Brian Paul2005-11-011-151/+115
| | | | | | | temporaries, parameters, etc). glGetProgramivARB() now returns all the right things. Updated i915 and r300 code to initialize program native limits and current program's native instruction/temporary/etc counts.
* 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 if/else bug in _mesa_ProgramEnvParameter4fARB (fdo bug 1645)Brian Paul2004-10-161-2/+2
|
* fix GetVertexAttrib problemBrian Paul2004-10-061-1/+4
|
* ARB_fp support for GL_ARB_draw_buffers (Karl Rasche)Brian Paul2004-10-041-2/+2
|
* Moved from src/mesa/main.Michal Krol2004-03-101-0/+721