summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
Commit message (Collapse)AuthorAgeFilesLines
* be sure we have span texcoords before calling _swrast_texture_span()Brian Paul2005-06-101-2/+2
|
* pass mask array to PutRowRGB() in simple_z_textured_triangle()Brian Paul2005-06-101-1/+2
|
* set OLD_RENDERBUFFER=0, need to clean up a few more things before totally ↵Brian Paul2005-06-041-1/+1
| | | | removing that
* remove old span functions from swrast_device_driver structBrian Paul2005-06-041-176/+1
|
* remove old span codeBrian Paul2005-06-041-70/+26
|
* fix an assertionBrian Paul2005-06-041-1/+1
|
* remove old span codeBrian Paul2005-06-042-61/+27
|
* Remove last of the old span code.Brian Paul2005-06-027-72/+13
|
* moved to windows build dirKarl Schultz2005-05-241-336/+0
|
* Remove some debug outputJon Smirl2005-05-201-0/+2
| | | | Add #if DEBUG_FRAG in s_nvfragprog.c
* fix GetRow parameters (Nicolai Haehnle)Brian Paul2005-05-151-1/+1
|
* Don't let FragmentProgram._Active influence choice of vertex vs pixelKeith Whitwell2005-05-111-1/+1
| | | | fog.
* Previously in TXP and TEX instructions, lambda was passed toKeith Whitwell2005-05-111-3/+24
| | | | | | | | | | | | | | | | | | | | | 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.
* Don't let FragmentProgram._Active influence choice of vertex vs pixelKeith Whitwell2005-05-111-1/+1
| | | | fog.
* Test for texcoord[3] == zero before dividing. Not so sure about thisKeith Whitwell2005-05-111-4/+15
| | | | | | 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.
* Committing in .Jouk Jansen2005-05-101-8/+4
| | | | | | | | | | 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 ----------------------------------------------------------------------
* dri fb works using renderbuffers now in RGBA modeJon Smirl2005-05-081-2/+4
|
* restore call to SetBuffer() in clear_color_buffers(), only temporaryBrian Paul2005-05-061-7/+6
|
* more updates for users of s_spantemp.hBrian Paul2005-05-051-18/+20
|
* FBO changesBrian Paul2005-05-041-218/+103
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-0433-3021/+1966
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* Add a facility to route all rasterization through a fragment programKeith Whitwell2005-05-047-28/+28
| | | | | | | | | | | 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.
* added interpolate_fog()Brian Paul2005-04-261-0/+26
|
* undef DEPTH_TYPE at endBrian Paul2005-04-221-0/+1
|
* Reduce the size of mesa's internal fragment and vertex programKeith Whitwell2005-04-211-34/+39
| | | | | representations by switching to packed structures for registers and instructions.
* remove stray span.y++Brian Paul2005-01-291-1/+1
|
* use FABSF(fogCoord) to fix fog calculation problem (Soju Matsumoto)Brian Paul2005-01-171-3/+3
|
* fix a few warningsBrian Paul2005-01-171-1/+2
|
* add s_atifragshader.c, s_atifragshader.hMichal Krol2005-01-131-0/+8
|
* updates from JoukBrian Paul2005-01-031-2/+3
|
* Use Point._Size in calculationKeith Whitwell2004-12-291-1/+1
|
* use clamped Line._Width in calculationsKeith Whitwell2004-12-292-7/+7
|
* Implement software ATI_fragment_shaderDave Airlie2004-12-195-1/+672
| | | | no error detection, slow, may not be 100% correct but a good start
* Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span().Brian Paul2004-12-1810-372/+118
|
* Added PRINT instruction for GL_NV_fragment_program.Brian Paul2004-12-181-5/+22
|
* fix typos in texcoord setup - fixes perspective correction bugBrian Paul2004-12-161-7/+7
|
* don't divide texcoords by q if using a fragment programBrian Paul2004-12-161-8/+19
|
* fixes for fragment programsBrian Paul2004-12-151-3/+7
|
* init span.w, dwdx, dwdy in case we're running a fragment programBrian Paul2004-12-151-3/+7
|
* tweaks to the LIT instructionsBrian Paul2004-12-151-5/+7
|
* silence warningBrian Paul2004-12-031-1/+1
|
* Fix some warningsAlan Hourihane2004-12-023-9/+2
|
* new comments and assertionsBrian Paul2004-11-274-2/+7
|
* Change the dispatch offsets for the VertexAttrib*NV functions so they don'tBrian Paul2004-11-271-1/+1
| | | | | | | alias with the corresponding ARB functions. GL_ARB_vertex_shader (and OpenGL 2.0's) VertexAttrib functions don't alias with conventional vertex attributes, as GL_NV_vertex_program does. So, the ARB and NV version of VertexAttrib need to be distinct.
* GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul2004-11-103-41/+41
| | | | | | | and ignored for 1D and 2D images. Need to pass in image dimensions (1,2,3) to the _mesa_image_address() function. This change gets propogated to some other routines. Also added new _mesa_image_address[123]d() convenience functions.
* use the new _mesa_clip_readpixels() routineBrian Paul2004-11-091-34/+37
|
* Removed _swrast_clip_pixelrect(). Use _mesa_clip_drawpixels() instead.Brian Paul2004-11-092-53/+1
|
* don't use ctx->Pack, use the function argumentBrian Paul2004-11-091-13/+12
|
* fix convolution regression from revision 1.48 to 1.49Brian Paul2004-11-011-3/+2
|
* PBO support for glColorTable, glColorSubTable, glGetColorTable, etc.Brian Paul2004-10-311-0/+16
|