summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs.Eric Anholt2009-01-071-1/+1
| | | | | | | | There was a note in state.c about _Active deserving to die, and there were potential issues with it due to i965 forgetting to set _UseTexEnvProgram. Removing both simplifies things. Reviewed-by: Brian Paul <[email protected]>
* tnl: Fix zeroing of the 3ub part of a 3ub+1ub attrib pair in SSE.Guillaume Melquiond2008-12-091-1/+3
| | | | Bug #16520.
* tnl: Optimize SSE load[23]f_1 since they don't need the identity swizzle.Guillaume Melquiond2008-12-091-2/+4
| | | | | | | SSE movss from memory zeroes out everything above the destination dword, so we get the (a, 0) or (a, 0, 0) result that these functions needed. Bug #16520.
* tnl: Fix typo that resulted in fallback from SSE for EMIT_3UB_3F_RGB/BGR.Guillaume Melquiond2008-12-091-1/+1
| | | | Bug #16520
* tnl: Avoid undefined input value use in insert_3f_viewport_2().Guillaume Melquiond2008-12-091-1/+1
| | | | Bug #16520.
* mesa: vertex emit debug code (disabled)Brian Paul2008-10-081-22/+58
|
* mesa: asst updates for VMSJouk Jansen2008-09-291-3/+4
|
* mesa: move fixed function vertex program builder from tnl to core mesaKeith Whitwell2008-09-214-1593/+10
| | | | | | Also unify caching of fragment and vertex programs in shader/prog_cache.c` Brought across from gallium-0.2
* mesa: move rastpos helper to tnlKeith Whitwell2008-09-212-0/+509
|
* mesa: fix null ptr deref bug in _tnl_InvalidateState(), bug 15834Brian Paul2008-09-181-6/+14
|
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-1817-76/+76
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* mesa: bump MAX_INSN to 350Brian Paul2008-08-281-1/+1
|
* init machine->Samplers (fixes vertex program texture fetches)Brian Paul2008-07-011-0/+2
|
* Compute/setup fog coordinates even if vertex program is enabled.H. Verbeet2008-06-162-4/+4
| | | | | Only when fog's enabled, of course. In the usual case, this is just a pass-through operation.
* Don't compute vertex fog when fragment program is active.H. Verbeet2008-06-161-7/+7
|
* [t_vp_build] Fix refcounting-related memory leakNicolai Haehnle2008-06-021-3/+3
| | | | | | | This memory leak is identical to the earlier one in texenvprogram. Fixed by not creating an additional reference to new programs in cache_item. On top of that, remove some duplicated state setting.
* fix merge collisionBrian Paul2008-05-161-3/+1
|
* free(key) in _tnl_UpdateFixedFunctionProgram()Shunichi Fuji2008-05-161-0/+3
|
* Fix memory leak in _tnl_UpdateFixedFunctionProgramShunichi Fuji2008-05-161-0/+2
|
* fix refcounting bugs in tnl/tex program cachesBrian Paul2008-05-072-26/+27
|
* implement full reference counting for vertex/fragment programsBrian2008-05-061-1/+2
| | | | | Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test.
* glcore: drop outdated sources files intented for xorgGeorge Sapountzis2008-04-231-34/+0
|
* s/x86_init_func/x86_init_func_size (fixes bug 15119)Brian2008-03-191-1/+1
|
* set outputs_safe to 0 as it's possible for the code generationAlan Hourihane2008-03-191-1/+1
| | | | | | to slip over the allocated memory for the vb. pull in sse fixes from gallium-0.1
* t_vp_build: fix temporary register allocation to minimise the allocationsHans de Goede2008-01-021-8/+11
|
* Updates of some OpenVMS makefiles.joukj2007-11-301-1/+2
|
* Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesajoukj2007-11-303-147/+209
|\
| * New ctx->Driver.Map/UnmapTexture() functions for accessing textures from ↵Brian2007-11-291-0/+48
| | | | | | | | t_vb_program.c
| * cleanups, commentsBrian2007-11-291-27/+28
| |
| * Move _mesa_load_tracked_matrices() from TNL module to prog_statevars.cBrian2007-11-292-99/+3
| |
| * fix position invariant vertex programs for sw-tnlRoland Scheidegger2007-11-151-52/+151
| | | | | | | | | | | | do the same math as for fixed function pipe, including user clip planes. (mostly resurrected from the dead t_vb_arbprogram.c code)
| * Fix mem leak in SSE code generation path (Michel Dänzer) and don't crash if ↵Brian2007-11-031-3/+13
| | | | | | | | | | | | _mesa_exec_malloc() returns NULL. (picked from mesa_7_0_branch)
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaJouk2007-10-312-18/+16
|\|
| * properly init dst reg's CondMask/Swizzle fieldsBrian2007-10-231-3/+3
| |
| * fix fog, rescale_normals bugs (from gallium branch)Brian2007-10-151-3/+5
| |
| * minor fog calc cleanupRoland Scheidegger2007-10-031-12/+8
| |
* | Update of OpenVMS makefiles for the use of "new" include file conventionJouk2007-10-031-1/+3
| |
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaJouk2007-10-022-8/+27
|\|
| * fix VBO-split infinite loop (bug 12164)Brian2007-09-291-4/+3
| |
| * revert a956184f70733bd22e2bbee515386da12302963fMatthieu Castet2007-09-161-1/+1
| |
| * Disable an assert for hw that do not emit POS as first vertex attrib, like nv1xPatrice Mandin2007-09-061-1/+1
| |
| * Fix problem introduced in previous commit in which a state variable ↵Brian2007-08-311-8/+23
| | | | | | | | | | | | | | (uniform) is written to. (see bug 12239) Also, added some assertions to the emit_arg() and emit_dst() functions to catch this kind of error in the future.
| * i965: Calculate the positional light in homogeneous coordinates.Xiang, Haihao2007-08-311-0/+5
| | | | | | | | fix bug#11009
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaJouk2007-07-258-1859/+25
|\|
| * Remove ctx->Point._Size and ctx->Line._Width.Brian2007-07-211-1/+1
| | | | | | | | | | | | The clamping for these values depends on whether we're drawing AA or non-AA points, lines. Defer clamping until drawing time. Drivers could compute and keep clamped AA and clamped non-AA values if desired.
| * Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian2007-07-046-24/+24
| | | | | | | | of -I flags.
| * remove obsolete t_save_api.cBrian2007-06-281-1834/+0
| |
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesaJouk2007-06-083-19/+43
|\|
| * Fix point attentuation problem (bug 11042)Brian2007-05-231-4/+6
| | | | | | | | | | ctx->Point._Attentuation was computed in wrong place and the VB->Eye coord Z array wasn't indexed correctly in run_point_stage().
| * fog: fix potential issues with generated vp using fogRoland Scheidegger2007-05-221-8/+15
| | | | | | | | | | Change the generated vertex programs (tnl/brw) to follow the same logic as the tnl fog wrt using absolute value, and sync them up a bit (untested).