Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: move fixed function vertex program builder from tnl to core mesa | Keith Whitwell | 2008-09-21 | 4 | -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 tnl | Keith Whitwell | 2008-09-21 | 2 | -0/+509 |
| | |||||
* | mesa: fix null ptr deref bug in _tnl_InvalidateState(), bug 15834 | Brian Paul | 2008-09-18 | 1 | -6/+14 |
| | |||||
* | mesa: prefix a bunch of #include lines with "main/". | Brian Paul | 2008-09-18 | 17 | -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 350 | Brian Paul | 2008-08-28 | 1 | -1/+1 |
| | |||||
* | init machine->Samplers (fixes vertex program texture fetches) | Brian Paul | 2008-07-01 | 1 | -0/+2 |
| | |||||
* | Compute/setup fog coordinates even if vertex program is enabled. | H. Verbeet | 2008-06-16 | 2 | -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. Verbeet | 2008-06-16 | 1 | -7/+7 |
| | |||||
* | [t_vp_build] Fix refcounting-related memory leak | Nicolai Haehnle | 2008-06-02 | 1 | -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 collision | Brian Paul | 2008-05-16 | 1 | -3/+1 |
| | |||||
* | free(key) in _tnl_UpdateFixedFunctionProgram() | Shunichi Fuji | 2008-05-16 | 1 | -0/+3 |
| | |||||
* | Fix memory leak in _tnl_UpdateFixedFunctionProgram | Shunichi Fuji | 2008-05-16 | 1 | -0/+2 |
| | |||||
* | fix refcounting bugs in tnl/tex program caches | Brian Paul | 2008-05-07 | 2 | -26/+27 |
| | |||||
* | implement full reference counting for vertex/fragment programs | Brian | 2008-05-06 | 1 | -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 xorg | George Sapountzis | 2008-04-23 | 1 | -34/+0 |
| | |||||
* | s/x86_init_func/x86_init_func_size (fixes bug 15119) | Brian | 2008-03-19 | 1 | -1/+1 |
| | |||||
* | set outputs_safe to 0 as it's possible for the code generation | Alan Hourihane | 2008-03-19 | 1 | -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 allocations | Hans de Goede | 2008-01-02 | 1 | -8/+11 |
| | |||||
* | Updates of some OpenVMS makefiles. | joukj | 2007-11-30 | 1 | -1/+2 |
| | |||||
* | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | joukj | 2007-11-30 | 3 | -147/+209 |
|\ | |||||
| * | New ctx->Driver.Map/UnmapTexture() functions for accessing textures from ↵ | Brian | 2007-11-29 | 1 | -0/+48 |
| | | | | | | | | t_vb_program.c | ||||
| * | cleanups, comments | Brian | 2007-11-29 | 1 | -27/+28 |
| | | |||||
| * | Move _mesa_load_tracked_matrices() from TNL module to prog_statevars.c | Brian | 2007-11-29 | 2 | -99/+3 |
| | | |||||
| * | fix position invariant vertex programs for sw-tnl | Roland Scheidegger | 2007-11-15 | 1 | -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 ↵ | Brian | 2007-11-03 | 1 | -3/+13 |
| | | | | | | | | | | | | _mesa_exec_malloc() returns NULL. (picked from mesa_7_0_branch) | ||||
* | | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | Jouk | 2007-10-31 | 2 | -18/+16 |
|\| | |||||
| * | properly init dst reg's CondMask/Swizzle fields | Brian | 2007-10-23 | 1 | -3/+3 |
| | | |||||
| * | fix fog, rescale_normals bugs (from gallium branch) | Brian | 2007-10-15 | 1 | -3/+5 |
| | | |||||
| * | minor fog calc cleanup | Roland Scheidegger | 2007-10-03 | 1 | -12/+8 |
| | | |||||
* | | Update of OpenVMS makefiles for the use of "new" include file convention | Jouk | 2007-10-03 | 1 | -1/+3 |
| | | |||||
* | | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | Jouk | 2007-10-02 | 2 | -8/+27 |
|\| | |||||
| * | fix VBO-split infinite loop (bug 12164) | Brian | 2007-09-29 | 1 | -4/+3 |
| | | |||||
| * | revert a956184f70733bd22e2bbee515386da12302963f | Matthieu Castet | 2007-09-16 | 1 | -1/+1 |
| | | |||||
| * | Disable an assert for hw that do not emit POS as first vertex attrib, like nv1x | Patrice Mandin | 2007-09-06 | 1 | -1/+1 |
| | | |||||
| * | Fix problem introduced in previous commit in which a state variable ↵ | Brian | 2007-08-31 | 1 | -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, Haihao | 2007-08-31 | 1 | -0/+5 |
| | | | | | | | | fix bug#11009 | ||||
* | | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | Jouk | 2007-07-25 | 8 | -1859/+25 |
|\| | |||||
| * | Remove ctx->Point._Size and ctx->Line._Width. | Brian | 2007-07-21 | 1 | -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 ↵ | Brian | 2007-07-04 | 6 | -24/+24 |
| | | | | | | | | of -I flags. | ||||
| * | remove obsolete t_save_api.c | Brian | 2007-06-28 | 1 | -1834/+0 |
| | | |||||
* | | Merge branch 'master' of git+ssh://[email protected]/git/mesa/mesa | Jouk | 2007-06-08 | 3 | -19/+43 |
|\| | |||||
| * | Fix point attentuation problem (bug 11042) | Brian | 2007-05-23 | 1 | -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 fog | Roland Scheidegger | 2007-05-22 | 1 | -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 Scheidegger | 2007-05-22 | 1 | -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 makefiles | J.Jansen | 2007-05-10 | 1 | -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 again | Brian | 2007-05-02 | 1 | -0/+2 |
| | |||||
* | Document a deficiency in the _swrast_Translate() function with regard to ↵ | Brian | 2007-05-02 | 1 | -1/+9 |
| | | | | point size. | ||||
* | Enable texture sampling for vertex programs/shaders. | Brian | 2007-04-17 | 1 | -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. | Brian | 2007-04-17 | 1 | -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.c | Roland Scheidegger | 2007-04-17 | 1 | -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. |