summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
AgeCommit message (Collapse)Author
2007-01-09more debug code (disabled)Brian
2007-01-08check if _Current == NULL for TXBBrian
2007-01-08Remove if (tObj) conditional so that texture units without a texture imageBrian
return black (0,0,0,1) when sampled.
2006-12-21added INTERP_VARYING codeBrian
2006-12-21s/attribute/varying/Brian
2006-12-19Overhaul of GLSL API functions, dispatching, etc.Brian
2006-12-18Added instruction counter to catch infinite loops (temporary).Brian
2006-12-16fix comment, handle NOPBrian
2006-12-15varying var changesBrian
2006-12-15Renamed s_nvfragprog.[ch] to s_fragprog.[ch]Brian
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.