summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_tex_sample.c
AgeCommit message (Collapse)Author
2009-09-21Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
2009-09-21softpipe: Fix cube face selection.Brian Paul
If arx and ary are equal, we still want to choose from one of them, and not arz. (cherry picked from commit de685b37a91bc95dd4093a44a49b7b47385b1f7c)
2009-06-29softpipe: use shadow_compare4() to compare texcoord to four texture samplesBrian Paul
2009-06-29softpipe: pass sampler state to shadow_compare()Brian Paul
2009-06-19softpipe: return alpha=1 in shadow_compare() functionBrian Paul
The alpha value wasn't set at all before so we got unpredictable results. Note that we don't currently obey GL_DEPTH_TEXTURE_MODE in the state tracker. For now, we return the result in the default mode (r,r,r,1).
2009-02-11softpipe: rename sp_headers.h to sp_quad.hBrian
This header describes the quad-related datatypes afterall.
2008-12-17softpipe: fix vertex shader texture samplingBrian Paul
Need to disable/bypass lambda calculation since derivatives of texcoords are meaningless for adjacent vertices.
2008-12-01softpipe: minor tweaks, clean-upsBrian
2008-12-01softpipe: compute nearest/linear texcoords four at a time.Brian
A small step toward SIMD-izing the code.
2008-12-01gallium: minor texture-related clean-ups, comments, etcBrian
2008-11-23softpipe: remove old/unneeded dependencies between TGSI exec and softpipeBrian
Use tgsi_sampler struct as a base class. Softpipe subclasses it and adds the fields it needs.
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-22gallium: stop using ifloor(), FABSF(), etcBrian Paul
2008-08-22gallium: replace LOG2() macro with util_fast_log2() inline funcBrian Paul
2008-08-07gallium: s/pf_sprint_name/pf_name/Brian Paul
2008-08-07gallium: s/printf/debug_printf/Brian Paul
2008-08-07gallium: new/better debug code (disabled)Brian Paul
2008-08-07softpipe: Silence compiler warnings on Windows.Michal Krol
2008-08-06softpipe: add texture border color codeBrian Paul
2008-07-28Merge tgsi/exec and tgsi/util directories.José Fonseca
2008-05-02gallium: new debug code (disabled)Brian Paul
2008-04-22softpipe: do something sensible on an error path, squash warningKeith Whitwell
2008-03-12gallium: Add TEX_FILTER_ANISO img filterKeith Whitwell
Hardware almost universally expects us to set a special filtering mode when anisotropic filtering is enabled, as opposed to varying a max-aniso values. Do this once in the state tracker & simplify the driver code.
2008-02-23gallium: Silence compiler warnings on Windows.Michal Krol
2008-02-19gallium: add some casts to prevent likely msvc warningsBrian
2008-02-19gallium: implement correct sampling for RECT targets / unnormalized texcoordsBrian
2008-02-16gallium: add missing mip level clampBrian
2008-02-16gallium: tweak texture filter min/mag thresholdsBrian
2008-02-16gallium: implement min vs. mag filter determination for non-mipmapped texturesBrian
Fixes tests/minmag.c
2008-02-15Code reorganization: update build.José Fonseca
Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks.
2008-02-15Code reorganization: move files into their places.José Fonseca
This is in a separate commit to ensure renames are properly preserved.