summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_nvfragprog.c
AgeCommit message (Collapse)Author
2004-04-21only init temp regs to zero if executing NV fragment programBrian Paul
2004-04-18Audit/fixes for NV/ARB TEX, TXP, TXB, TXD instructions.Brian Paul
Some texture instructions were using wrong LOD. Fixed interpolate_texcoords() so it doesn't do texcoord projective division when using a fragment program. The TXP instruction does that.
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-02Implement ARB_f_p KIL correctly.Brian Paul
2004-03-29fix array indexing for UP4B and UP4UBBrian Paul
2004-03-29Accomodate ARB_fp XPD opcode separately from NV_fp's X2D.Keith Whitwell
2004-03-03s/_swrast_exec_nv_fragment_program/_swrast_exec_fragment_program/Brian Paul
2004-02-27move _mesa_load_state_parameters() to state validation stageBrian Paul
2004-02-27fix PK2H, UP2H, PK2US bugsBrian Paul
2004-01-27Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell
array, texObj->Image[face][level].
2004-01-23Initial support for floating point and signed texture formats.Brian Paul
New "FetchTexelFuncF()" function returns texels in floating point format. Only used for depth component images at this time. Changed original FetchTexelFunc to return GLchan instead of GLvoid, removing need for a bunch of ugly casts.
2004-01-14added blurb about NVIDIA extensionsBrian Paul
2003-12-13Problem computing specular value in OPCODE_LIT - pulled in value fromKarl Rasche
vertex program execution of LIT
2003-11-22pass ctx to fetch_vector4_deriv()Brian Paul
2003-11-21fix some bugs in computation of DDX, DDY commandsBrian Paul
2003-11-19Initial checkin of new ARB_frag/vertex program parserKarl Rasche
2003-09-19Assorted casts to silence g++ warnings.Brian Paul
2003-09-18Add casts to prevent double->float conversion compiler warnings.Karl Schultz
2003-09-04implement SWZ and TXB. some code clean-upBrian Paul
2003-09-04Added new opcodes for ARB_fragment_program, like ABS, CMP, TXB, etc.Brian Paul
2003-08-31update parameter indexingBrian Paul
2003-08-30Silence compiler warnings about implicit casts or conversions by supplying ↵Karl Schultz
explicit casts and/or tweaking constant and variable definitions.
2003-08-27 Committing in .Jouk Jansen
Added a type cast to silence the OpenVMS DECC compiler Modified Files: Mesa-newtree/src/mesa/swrast/s_nvfragprog.c ----------------------------------------------------------------------
2003-08-17Re-org of register files for vertex/fragment programs. Will be easier toBrian Paul
hook in global state references, etc. for ARB programs.
2003-07-22Implement debugger callback, etc for vertex programs. Misc clean-ups.Brian Paul
2003-07-21Initial implementation of GL_MESA_program_debug - a vertex/fragment programBrian Paul
debugging extension.
2003-05-10initialize condition codes before running programBrian Paul
2003-04-21fix DDX, DDY instructions (probably not finished though)Brian Paul
2003-04-11Some groundwork for GL_ARB_vertex/fragment_program.Brian Paul
2003-04-08Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul
Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now.
2003-04-05fragment program named constants and named program parameters basically work nowBrian Paul
2003-03-25replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]Brian Paul
2003-03-19 Committing in .Jouk Jansen
Added some type casts Modified Files: Mesa/src/swrast/s_nvfragprog.c ----------------------------------------------------------------------
2003-03-19Rewrite of fragment program named parameters, constants, etc. Not done.Brian Paul
2003-03-16Store partial derivative values in sw_span structure.Brian Paul
Implemented DDX and DDY fragment program instructions (whew!) Not fully tested yet.
2003-03-15Fix up some fragment program texture enable issues.Brian Paul
Implemented TXD instruction.
2003-03-14Clean-up of parser error handling/reporting.Brian Paul
Basic fragment program texture instructions are limping along.
2003-03-04added _mesa_inv_sqrtf() and INV_SQRTF() (Josh Vanderhoof)Brian Paul
2003-03-01Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul
Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
2003-02-25pass the instruction to store_vector4(). implement KIL.Brian Paul
2003-02-23Move span stuff from swrast.h to s_context.h (it's private).Brian Paul
Implemented remaining fragment program instructions. Initial changes to implement fragment program texture sampling.
2003-02-17Implement parsing of texture instructions and prototype execution.Brian Paul
Misc parser clean-ups.
2003-01-14fragment program executionBrian Paul