mesa: Drop _EnabledUnits.
authorEric Anholt <eric@anholt.net>
Wed, 23 Apr 2014 22:30:27 +0000 (15:30 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 30 Apr 2014 21:33:17 +0000 (14:33 -0700)
commitc703658b3965bf2e4f3593a0d54be03e8e8b1436
treeb5b6b201cbc4816dec9b6f51c0da3570b50585a3
parent3dfe56c53bc7f37b65b72408fe3470ecfd218595
mesa: Drop _EnabledUnits.

The field wasn't really valid, since we've got more than 32 units now.  It
turns out it was mostly just used for checking != 0, or checking for fixed
function coordinates, though.

v2: Fix mis-conversion in xm_line.c (caught by Ken).

Reviewed-by: Matt Turner <mattst88@gmail.com> (v1)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
17 files changed:
src/mesa/drivers/common/meta.c
src/mesa/drivers/dri/i915/intel_pixel.c
src/mesa/drivers/dri/i915/intel_pixel_copy.c
src/mesa/drivers/dri/i965/intel_pixel.c
src/mesa/drivers/dri/i965/intel_pixel_copy.c
src/mesa/drivers/dri/nouveau/nv04_state_frag.c
src/mesa/drivers/dri/nouveau/nv10_state_frag.c
src/mesa/drivers/dri/r200/r200_state_init.c
src/mesa/drivers/osmesa/osmesa.c
src/mesa/drivers/x11/xm_line.c
src/mesa/drivers/x11/xm_tri.c
src/mesa/main/ffvertex_prog.c
src/mesa/main/mtypes.h
src/mesa/main/texstate.c
src/mesa/swrast/s_context.c
src/mesa/swrast/s_texture.c
src/mesa/swrast/s_triangle.c