summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
AgeCommit message (Collapse)Author
2006-11-02always load frag prog state params for now (see comments)Brian Paul
2006-11-01Remove x/y/width/height parameters from Clear functions.Brian Paul
2006-11-01Write back gl_FragDepth to span->array->z.Michal Krol
2006-11-01Merge texmem-0-3-branch.Keith Whitwell
2006-11-01change DEBUG_FRAG conditionsBrian Paul
2006-11-01fix some bugs in interpolate_specular()Brian Paul
2006-10-31make use of Parameters->StateFlags in _swrast_update_fragment_program()Brian Paul
2006-10-31We need to call _mesa_load_state_parameters() whenever a fragment programBrian Paul
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().
2006-10-31In TEX instructions, use precomputed lambda only if using fragment.texcoord[k]Brian Paul
to sample texture[k]. Use zero otherwise. Not foolproof, but a good compromise.
2006-10-31For TEX instructions use lambda=0. When sampling from texture unit K weBrian Paul
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.
2006-10-30fix _mesa_problem() textBrian Paul
2006-10-28Added PROGRAM_CONSTANT to get_register_pointer().Brian Paul
More DEBUG_FRAG code.
2006-10-22assorted clean-upsBrian Paul
2006-10-22don't save color/z if fragment is killedBrian Paul
2006-10-22minor tweaks good for about 12% faster executionBrian Paul
2006-10-22silence used var warningsBrian Paul
2006-10-22Color clamping fixes.Brian Paul
2006-10-21move/improve comments, clean up code in a few placesBrian Paul
2006-10-21fix another logic error in computing deferredTextureBrian Paul
2006-10-21For deferredTexture, need to check if the fragment program/shader writesBrian Paul
the fragment Z.
2006-10-21move interpolate_varying() callBrian Paul
2006-10-21Move interpolate_texcoords() and interpolate_varying() calls into ↵Brian Paul
shade_texture_span(). Added some INLINE hints.
2006-10-19Consolidate some code into shade_texture_span().Brian Paul
Clean up logic for deferred texturing/shading.
2006-10-19fixed Fixed/Int bugBrian Paul
2006-10-19remove temp codeBrian Paul
2006-10-19fix problem when CHAN_BITS == 32 (bug 8704), remove unneeded assertionBrian Paul
2006-10-18added clamp_colors(), updated assertionsBrian Paul
2006-10-18Don't pass x/y/width/height to ctx->Driver.Accum().Brian Paul
Compute the region after we've locked (and possibly updated the buffer's size). Same thing is needed for ctx->Driver.Clear().
2006-10-17Always convert colors to float before running a fragment shader/program.Brian Paul
2006-10-17fix fog color bugBrian Paul
2006-10-17Move struct atifs_machine into s_atifragshader.cBrian Paul
Add support for runtime colorbuffer types.
2006-10-17Seperate interpolate_colors() and interpolate_specular().Brian Paul
Fix bugs in apply_aa_coverage().
2006-10-17apply_aa_coverage() for ubyte/ushort/floatBrian Paul
2006-10-17Fix CHAN_BITS=32 issues.Brian Paul
Save/restore array->ChanType in case colors are converted.
2006-10-14cut and paste error: s/Width/Height/Brian Paul
2006-10-13Consolidate, move, fix code related to color index and stencil image transferBrian Paul
operations (shift, offset, table lookup, etc).
2006-10-13In _mesa_pack_rgba_span_float() we don't need to make a temporary copy ofBrian Paul
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.
2006-10-13s/GLuint/GLbitfield/Brian Paul
2006-10-13Revamp color table code.Brian Paul
Always store all color tables as both float and ubyte.
2006-10-12adjust_colors() function replaces old _mesa_chan_to_float_span() function.Brian Paul
2006-10-12use _mesa_map_ci8_to_rgba8() instead of _mesa_map_ci8_to_rgba()Brian Paul
2006-10-12Lots of changes to support runtime renderbuffer depths.Brian Paul
_swrast_read_rgba_span() now takes a datatype parameter. New optimization for glReadPixels(format=GL_RGB). New glCopyPixels optimization for the simple, common cases.
2006-10-11use GLvoid * for _swrast_write_zoomed_rgb/rgba_span() functionsBrian Paul
2006-10-11rewrite/simplify the fast_draw_pixels() functionBrian Paul
2006-10-11use _mesa_convert_colors(), update some assertionsBrian Paul
2006-10-11support for runtime renderbuffer depthsBrian Paul
2006-10-11List of source (.c) files in each directory.Brian Paul
To be included by X.org Makefile.am files so that lists of files don't need to be hardcoded and frequently updated there.
2006-10-10Move the fp_machine struct into s_nvfragmprog.c since (except for programBrian Paul
debug) it's only used there.
2006-10-06rewrite clear_rgba_buffer_with_masking()Brian Paul
2006-10-06deal with union/aliasing in convert_color_type()Brian Paul