summaryrefslogtreecommitdiff
path: root/src/mesa/tnl
AgeCommit message (Collapse)Author
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.
2008-03-19remove redundant initAlan Hourihane
2008-02-25Remove files of unsupported build systems.José Fonseca
2008-01-02t_vp_build: fix temporary register allocation to minimise the allocationsHans de Goede
2007-12-07New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl ↵Brian
module.
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-31remove dead program cache codeBrian
2007-10-31Use ffvertex_prog.c code instead of t_vp_build.c code.Brian
2007-10-31Merge branch 'master' of git+ssh://joukj@git.freedesktop.org/git/mesa/mesaJouk
2007-10-29refactoring to begin removing dependency on tnl contextBrian
2007-10-29simplify getting of current frag progBrian
2007-10-29Refactor _tnl_UpdateFixedFunctionProgram().Brian
New _mesa_get_fixed_func_vertex_program() function...
2007-10-29Rename 'mms-config.' to 'mms.config'.Michal Krol
It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'.
2007-10-23properly init dst reg's CondMask/Swizzle fieldsBrian
2007-10-23properly init dst reg's CondMask/Swizzle fieldsBrian
2007-10-17When in GL_FEEDBACK mode, make sure we emit color and texcoord registers.Brian
2007-10-15fix fog, rescale_normals bugs (from gallium branch)Brian
2007-10-15fix incorrect register in get_eye_normal() for rescale_normals caseBrian
2007-10-15Fix useabs logic in build_fog().Brian
We always need to compute the absolute value of the fogcoord if we're passing it through for per-fragment fog.
2007-10-15remove feedback hackBrian
2007-10-15Undo prev changes.Brian
2007-10-09Use linked fragment shader inputs (if present) to determine which outputs ↵Brian
are needed.
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-10move FLUSH_CURRENTBrian
2007-09-06Move guts of glRasterPos down into T&L module.Brian
2007-09-06Move guts of glRasterPos into tnl module, called via new ↵Brian
ctx->Driver.RasterPos() function.
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-08-30Sketch out per-vertex point size.Brian
The code is all in place, but mostly disabled for now: In t_vp_build.c, write the VERT_RESULT_PSIZE register In sp_state_derived.c, need to emit vertex point size if drawing points. In setup_point() use the point size from the vertex.
2007-08-25checkpoint in constant tracking reworkKeith Whitwell
2007-08-17added null VB->AttribPtr[i] checkBrian
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).
2007-05-22fog: fix issues with negative fog coords (may fix #10529)Roland Scheidegger
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.