Make a convenient int for what chipset generation we're on.
authorEric Anholt <eric@anholt.net>
Mon, 26 Oct 2009 16:28:32 +0000 (09:28 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 6 Nov 2009 19:37:31 +0000 (11:37 -0800)
commitcaf3038123d6d29afd7d1f0cd6db98a2282c3ca1
treecfa57e6e0396c9fc7b4728e1cff2aed413165d4a
parent4e4c2ee1fd574d1d651c559f46afb6ca5487156d
Make a convenient int for what chipset generation we're on.

gen2/3/4 are easier to say than "8xx, 915-945/g33/pineview, 965/g45/misc",
and compares on generation are often easier than stringing together a bunch
of chipset checks.
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_context.h
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_regions.c
src/mesa/drivers/dri/intel/intel_tex_validate.c