summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add state vars for color matrix, pixel transfer scale&biasBrian2007-10-302-0/+19
|
* start using program cacheBrian2007-10-301-5/+70
|
* added pixel_transfer_cacheBrian2007-10-302-1/+7
|
* added prog_cache.cBrian2007-10-301-0/+1
|
* Program cache functions.Brian2007-10-302-0/+246
| | | | | Generic version of cache code from texenvprogram.c and t_vp_build.c Not used by those files just yet, will also be used for pixel_transfer programs.
* tgsi_translate_mesa_program: Don't crash when program->Parameters == NULL.Michel Dänzer2007-10-301-1/+2
|
* Disable debug code.Brian2007-10-302-2/+10
| | | | | | Basic code for PixelTranslfer ops and glDrawPixels works now. A pixel transfer program is generated and combined with the current fragment shader.
* Remove obsolete filesBrian2007-10-303-233/+0
|
* Rename file since it's now a state atomBrian2007-10-303-1/+198
|
* checkpoint: combine pixel transfer and user shader for glDrawPixelsBrian2007-10-301-1/+33
|
* make st_upload_constants() publicBrian2007-10-302-5/+52
|
* added pixel_transfer_program fieldBrian2007-10-301-0/+2
|
* added st_update_pixel_transfer atomBrian2007-10-302-1/+3
|
* bug fixes, implement state atom for pixel transferBrian2007-10-301-11/+41
|
* check for NULL ptr in _mesa_print_parameter_list()Brian2007-10-301-0/+3
|
* Set _NEW_BUFFERS in glRead/DrawBuffer().Brian2007-10-304-9/+5
| | | | | | | | | Previously, we set _NEW_PIXEL and _NEW_COLOR in these functions, respectively. That correponds to the GL attribute groups, but doesn't make much sense otherwise. This could improve validation efficiency in a few places too. It looks like all the drivers are already checking for _NEW_BUFFERS in the right places (since that's the bit for FBO state) so we can trim out _NEW_PIXEL and _NEW_COLOR at any time.
* comment unused 'cb' fieldBrian2007-10-301-0/+1
|
* update comments, fix typoBrian2007-10-301-4/+3
|
* make _mesa_combine_programs() params constBrian2007-10-302-2/+4
|
* added st_pixeltransfer.cBrian2007-10-301-0/+1
|
* Initial version of st_get_pixel_transfer_program().Brian2007-10-302-0/+167
| | | | For generating fragment programs which implement pixel transfer ops.
* Added _mesa_combine_programs() for concatenating two programs.Brian2007-10-302-0/+157
|
* added _mesa_combine_parameter_lists()Brian2007-10-302-0/+43
|
* Switch to using LLVM builder.Zack Rusin2007-10-303-253/+217
| | | | | Instead of creating all the instructions by hand, switching to using LLVMBuilder.
* Refactor vector extraction.Zack Rusin2007-10-302-214/+89
|
* Export true C based builtins to a file of its own.Zack Rusin2007-10-303-176/+215
|
* Rename to better reflect what it's really doing.Zack Rusin2007-10-301-1/+1
|
* Code cleanups.Zack Rusin2007-10-302-17/+22
|
* Cleanup constant vector handling a bit.Zack Rusin2007-10-303-32/+22
|
* Dump only relevant functions when in the debugging output.Zack Rusin2007-10-301-7/+13
|
* Change the way we handle temporaries in LLVM translation.Zack Rusin2007-10-307-350/+376
| | | | | | | TGSI uses TEMP, among others, as a way of passing arguments from one function to another. Instead of trying to figure out which temp's a function needs and trying to dynamically adjust its signature just pass the whole array of temporaries to them.
* Enable immediates in TGSI and work with them in LLVM code.Zack Rusin2007-10-304-16/+37
| | | | | Enables immediates by default in the TGSI translation code and adds code handling it in llvm tgsi translation.
* minor code simplificationBrian2007-10-291-8/+6
|
* fix memcpy bugsBrian2007-10-291-2/+2
|
* Rewrite update_program() to use _mesa_get_fixed_func_fragment/vertex_program().Brian2007-10-291-52/+74
|
* Remove ctx field from texenvprog_cacheBrian2007-10-292-13/+11
|
* refactoring to begin removing dependency on tnl contextBrian2007-10-291-6/+33
|
* simplify getting of current frag progBrian2007-10-291-6/+1
|
* Refactor _tnl_UpdateFixedFunctionProgram().Brian2007-10-292-35/+57
| | | | New _mesa_get_fixed_func_vertex_program() function...
* Refactor _mesa_UpdateTexEnvProgram()Brian2007-10-292-32/+39
| | | | Will be replaced by _mesa_get_fixed_func_fragment_program().
* Rename 'mms-config.' to 'mms.config'.Michal Krol2007-10-2922-21/+21
| | | | | It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'.
* Update intel_is_format_supported.José Fonseca2007-10-291-12/+10
|
* Add detailed comments.Michal Krol2007-10-291-7/+77
|
* Make it compile under linux.Michal Krol2007-10-2913-65/+104
| | | | | Move pipe_region/surface_reference functions to pipe/p_inlines.h. Remove #include "p_util.h" from pipe/p_context.h.
* Make gallium compile in win32.Michal Krol2007-10-2927-201/+366
| | | | | | Use FREE, MALLOC, CALLOC, GETENV wrappers. Silence compiler warnings. Add proper copyrights.
* remove dead codeBrian2007-10-291-77/+0
|
* check for signed vs. unsigned in st_get_format_info() - fixes accum buffer ↵Brian2007-10-291-6/+12
| | | | failure
* fix bad fragment shader pointer assignmentBrian2007-10-291-1/+1
|
* simplify code which access the current vertex/fragment shadersBrian2007-10-292-43/+5
|
* Disable the else clause which assigns the default fragment program to ↵Brian2007-10-291-0/+2
| | | | | | | | ctx->FragmentProgram._Current The _Current field should either point to the fragment program which is to be run (GLSL, ARB_f_p, fixed-func-generated, etc) or be NULL if conventional fixed-function code is to be used. Matches TNL program code.