summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
AgeCommit message (Collapse)Author
2006-12-15Renamed s_nvfragprog.[ch] to s_fragprog.[ch], program_instruction.h to ↵Brian
prog_instruction.h
2006-12-14Renamed from s_nvfragprog.[ch]Brian
2006-12-14Updated includes.Brian
2006-12-14Remove include of s_arbshader.hBrian
2006-12-13Retire old GLSL shader code.Brian
2006-12-13Checkpoint for GLSL compiler changes.Brian
In brief: Check for enabled fragment program by looking at ctx->FragmentProgram._Current. New code for varying variables.
2006-11-21list header files in sources files (Dan Nicholson)Brian Paul
2006-11-16Initial implementation work for CAL, RET, and BRA instructions for fragmentBrian Paul
programs.
2006-11-14Make sure RENDER_FINISH is called on the zero pixel case. Reported byKeith Whitwell
Haihao Xiang.
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