aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* cleanups for t_vb_program.cRoland Scheidegger2007-04-171-13/+19
| | | | | | use VertexProgram._Current instead of VertexProgram.Current in a few more places. Only fixup fogc and psiz in case this is really a nv program (others are fine if undefined), and fix this case up so the values actually get written.
* removed unused t_vb_arbprogram stageBrian2007-04-163-3153/+0
|
* unhook t_vb_arbprogram.c code - it's going awayBrian2007-04-163-14/+19
|
* Use generic program limits instead of NV-specific ones to init program ↵Brian2007-04-161-1/+4
| | | | | | | | | constants. Previously, this limited us to 12 temp regs for vertex programs. Many vertex shaders could exceed that. This forces us to stop using t_vb_arbprogram.c for now because of its particular register indexing scheme. Need to increase bits allocated for register indexing, etc.
* Fix in t_vp_build: Missed necessary updates sometimesNicolai Haehnle2007-04-021-1/+2
| | | | | | | | | _mesa_update_state doesn't always reset VertexProgram._Current to NULL. This caused us to skip a necessary update of the fixed function vertex program sometimes. Change the logic such that we check for updates whenever the _Current program is either NULL or the program generated by t_vp_build.
* Get rid of BRK0, BRK1, CONT0, CONT1 instructions.Brian2007-03-281-4/+0
|
* fix a fragment fog regressionBrian2007-03-271-1/+1
|
* init machine->StackDepth=0Brian2007-03-271-0/+3
|
* more parenthesisBrian2007-03-271-1/+1
|
* recommit e731d8aafa98bbf9d30f83e65f28b7718be55834.Roland Scheidegger2007-03-271-1/+1
| | | | | | This got lost with glsl-compiler-1 merge, it fixes segfaults when using ATI_fragment_shader, which uses the ProgramStringNotify mechanism but doesn't have a valid program pointer.
* add parenthesis around a bit-wise AND term in _tnl_InvalidateState()Brian2007-03-271-1/+1
|
* Restore the UseTexEnvProgram logic.Brian2007-03-271-1/+1
| | | | | Was removed during glsl-compiler work. Still need to go back and revisit this because of the interaction with fragment shaders...
* merge of glsl-compiler-1 branchBrian2007-03-2619-501/+2237
|\