aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | 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).
| * fog: fix issues with negative fog coords (may fix #10529)Roland Scheidegger2007-05-221-7/+22
| | | | | | | | | | | | | | Rework tnl fog a bit. Make sure we always use ABS(eyez) when fog coord source is depth, OTOH it does not seem to be necessary to use it (as was done before in some cases) if fog coord source is fogcoord (just to save some work). This fixes tests/fog (the first 2 cases) with i915/i915tex.
* | Updated OpenVMS makefilesJ.Jansen2007-05-101-23/+12
|/ | | | | | | | | | | | modified: src/mesa/descrip.mms modified: src/mesa/drivers/osmesa/descrip.mms modified: src/mesa/drivers/x11/descrip.mms modified: src/mesa/main/descrip.mms modified: src/mesa/shader/descrip.mms modified: src/mesa/shader/slang/descrip.mms modified: src/mesa/swrast/descrip.mms modified: src/mesa/swrast_setup/descrip.mms modified: src/mesa/tnl/descrip.mms
* changes to get DDX/DDY working againBrian2007-05-021-0/+2
|
* Document a deficiency in the _swrast_Translate() function with regard to ↵Brian2007-05-021-1/+9
| | | | point size.
* Enable texture sampling for vertex programs/shaders.Brian2007-04-171-11/+47
| | | | | | | This is a bit of a hack for now because the tnl module is using the swrast module to fetch texels. The texture fetch/filter code should probably be moved into the main/ module since it doesn't really depend upon other swrast code.
* In bind_inputs() set VB->EdgeFlag to NULL if it's not needed.Brian2007-04-171-1/+4
| | | | | | Otherwise, the clip/interp code was finding VB->EdgeFlag to be non-null and reading/writing it when the memory may have been freed earlier in free_space(). This fixes several VTK segfaults/failures reported by Brad King @ Kitware.