i965/miptree: Remove format assertion in alloc_aux
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 16 May 2018 18:03:24 +0000 (11:03 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 18 May 2018 16:53:06 +0000 (09:53 -0700)
commitf88caf2321bbe809b9882fbc86f5aff718f68a75
treef2e2e701c2146a15779d99f5a47cdd4b6860dc15
parent8007b2d78b42a6eaf90dfdb5f59f71bedd9f268c
i965/miptree: Remove format assertion in alloc_aux

intel_miptree_supports_{ccs,mcs,hiz} ensures the format is valid for the
color or depth miptree before the miptree is assigned an aux_usage.
alloc_aux switches on the aux_usage so don't assert that the format is
valid.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c