summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl
Commit message (Collapse)AuthorAgeFilesLines
* moved to windows build dirKarl Schultz2005-05-241-228/+0
|
* Committing in .Jouk Jansen2005-05-201-4/+4
| | | | | | | | | | Update openVMS compile support Modified Files: Mesa/progs/demos/descrip.mms Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
* Invalidate current fastpath on changes to attribute size or offset withinKeith Whitwell2005-05-193-7/+32
| | | | | | | | | the vertex. Use existing facilities to check for sse2 and enable when available. Turn on SSE/SSE2 codegen for t_vertex.c by default when USE_SSE_ASM is defined. Disable with "MESA_NO_CODEGEN=t".
* Cope with the common 3ub and 1ub cases.Keith Whitwell2005-05-191-66/+202
| | | | | | Fix a few typos. Note that sse_movss sets high dwords to zero when reading from memory. Fix a few related bugs.
* Re-initialize viewport shadows each time.Keith Whitwell2005-05-191-8/+11
|
* Rename emit functions to reflect instruction set in use (ieKeith Whitwell2005-05-191-175/+274
| | | | | x86,sse,sse2,mmx). Add paths for sse+mmx vs. the initial version which assumed sse2 was available everywhere.
* Remove old t_vertex.c codegen infrastructure, tie in new code.Keith Whitwell2005-05-188-1985/+1396
| | | | Currently disabled, can enable with MESA_EXPERIMENTAL=t.
* Fix a few typos, initialize p->identity.Keith Whitwell2005-05-181-3/+9
|
* Eliminate a couple of swizzles.Keith Whitwell2005-05-181-3/+4
|
* Generates working SSE code for gears under the swrast driver.Keith Whitwell2005-05-181-58/+127
|
* Checkpoint commit: Preliminary version of a facility to emit x86/sse codeKeith Whitwell2005-05-181-0/+937
| | | | to implement vertex emit functions for the t_vertex.c mechanism.
* don't include strings.hBrian Paul2005-05-171-2/+0
|
* Turn disassem off (oops).Keith Whitwell2005-05-121-1/+1
|
* When lighting is enabled, but no lights are enabled, the scenecolorKeith Whitwell2005-05-121-27/+85
| | | | | | | | | becomes the result of lighting. When lighting is disabled, pass-through incoming color value. Likewise, pass through incoming texture values. (Based on patch by Aapo Tahkola) Add compile-time configuration to switch between DP4 and MUL/MAD for matrix-vector multiplications.
* Use _mesa_memset rather than memsetKeith Whitwell2005-05-111-1/+1
|
* Rename temp_flag to temp_in_use. Use ctx->Const.MaxVertexProgramTempsKeith Whitwell2005-05-111-8/+13
| | | | | rather than MAX_NV_VERTEX_PROGRAM_TEMPS and deal with this possibly being greater than 32.
* Ensure programs don't overflow allocated instruction store.Keith Whitwell2005-05-101-1/+8
|
* Improved detection of program changes.Keith Whitwell2005-05-101-20/+32
|
* Fix some valgrind complaintsKeith Whitwell2005-05-101-2/+4
|
* Double-buffer generated instructions and only notify driver when theKeith Whitwell2005-05-101-5/+27
| | | | generated program differs from the previous one.
* Missing from previous commitKeith Whitwell2005-05-102-4/+8
|
* Update for FragmentProgram._ActiveKeith Whitwell2005-05-101-2/+2
|
* Add a facility to route all rasterization through a fragment programKeith Whitwell2005-05-041-5/+22
| | | | | | | | | | | which is automatically generated to match the current texture environment state. Introduces a new value ctx->FragmentProgram._Active which is true when either _Enabled is true or there is such a fragment program ready to run. To test out on a driver running the software rasterizer, set MESA_TEX_PROG=t in the environment. It goes without saying that performance is lower for the software rasterizer in this mode.
* Import all texture coordinate arrays. Import them only once.Keith Whitwell2005-05-031-5/+4
|
* Format for 80 columns. Add alternate matrix mul based on MAD rather than DP4.Keith Whitwell2005-04-291-115/+217
|
* Add DISASSEM define, similar to other program generator files.Keith Whitwell2005-04-291-6/+21
|
* fix _tnl_copy_to_current() so that current edge flag and rasterpos aren't ↵Brian Paul2005-04-281-1/+9
| | | | trashed by color index updates
* tweak previous fog/fragment program fixBrian Paul2005-04-261-3/+5
|
* enable fog render input if fragment program fog option setBrian Paul2005-04-261-1/+1
|
* Ensure all VB->AttribPtr[] are populated. Reported by Aapo TahkolaKeith Whitwell2005-04-251-8/+18
|
* Fix the worst problems with dangling edgeflag references inKeith Whitwell2005-04-233-21/+30
| | | | | | display lists. These mainly arise from edgeflag being the only attribute no longer stored internally as a float and requiring various special case paths to accomodate it.
* Move the call to _tnl_UpdateFixedFunctionProgram to makeKeith Whitwell2005-04-222-1/+4
| | | | it easier for hardware drivers to test this out.
* Simplify the pipeline_stage structureKeith Whitwell2005-04-2222-835/+415
| | | | | | | | | | - remove input/output fields, input tracking removed. - remove state fields, the validate function now called on every statechange. - add an explicit 'create' function. Add in code to build vertex program to implement current t&l state. Still disabled, but turn on with a #define in t_vp_build.h.
* Facility to construct a vertex program which executes the currentKeith Whitwell2005-04-211-0/+1047
| | | | | | | fixed function t&l pipeline. Currently runs most of the Mesa demos OK, but still needs debugging & polishing.
* New software implementation of ARB_vertex_program. Similar in speedKeith Whitwell2005-04-211-0/+1551
| | | | to existing version, but with the potential for good improvements.
* Reverted the last change back to fix bug 3035Ben Crossman2005-04-151-1/+1
|
* A few getenv() that werent using the mesa wrapper versionBen Crossman2005-04-141-1/+1
|
* use COPY_CLEAN_4V macro to replace using both ASSIGN_4V & COPY_SZ_4VAlan Hourihane2005-03-024-12/+6
|
* Added a bunch of new comments, minor code clean-ups.Brian Paul2005-03-021-18/+45
|
* Using glColor3 commands to update materials could result in an undefinedBrian Paul2005-03-021-4/+6
| | | | alpha value. Fixed.
* additional parenthesis in TNL_CONTEXT macro (Nicolai Haehnle)Brian Paul2005-02-281-3/+3
|
* `static const' instead of `const static'Daniel Borca2005-02-141-1/+1
|
* mesa-tnl-0-to-NULL.patch from Jeff MuizelaarKeith Whitwell2005-02-1021-59/+59
|
* Catch no-op vertex buffers consisting only of vertices which willKeith Whitwell2005-02-101-12/+14
| | | | also appear in a future buffer.
* Determine ahead of time whether a display list will include verticesKeith Whitwell2005-01-224-13/+19
| | | | | | which have to be processed in the 'loopback' path. If so, send all vertices that way as the transition from playback->loopback has several problems.
* Fix calculation of last_count in _tnl_wrap_buffers()Keith Whitwell2005-01-181-1/+3
|
* make tnl_clipspace_attr->insert field const, to silence warningBrian Paul2005-01-161-1/+1
|
* free buffer in t_vertex_c.c on context deleteKeith Whitwell2005-01-123-0/+11
|
* Fix segfault in pipes by dealing with stride == 0 case in generic_interp_extrasKeith Whitwell2005-01-101-14/+25
|
* Added missing break; to fix infinite recursion between choose_emit_funcFelix Kuehling2005-01-081-0/+1
| | | | and emit_viewport4_bgra4_st2_st2.