i965/miptree: Remove redundant check for null texture
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 22 Dec 2016 08:36:03 +0000 (10:36 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 27 Jan 2017 06:57:26 +0000 (08:57 +0200)
commit26a9e039fdc63c04d5b3383d91c5eea1494c0f8f
treee061c43e2235e96386e06ef14817b881608e01f7
parentbcec4113cc812f604deb8dff2bb91a32340984fa
i965/miptree: Remove redundant check for null texture

There exact same check earlier in brw_miptree_layout() which
intel_miptree_create_layout() in turn calls unconditionally.

Reviewed-by: Samuel Iglesias Gons\341lvez <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c