Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-02-14 | mesa: added _mesa_clone_vertex/fragment_program() | Brian Paul | |
To reduce casting elsewhere... | |||
2010-02-01 | mesa: change _mesa_find_free_register() to find multiple free regs | Brian Paul | |
Before, _mesa_find_free_register() would scan the given shader to find a free/unused register of the given type. But subsequent calls would return the same register again. This caused a failure in the _mesa_remove_output_reads() function which sometimes needs several free temps. Now use a new function which build a vector of 'used' flags and another function which searches that vector for an unused register starting at a position that's incremented for each call. Fixes fd.o bug 26317. Note that a regression test for this has been added to the glean/glsl1 test. (cherry picked from commit e0d01c9d7f46ccd531f8dd1a04c5ac067200ef1e) | |||
2009-06-17 | mesa: added _mesa_postprocess_program() to aid shader debugging | Brian Paul | |
2008-09-18 | mesa: prefix a bunch of #include lines with "main/". | Brian Paul | |
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code... | |||
2008-07-29 | mesa: refactor: move _mesa_Bind/Gen/DeleteProgram() to arbprogram.c | Brian Paul | |
No API-level functions now in program.c. | |||
2008-07-12 | r500: Add "Not quite SSA" and dead code elimination pass | Nicolai Haehnle | |
In addition, this pass fixes non-native swizzles. | |||
2008-05-18 | fixes to _mesa_combine_programs(), from gallium-0.1 | Brian Paul | |
2008-05-14 | added _mesa_combine_parameter_lists() | Brian Paul | |
cherry-picked from gallium-0.1 | |||
2008-05-14 | mesa: added _mesa_insert_instructions() | Brian Paul | |
Also, use new _mesa_free_instructions() in a few places. cherry-picked from gallium-0.1 | |||
2008-05-06 | implement full reference counting for vertex/fragment programs | Brian | |
Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test. | |||
2007-08-23 | For _mesa_share_state(), update the context's references to the new share ↵ | Brian | |
group's objects (Shane Blackett) | |||
2007-02-09 | move GL_MESA_program_debug funcs to prog_debug.c | Brian | |
2006-12-14 | Remove some moved extern decls. | Brian | |
2006-12-14 | Move many functions into new files. | Brian | |
2006-12-14 | New functions for cloning programs and parameter lists. | Brian | |
2006-12-13 | Checkpoint of work for new GLSL compiler back-end. Lots of assorted changes. | Brian | |
2006-11-17 | add STATE_INTERNAL_DRIVER, etc (Rune Petersen) | Brian Paul | |
2006-11-15 | Add a size parameter to _mesa_add_unnamed_constant() and | Brian Paul | |
_mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now... | |||
2006-11-15 | Add new _mesa_lookup_parameter_constant() to search for a GLfloat4 constant | Brian Paul | |
in a parameter list. Use it in _mesa_add_named_constant() and _mesa_add_unnamed_constant() to avoid duplication of identical constants. | |||
2006-11-02 | Rename _mesa_IsProgram() to _mesa_IsProgramARB() to avoid collision with the | Brian Paul | |
OpenGL 2.0 function of the same name. | |||
2006-09-20 | Add a new internal program parameter value STATE_TEXRECT_SCALE which | Keith Whitwell | |
provides 1/width and 1/height of the active texture, useful for implementing ARB_texture_rectangle support on hardware which only supports ARB_npot-style texturing. | |||
2006-09-20 | Export _mesa_print_alu_instruction() to allow drivers to roll their | Keith Whitwell | |
own debug code for programs with driver-private opcodes. Remove redundant loop in _mesa_num_inst_src_regs(). | |||
2006-08-25 | added _mesa_alloc_instructions() utility function | Brian Paul | |
2006-08-24 | Added _mesa_realloc_instructions() utility function. | Brian Paul | |
Fixed/updated comments for parameter list functions. | |||
2006-08-23 | Added _mesa_lookup_program() and _mesa_lookup_bufferobj() functions to avoid | Brian Paul | |
a lot of casting elsewhere. Use _mesa_lookup_texture() in tdfx driver, use _mesa_lookup_bufferobj() in r300 driver. | |||
2006-07-20 | Some structure renaming. Prefix vertex/fragment-related structs with | Brian Paul | |
"gl_" to match other structs. | |||
2006-05-24 | Roll _mesa_free_parameters() into calling function (the only caller). | Brian Paul | |
Replace assert(0) with _mesa_warning(). Use new _mesa_align_realloc() function. New comments, clean-ups. | |||
2006-05-24 | use GLbitfield for StateFlags, improved comments | Brian Paul | |
2005-11-22 | track state flags which might invalidate parameter lists | Keith Whitwell | |
2005-11-19 | No longer derive 'ati_fragment_shader' from 'program' class. Only the | Brian Paul | |
program->Id and program->RefCount fields were used and ATI fragment shaders didn't have too much in common with ARB/NV vertex/fragment programs anyway. | |||
2005-11-12 | Move 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-05 | consolidate vertex/fragment program printing into _mesa_print_program() | Brian Paul | |
2005-11-05 | don't need MAKE_SWIZZLE() macro | Brian Paul | |
2005-11-05 | Replace parameter_type enum in program.[ch], use register_file enums instead. | Brian Paul | |
2005-11-03 | added a const, clean-up | Brian Paul | |
2005-05-10 | reduce the use of malloc and strdup for parameter lists | Keith Whitwell | |
2005-04-21 | Reduce the size of mesa's internal fragment and vertex program | Keith Whitwell | |
representations by switching to packed structures for registers and instructions. | |||
2005-01-11 | prototype _mesa_init_ati_fragment_shader() | Brian Paul | |
2004-10-02 | fix LoadProgramNV regression when I had fixed the RefCount bug | Brian Paul | |
2004-09-10 | More updates for Doxygen. | Brian Paul | |
2004-08-14 | fix some memory leaks (bug #1002030) | Brian Paul | |
2004-03-29 | Moved from src/mesa/main | Michal Krol | |