intel: Remove intel_context::has_xrgb_textures/has_luminance_srgb.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 24 Sep 2011 07:51:39 +0000 (00:51 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 26 Sep 2011 18:50:31 +0000 (11:50 -0700)
commit3f9f1b365967a41f09431f724f43b59ca0e753b8
treea998e746623ef8f56ff0c85a3684c8c82b98911e
parent01dda0758e31ec62145488d9880a991674521054
intel: Remove intel_context::has_xrgb_textures/has_luminance_srgb.

Seeing as they were only used once (in the same function they were
defined), having them as context members seemed rather pointless.

Remove them entirely (rather than using local variables) since the
chipset generation checks are actually just as straightforward.

While we're at it, clean up the remainder of the if-tree that set them.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_context.h