i965: Removed the field etc_format from the struct intel_mipmap_tree
authorEleni Maria Stea <estea@igalia.com>
Fri, 15 Feb 2019 13:29:44 +0000 (15:29 +0200)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 15 Feb 2019 23:54:41 +0000 (15:54 -0800)
commit7188e2ba1577fb6e4cf3cb07b73e3fd15950d635
treebe77d6167e9780cfff8820f5ff8f081d1c6c5352
parent248f2e788860240ab84fc10f0d18332c34712b85
i965: Removed the field etc_format from the struct intel_mipmap_tree

After the previous changes to emulate the ETC/EAC formats using the
secondary shadow miptree, the etc_format field of the intel_mipmap_tree
struct became redundant and the remaining check that used it has been
replaced. (Nanley Chery)

Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h