mesa: make texture BorderColor a union of float/int/uint
authorBrian Paul <brianp@vmware.com>
Tue, 5 Jan 2010 02:53:28 +0000 (19:53 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 5 Jan 2010 02:53:30 +0000 (19:53 -0700)
commitf6c2d1f94ffa8f87b22ed1ff5c465d0e9aa1489e
tree3a0902a4971600e20320fdc35da21f000da820f6
parent32b9983c0a593c0b50a44ddae829dee820cfd448
mesa: make texture BorderColor a union of float/int/uint

When we have integer-valued texture formats, the texture border color
must also store integer and uint values.

With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions
can set the border color to int or uint values.
21 files changed:
src/mesa/drivers/dri/gamma/gamma_tex.c
src/mesa/drivers/dri/i810/i810tex.c
src/mesa/drivers/dri/i915/i830_texstate.c
src/mesa/drivers/dri/i915/i915_texstate.c
src/mesa/drivers/dri/i965/brw_wm_sampler_state.c
src/mesa/drivers/dri/mach64/mach64_tex.c
src/mesa/drivers/dri/mga/mgatex.c
src/mesa/drivers/dri/r128/r128_tex.c
src/mesa/drivers/dri/r200/r200_tex.c
src/mesa/drivers/dri/r300/r300_tex.c
src/mesa/drivers/dri/r600/r600_tex.c
src/mesa/drivers/dri/radeon/radeon_tex.c
src/mesa/drivers/dri/savage/savagetex.c
src/mesa/drivers/dri/sis/sis_texstate.c
src/mesa/drivers/dri/unichrome/via_state.c
src/mesa/main/attrib.c
src/mesa/main/mtypes.h
src/mesa/main/texobj.c
src/mesa/main/texparam.c
src/mesa/state_tracker/st_atom_sampler.c
src/mesa/swrast/s_texfilter.c