summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
AgeCommit message (Collapse)Author
2005-07-26improve comments about win[0..3] values (bug 2554)Brian Paul
2005-07-18s/clippping/clipping/Brian Paul
2005-07-18pass in the renderbufferAlan Hourihane
2005-07-01Remove NEW_RENDERBUFFER stuff.Brian Paul
Now, OLD_RENDERBUFFER marks code that needs to eventually be removed when all the drivers are updated to no longer need the SetBuffer() function.
2005-07-01remove OLD_RENDERBUFFER codeBrian Paul
2005-06-30Redo all the GL_LINEAR interpolation code in terms of LERP macros/functions.Brian Paul
This cleans up and simplifies the arithmetic quite a bit.
2005-06-21check for NULL swrast->Driver.SetBuffer before calling itBrian Paul
2005-06-10be sure we have span texcoords before calling _swrast_texture_span()Brian Paul
2005-06-10pass mask array to PutRowRGB() in simple_z_textured_triangle()Brian Paul
2005-06-04set OLD_RENDERBUFFER=0, need to clean up a few more things before totally ↵Brian Paul
removing that
2005-06-04remove old span functions from swrast_device_driver structBrian Paul
2005-06-04remove old span codeBrian Paul
2005-06-04fix an assertionBrian Paul
2005-06-04remove old span codeBrian Paul
2005-06-02Remove last of the old span code.Brian Paul
2005-05-24moved to windows build dirKarl Schultz
2005-05-20Remove some debug outputJon Smirl
Add #if DEBUG_FRAG in s_nvfragprog.c
2005-05-15fix GetRow parameters (Nicolai Haehnle)Brian Paul
2005-05-11Don't let FragmentProgram._Active influence choice of vertex vs pixelKeith Whitwell
fog.
2005-05-11Previously in TXP and TEX instructions, lambda was passed toKeith 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-11Don't let FragmentProgram._Active influence choice of vertex vs pixelKeith Whitwell
fog.
2005-05-11Test for texcoord[3] == zero before dividing. Not so sure about thisKeith 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-10 Committing in .Jouk Jansen
OpenVMS compile support update for new buffer-code Modified Files: Mesa/src/mesa/drivers/x11/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/swrast/descrip.mms ----------------------------------------------------------------------
2005-05-08dri fb works using renderbuffers now in RGBA modeJon Smirl
2005-05-06restore call to SetBuffer() in clear_color_buffers(), only temporaryBrian Paul
2005-05-05more updates for users of s_spantemp.hBrian Paul
2005-05-04FBO changesBrian Paul
2005-05-04Major 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-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-04-26added interpolate_fog()Brian Paul
2005-04-22undef DEPTH_TYPE at endBrian Paul
2005-04-21Reduce the size of mesa's internal fragment and vertex programKeith Whitwell
representations by switching to packed structures for registers and instructions.
2005-01-29remove stray span.y++Brian Paul
2005-01-17use FABSF(fogCoord) to fix fog calculation problem (Soju Matsumoto)Brian Paul
2005-01-17fix a few warningsBrian Paul
2005-01-13add s_atifragshader.c, s_atifragshader.hMichal Krol
2005-01-03updates from JoukBrian Paul
2004-12-29Use Point._Size in calculationKeith Whitwell
2004-12-29use clamped Line._Width in calculationsKeith Whitwell
2004-12-19Implement software ATI_fragment_shaderDave Airlie
no error detection, slow, may not be 100% correct but a good start
2004-12-18Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span().Brian Paul
2004-12-18Added PRINT instruction for GL_NV_fragment_program.Brian Paul
2004-12-16fix typos in texcoord setup - fixes perspective correction bugBrian Paul
2004-12-16don't divide texcoords by q if using a fragment programBrian Paul
2004-12-15fixes for fragment programsBrian Paul
2004-12-15init span.w, dwdx, dwdy in case we're running a fragment programBrian Paul
2004-12-15tweaks to the LIT instructionsBrian Paul
2004-12-03silence warningBrian Paul
2004-12-02Fix some warningsAlan Hourihane
2004-11-27new comments and assertionsBrian Paul