summaryrefslogtreecommitdiff
path: root/src/mesa/tnl
AgeCommit message (Collapse)Author
2009-01-07mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs.Eric Anholt
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 <brianp@vmware.com>
2008-12-09tnl: Fix zeroing of the 3ub part of a 3ub+1ub attrib pair in SSE.Guillaume Melquiond
Bug #16520.
2008-12-09tnl: Optimize SSE load[23]f_1 since they don't need the identity swizzle.Guillaume Melquiond
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.
2008-12-09tnl: Fix typo that resulted in fallback from SSE for EMIT_3UB_3F_RGB/BGR.Guillaume Melquiond
Bug #16520
2008-12-09tnl: Avoid undefined input value use in insert_3f_viewport_2().Guillaume Melquiond
Bug #16520.
2008-10-08mesa: vertex emit debug code (disabled)Brian Paul
2008-09-29mesa: asst updates for VMSJouk Jansen
2008-09-21mesa: move fixed function vertex program builder from tnl to core mesaKeith Whitwell
Also unify caching of fragment and vertex programs in shader/prog_cache.c` Brought across from gallium-0.2
2008-09-21mesa: move rastpos helper to tnlKeith Whitwell
2008-09-18mesa: fix null ptr deref bug in _tnl_InvalidateState(), bug 15834Brian Paul
2008-09-18mesa: 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-08-28mesa: bump MAX_INSN to 350Brian Paul
2008-07-01init machine->Samplers (fixes vertex program texture fetches)Brian Paul
2008-06-16Compute/setup fog coordinates even if vertex program is enabled.H. Verbeet
Only when fog's enabled, of course. In the usual case, this is just a pass-through operation.
2008-06-16Don't compute vertex fog when fragment program is active.H. Verbeet
2008-06-02[t_vp_build] Fix refcounting-related memory leakNicolai Haehnle
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.
2008-05-16fix merge collisionBrian Paul
2008-05-16free(key) in _tnl_UpdateFixedFunctionProgram()Shunichi Fuji
2008-05-16Fix memory leak in _tnl_UpdateFixedFunctionProgramShunichi Fuji
2008-05-07fix refcounting bugs in tnl/tex program cachesBrian Paul
2008-05-06implement full reference counting for vertex/fragment programsBrian
Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test.
2008-04-23glcore: drop outdated sources files intented for xorgGeorge Sapountzis
2008-03-19s/x86_init_func/x86_init_func_size (fixes bug 15119)Brian
2008-03-19set outputs_safe to 0 as it's possible for the code generationAlan Hourihane
to slip over the allocated memory for the vb. pull in sse fixes from gallium-0.1
2008-01-02t_vp_build: fix temporary register allocation to minimise the allocationsHans de Goede
2007-11-30Updates of some OpenVMS makefiles.joukj
2007-11-30Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesajoukj
2007-11-29New ctx->Driver.Map/UnmapTexture() functions for accessing textures from ↵Brian
t_vb_program.c
2007-11-29cleanups, commentsBrian
2007-11-29Move _mesa_load_tracked_matrices() from TNL module to prog_statevars.cBrian
2007-11-15fix position invariant vertex programs for sw-tnlRoland Scheidegger
do the same math as for fixed function pipe, including user clip planes. (mostly resurrected from the dead t_vb_arbprogram.c code)
2007-11-03Fix mem leak in SSE code generation path (Michel Dänzer) and don't crash if ↵Brian
_mesa_exec_malloc() returns NULL. (picked from mesa_7_0_branch)
2007-10-31Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesaJouk
2007-10-23properly init dst reg's CondMask/Swizzle fieldsBrian
2007-10-15fix fog, rescale_normals bugs (from gallium branch)Brian
2007-10-03minor fog calc cleanupRoland Scheidegger
2007-10-03 Update of OpenVMS makefiles for the use of "new" include file conventionJouk
2007-10-02Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesaJouk
2007-09-29fix VBO-split infinite loop (bug 12164)Brian
2007-09-16revert a956184f70733bd22e2bbee515386da12302963fMatthieu Castet
2007-09-06Disable an assert for hw that do not emit POS as first vertex attrib, like nv1xPatrice Mandin
2007-08-31Fix problem introduced in previous commit in which a state variable ↵Brian
(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.
2007-08-31i965: Calculate the positional light in homogeneous coordinates.Xiang, Haihao
fix bug#11009
2007-07-25Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesaJouk
2007-07-21Remove ctx->Point._Size and ctx->Line._Width.Brian
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.
2007-07-04Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian
of -I flags.
2007-06-28remove obsolete t_save_api.cBrian
2007-06-08Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesaJouk
2007-05-23Fix point attentuation problem (bug 11042)Brian
ctx->Point._Attentuation was computed in wrong place and the VB->Eye coord Z array wasn't indexed correctly in run_point_stage().
2007-05-22fog: fix potential issues with generated vp using fogRoland Scheidegger
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).