i965/miptree: Check for miptree_create() failures
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Tue, 20 Jun 2017 14:36:46 +0000 (17:36 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Tue, 18 Jul 2017 18:35:03 +0000 (21:35 +0300)
commit2309363868aaf5821b748042e34b5c827e6cfb00
treebcb2d2bedd6366884360379449848f8ab3bcd340
parent0320d9bd845afa1d7ea2305aa0338b7b296f8d3d
i965/miptree: Check for miptree_create() failures

Rest of the function assumes it always succeeds.

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