OSDN Git Service

gallium: Add TEX_FILTER_ANISO img filter
authorKeith Whitwell <keith@tungstengraphics.com>
Wed, 12 Mar 2008 10:39:25 +0000 (10:39 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Wed, 12 Mar 2008 10:42:49 +0000 (10:42 +0000)
commit98ae83d5cc73b61826823c915b5c59746c2e85c7
treeeb1913d0641329b9b4a8618227af34f354eb71a8
parentfeb02084a88ca6e23c34fa06e963765c890f0b65
gallium: Add TEX_FILTER_ANISO img filter

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.
src/gallium/drivers/i915simple/i915_state.c
src/gallium/drivers/i965simple/brw_wm_sampler_state.c
src/gallium/drivers/softpipe/sp_tex_sample.c
src/gallium/include/pipe/p_defines.h
src/mesa/state_tracker/st_atom_sampler.c