summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vb_arbprogram.c
AgeCommit message (Collapse)Author
2005-08-12added FREXPF() macro (bug 4060)Brian Paul
2005-07-15Check for null program->Parameters pointer in validate_vertex_program().Brian Paul
GL_NV_vertex_program programs can't directly reference GL state so this pointer is always NULL.
2005-07-13Use the LDEXPF wrapper macro.Keith Whitwell
2005-07-10Add runtime compiled x87 implementations for most of the remainingKeith Whitwell
opcodes. When enabled via environment vars, gears runs and almost looks right but other apps are still quite buggy.
2005-07-01Use frexp on Windows; frexpf is not available.Karl Schultz
2005-07-01replace some free() calls with _mesa_free()Brian Paul
2005-06-21include light.h to silence warningBrian Paul
2005-06-10remove debug printsKeith Whitwell
2005-06-10Allow the print opcode to compileKeith Whitwell
2005-06-10Add notes about intended precision of opcodes.Keith Whitwell
Remove dead floating point twiddles. Fix bug translating MAD->MUL,ADD.
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-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-08Remove ARL opcode from interpreter.Keith Whitwell
Revert SEL opcode to MSK. Split out t_vb_arbprogram.h header file.
2005-06-07Initialize some variables.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-10Missing from previous commitKeith Whitwell
2005-04-29Add DISASSEM define, similar to other program generator files.Keith Whitwell
2005-04-22Move the call to _tnl_UpdateFixedFunctionProgram to makeKeith Whitwell
it easier for hardware drivers to test this out.
2005-04-22Simplify the pipeline_stage structureKeith Whitwell
- 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.
2005-04-21New software implementation of ARB_vertex_program. Similar in speedKeith Whitwell
to existing version, but with the potential for good improvements.