summaryrefslogtreecommitdiff
path: root/src/mesa/tnl
AgeCommit message (Collapse)Author
2005-06-21include light.h to silence warningBrian Paul
2005-06-19Define __FUNCTION__ as a preprocessor symbol in glheader.h if we're notBrian Paul
using GCC or VMS.
2005-06-14 Committing in .Jouk Jansen
OpenVMS updates Modified Files: Mesa/src/mesa/tnl/descrip.mms Mesa/src/mesa/tnl/t_vp_build.c ----------------------------------------------------------------------
2005-06-10remove debug printsKeith Whitwell
2005-06-10Allow the print opcode to compileKeith Whitwell
2005-06-10Fix typo in spot attenuationKeith Whitwell
2005-06-10Correct test for attenuation.Keith Whitwell
DISSASEM changes.
2005-06-10Fix colormaterial flag calculations.Keith Whitwell
Fix lighting alpha result.
2005-06-10Add notes about intended precision of opcodes.Keith Whitwell
Remove dead floating point twiddles. Fix bug translating MAD->MUL,ADD.
2005-06-09Fix a couple of bugletsKeith Whitwell
2005-06-09Another typoKeith Whitwell
2005-06-09Further clean up RoughApproxPow2 and disable the optimized version --Keith Whitwell
it's a very poor approximation.
2005-06-09Fix typo in RoughApproxPow2Keith Whitwell
2005-06-09Store compiled vertex program representations in a pointer in theKeith Whitwell
vertex_program struct. Allow switching between regular and vertex_program implementations of fixed function TNL with the MESA_TNL_PROG environment var (previously this required recompilation). Ensure program compilation only references program data, not the wider context. This means that compiled programs only need to be invalidated when the program string changes, not on other state changes.
2005-06-09Build vertex programs using state from a 'state key' struct which isKeith Whitwell
distilled from the current state. Maintain a list of vertex programs for various different tnl states indexed by these state keys. This cuts down the number of vertex programs generated and means that time spent optimizing vertex programs for execution isn't wasted each time the state changes.
2005-06-08Turn off debugKeith Whitwell
2005-06-08Runtime generate sse/sse2 code for some vertex programs. ExperimentalKeith Whitwell
and only active when _TNL_FIXED_FUNCTION_PROGRAM is defined *and* the MESA_EXPERIMENTAL environment variable is set... Works for the arbfplight demo at least.
2005-06-08New arguments for sse_shufps()Keith Whitwell
2005-06-08Remove ARL opcode from interpreter.Keith Whitwell
Revert SEL opcode to MSK. Split out t_vb_arbprogram.h header file.
2005-06-08new fileKeith Whitwell
2005-06-07Initialize some variables.Keith Whitwell
2005-06-07Split out runtime assembly functions.Keith Whitwell
2005-06-07Simplify interpreted language:Keith Whitwell
- Expand operand argument specifiers so that all registers and parameters can be referenced directly. Remove old PAR/PRL instructions. - No 3 operand instructions, translate MAD -> MUL, ADD. (No room for 3 full operands in instruction struct). - Translate SWZ instructions into 1 or 2 reduced swizzles at compile time. - Add hardwired code for moving input and output values to/from the register file. Drop old INx, OUT instructions.
2005-05-24moved to windows build dirKarl Schultz
2005-05-20 Committing in .Jouk Jansen
Update openVMS compile support Modified Files: Mesa/progs/demos/descrip.mms Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
2005-05-19Invalidate current fastpath on changes to attribute size or offset withinKeith Whitwell
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".
2005-05-19Cope with the common 3ub and 1ub cases.Keith Whitwell
Fix a few typos. Note that sse_movss sets high dwords to zero when reading from memory. Fix a few related bugs.
2005-05-19Re-initialize viewport shadows each time.Keith Whitwell
2005-05-19Rename emit functions to reflect instruction set in use (ieKeith Whitwell
x86,sse,sse2,mmx). Add paths for sse+mmx vs. the initial version which assumed sse2 was available everywhere.
2005-05-18Remove old t_vertex.c codegen infrastructure, tie in new code.Keith Whitwell
Currently disabled, can enable with MESA_EXPERIMENTAL=t.
2005-05-18Fix a few typos, initialize p->identity.Keith Whitwell
2005-05-18Eliminate a couple of swizzles.Keith Whitwell
2005-05-18Generates working SSE code for gears under the swrast driver.Keith Whitwell
2005-05-18Checkpoint commit: Preliminary version of a facility to emit x86/sse codeKeith Whitwell
to implement vertex emit functions for the t_vertex.c mechanism.
2005-05-17don't include strings.hBrian Paul
2005-05-12Turn disassem off (oops).Keith Whitwell
2005-05-12When lighting is enabled, but no lights are enabled, the scenecolorKeith Whitwell
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.
2005-05-11Use _mesa_memset rather than memsetKeith Whitwell
2005-05-11Rename temp_flag to temp_in_use. Use ctx->Const.MaxVertexProgramTempsKeith Whitwell
rather than MAX_NV_VERTEX_PROGRAM_TEMPS and deal with this possibly being greater than 32.
2005-05-10Ensure programs don't overflow allocated instruction store.Keith Whitwell
2005-05-10Improved detection of program changes.Keith Whitwell
2005-05-10Fix some valgrind complaintsKeith Whitwell
2005-05-10Double-buffer generated instructions and only notify driver when theKeith Whitwell
generated program differs from the previous one.
2005-05-10Missing from previous commitKeith Whitwell
2005-05-10Update for FragmentProgram._ActiveKeith Whitwell
2005-05-04Add a facility to route all rasterization through a fragment programKeith Whitwell
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.
2005-05-03Import all texture coordinate arrays. Import them only once.Keith Whitwell
2005-04-29Format for 80 columns. Add alternate matrix mul based on MAD rather than DP4.Keith Whitwell
2005-04-29Add DISASSEM define, similar to other program generator files.Keith Whitwell
2005-04-28fix _tnl_copy_to_current() so that current edge flag and rasterpos aren't ↵Brian Paul
trashed by color index updates