summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
Commit message (Collapse)AuthorAgeFilesLines
* silence C++ warningsBrian2007-01-235-18/+24
|
* fixes for C++ warnings/errorsBrian2007-01-235-23/+32
|
* Use GLuint instead of GLint to store intermediate Z values. Fixes problems ↵Brian2007-01-062-8/+9
| | | | when using 32-bit Z buffer.
* Don't update span->array->z[] values from SLANG_FRAGMENT_FIXED_FRAGDEPTH.Brian2006-12-161-10/+12
| | | | | This restores the behaviour of Mesa 6.5.1, fixing a regression in 6.5.2. See bug 9345. Revisit someday...
* don't allow fog when using a fragment shader (bug 9346)Brian2006-12-161-2/+5
|
* list header files in sources files (Dan Nicholson)Brian Paul2006-11-211-1/+34
|
* Initial implementation work for CAL, RET, and BRA instructions for fragmentBrian Paul2006-11-161-0/+53
| | | | programs.
* Make sure RENDER_FINISH is called on the zero pixel case. Reported byKeith Whitwell2006-11-141-1/+1
| | | | Haihao Xiang.
* always load frag prog state params for now (see comments)Brian Paul2006-11-021-0/+5
|
* Remove x/y/width/height parameters from Clear functions.Brian Paul2006-11-012-14/+10
|
* Write back gl_FragDepth to span->array->z.Michal Krol2006-11-011-1/+10
|
* Merge texmem-0-3-branch.Keith Whitwell2006-11-011-5/+5
|
* change DEBUG_FRAG conditionsBrian Paul2006-11-011-79/+82
|
* fix some bugs in interpolate_specular()Brian Paul2006-11-011-23/+29
|
* make use of Parameters->StateFlags in _swrast_update_fragment_program()Brian Paul2006-10-311-7/+4
|
* We need to call _mesa_load_state_parameters() whenever a fragment programBrian Paul2006-10-312-6/+15
| | | | | | is enabled and we've changed any GL state that might be referenced by a fragment program (such as state.fog.params). Do this during swrast validation, not in _swrast_exec_fragment_program().
* In TEX instructions, use precomputed lambda only if using fragment.texcoord[k]Brian Paul2006-10-311-34/+33
| | | | | to sample texture[k]. Use zero otherwise. Not foolproof, but a good compromise.
* For TEX instructions use lambda=0. When sampling from texture unit K weBrian Paul2006-10-311-44/+71
| | | | | | | | | | were using the partial derivatives of texcoord[K] but the coordinate used for texture sampling may be something totally different (and texcoord[K] might not be a real texture coord at all). Net result was a bogus LOD is sometimes used, often resulting in using the smallest mipmap level (a constant color). Just use zero for now (undef LAMBDA_ZERO to override). Plus, some additional debug code.
* fix _mesa_problem() textBrian Paul2006-10-301-2/+2
|
* Added PROGRAM_CONSTANT to get_register_pointer().Brian Paul2006-10-281-0/+15
| | | | More DEBUG_FRAG code.
* assorted clean-upsBrian Paul2006-10-221-30/+24
|
* don't save color/z if fragment is killedBrian Paul2006-10-221-18/+20
|
* minor tweaks good for about 12% faster executionBrian Paul2006-10-221-66/+71
|
* silence used var warningsBrian Paul2006-10-221-1/+2
|
* Color clamping fixes.Brian Paul2006-10-222-6/+12
|
* move/improve comments, clean up code in a few placesBrian Paul2006-10-211-21/+16
|
* fix another logic error in computing deferredTextureBrian Paul2006-10-211-5/+9
|
* For deferredTexture, need to check if the fragment program/shader writesBrian Paul2006-10-211-6/+31
| | | | the fragment Z.
* move interpolate_varying() callBrian Paul2006-10-211-4/+2
|
* Move interpolate_texcoords() and interpolate_varying() calls into ↵Brian Paul2006-10-211-21/+18
| | | | | | shade_texture_span(). Added some INLINE hints.
* Consolidate some code into shade_texture_span().Brian Paul2006-10-191-84/+81
| | | | Clean up logic for deferred texturing/shading.
* fixed Fixed/Int bugBrian Paul2006-10-191-2/+2
|
* remove temp codeBrian Paul2006-10-191-22/+15
|
* fix problem when CHAN_BITS == 32 (bug 8704), remove unneeded assertionBrian Paul2006-10-191-1/+4
|
* added clamp_colors(), updated assertionsBrian Paul2006-10-181-21/+33
|
* Don't pass x/y/width/height to ctx->Driver.Accum().Brian Paul2006-10-182-7/+11
| | | | | Compute the region after we've locked (and possibly updated the buffer's size). Same thing is needed for ctx->Driver.Clear().
* Always convert colors to float before running a fragment shader/program.Brian Paul2006-10-174-145/+61
|
* fix fog color bugBrian Paul2006-10-171-3/+18
|
* Move struct atifs_machine into s_atifragshader.cBrian Paul2006-10-172-43/+129
| | | | Add support for runtime colorbuffer types.
* Seperate interpolate_colors() and interpolate_specular().Brian Paul2006-10-171-174/+192
| | | | Fix bugs in apply_aa_coverage().
* apply_aa_coverage() for ubyte/ushort/floatBrian Paul2006-10-171-6/+32
|
* Fix CHAN_BITS=32 issues.Brian Paul2006-10-171-0/+7
| | | | Save/restore array->ChanType in case colors are converted.
* cut and paste error: s/Width/Height/Brian Paul2006-10-141-1/+1
|
* Consolidate, move, fix code related to color index and stencil image transferBrian Paul2006-10-133-39/+13
| | | | operations (shift, offset, table lookup, etc).
* In _mesa_pack_rgba_span_float() we don't need to make a temporary copy ofBrian Paul2006-10-131-4/+2
| | | | | | | incoming colors when applying pixel transfer ops. In all cases, the caller either indicates there's no pixel transfer ops, or the incoming colors are coming from temporary storage already and can be safely modified.
* s/GLuint/GLbitfield/Brian Paul2006-10-133-3/+3
|
* Revamp color table code.Brian Paul2006-10-131-1/+7
| | | | Always store all color tables as both float and ubyte.
* adjust_colors() function replaces old _mesa_chan_to_float_span() function.Brian Paul2006-10-121-26/+45
|
* use _mesa_map_ci8_to_rgba8() instead of _mesa_map_ci8_to_rgba()Brian Paul2006-10-121-8/+10
|
* Lots of changes to support runtime renderbuffer depths.Brian Paul2006-10-129-311/+369
| | | | | | _swrast_read_rgba_span() now takes a datatype parameter. New optimization for glReadPixels(format=GL_RGB). New glCopyPixels optimization for the simple, common cases.