intel: Remove intel_mipmap_tree::wraps_etc
authorChad Versace <chad.versace@linux.intel.com>
Fri, 15 Feb 2013 20:58:03 +0000 (12:58 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Thu, 28 Feb 2013 23:22:41 +0000 (15:22 -0800)
commit809fdc211fbe8fb7e2a8f024a7ad1a38948be0d0
treed7555b3e14f88522c2fd0851de477038047645a4
parentc001985cbf299f283d64289e1ba5f2a236880ebb
intel: Remove intel_mipmap_tree::wraps_etc

The field was equivalent to (etc_format != MESA_FORMAT_NONE), and
therefore duplicate information.

This patch removes field and replaces all references to it with
`etc_format != MESA_FORMAT_NONE`.

No Piglit ETC test regresses on Intel Sandybridge.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.h