summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_fragprog_to_c.c
AgeCommit message (Collapse)Author
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.
2004-08-25work around a param bug (Adam Jackson)Brian Paul
2004-04-15Make _SAT instructions compile correctly.Keith Whitwell
2004-04-14wrap file in #ifdef USE_TCC, otherwise compilation failesBrian Paul
2004-04-14Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compileKeith Whitwell
and execute fragment programs. Very limited and experimental, but works well enough to run arbfplight.c. http://fabrice.bellard.free.fr/tcc/ Compile with 'make linux-tcc', being sure to make clean first.
2004-04-13Build a single string containing the generated 'C' code.Keith Whitwell
2004-03-30Make the output a little more likely to compile...Keith Whitwell
2004-03-30Insert original fragment program instructions as comments.Brian Paul
s/__inline/INLINE/
2004-03-30Amusing utility to print ARB_fp programs as C codeKeith Whitwell