Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-05-20 | Remove some debug output | Jon Smirl | |
Add #if DEBUG_FRAG in s_nvfragprog.c | |||
2005-05-11 | Previously in TXP and TEX instructions, lambda was passed to | Keith Whitwell | |
fetch_texel as zero, but I believe this is incorrect. The spec uses a pseudocode function: vec4 TextureSample(float s, float t, float r, float lodBias, int texImageUnit, enum texTarget); to specify the behaviour of TEX, TXB and TXP instructions. For TEX and TXP, lodBias is passed as zero, TXB is passed with texcoord[4]. In our code we have static void fetch_texel( GLcontext *ctx, const GLfloat texcoord[4], GLfloat lambda, GLuint unit, GLfloat color[4] ) and were passing zero and a biased lambda value respectively. The difference is that TextureSample() would add in the lambda term itself, while in our code the caller is expected to do this. Thus in the TEX and TXP cases, it is necessary to pass an unbiased lambda value for things to work out correctly. | |||
2005-05-11 | Test for texcoord[3] == zero before dividing. Not so sure about this | Keith Whitwell | |
test - if texcoord[3] is zero, we'd probably be fine except for an ASSERT in IROUND_POS() which gets triggered by the inf values created. | |||
2005-05-04 | Major check-in of changes for GL_EXT_framebuffer_object extension. | Brian Paul | |
Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested. | |||
2005-05-04 | Add a facility to route all rasterization through a fragment program | Keith 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-04-21 | Reduce the size of mesa's internal fragment and vertex program | Keith Whitwell | |
representations by switching to packed structures for registers and instructions. | |||
2004-12-18 | Added PRINT instruction for GL_NV_fragment_program. | Brian Paul | |
2004-12-15 | tweaks to the LIT instructions | Brian Paul | |
2004-08-10 | added a few more debug printfs (disabled) | Brian Paul | |
2004-06-20 | store's to RC/HC didn't work (bug 976287) | Brian Paul | |
2004-04-21 | only init temp regs to zero if executing NV fragment program | Brian Paul | |
2004-04-18 | Audit/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-14 | Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compile | Keith 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-02 | Implement ARB_f_p KIL correctly. | Brian Paul | |
2004-03-29 | fix array indexing for UP4B and UP4UB | Brian Paul | |
2004-03-29 | Accomodate ARB_fp XPD opcode separately from NV_fp's X2D. | Keith Whitwell | |
2004-03-03 | s/_swrast_exec_nv_fragment_program/_swrast_exec_fragment_program/ | Brian Paul | |
2004-02-27 | move _mesa_load_state_parameters() to state validation stage | Brian Paul | |
2004-02-27 | fix PK2H, UP2H, PK2US bugs | Brian Paul | |
2004-01-27 | Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a single | Keith Whitwell | |
array, texObj->Image[face][level]. | |||
2004-01-23 | Initial 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-14 | added blurb about NVIDIA extensions | Brian Paul | |
2003-12-13 | Problem computing specular value in OPCODE_LIT - pulled in value from | Karl Rasche | |
vertex program execution of LIT | |||
2003-11-22 | pass ctx to fetch_vector4_deriv() | Brian Paul | |
2003-11-21 | fix some bugs in computation of DDX, DDY commands | Brian Paul | |
2003-11-19 | Initial checkin of new ARB_frag/vertex program parser | Karl Rasche | |
2003-09-19 | Assorted casts to silence g++ warnings. | Brian Paul | |
2003-09-18 | Add casts to prevent double->float conversion compiler warnings. | Karl Schultz | |
2003-09-04 | implement SWZ and TXB. some code clean-up | Brian Paul | |
2003-09-04 | Added new opcodes for ARB_fragment_program, like ABS, CMP, TXB, etc. | Brian Paul | |
2003-08-31 | update parameter indexing | Brian Paul | |
2003-08-30 | Silence 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-17 | Re-org of register files for vertex/fragment programs. Will be easier to | Brian Paul | |
hook in global state references, etc. for ARB programs. | |||
2003-07-22 | Implement debugger callback, etc for vertex programs. Misc clean-ups. | Brian Paul | |
2003-07-21 | Initial implementation of GL_MESA_program_debug - a vertex/fragment program | Brian Paul | |
debugging extension. | |||
2003-05-10 | initialize condition codes before running program | Brian Paul | |
2003-04-21 | fix DDX, DDY instructions (probably not finished though) | Brian Paul | |
2003-04-11 | Some groundwork for GL_ARB_vertex/fragment_program. | Brian Paul | |
2003-04-08 | Added 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-05 | fragment program named constants and named program parameters basically work now | Brian Paul | |
2003-03-25 | replace _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-19 | Rewrite of fragment program named parameters, constants, etc. Not done. | Brian Paul | |
2003-03-16 | Store partial derivative values in sw_span structure. | Brian Paul | |
Implemented DDX and DDY fragment program instructions (whew!) Not fully tested yet. | |||
2003-03-15 | Fix up some fragment program texture enable issues. | Brian Paul | |
Implemented TXD instruction. | |||
2003-03-14 | Clean-up of parser error handling/reporting. | Brian Paul | |
Basic fragment program texture instructions are limping along. | |||
2003-03-04 | added _mesa_inv_sqrtf() and INV_SQRTF() (Josh Vanderhoof) | Brian Paul | |
2003-03-01 | Killed 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-25 | pass the instruction to store_vector4(). implement KIL. | Brian Paul | |