HomePhabricator
Diffusion Mesa f88caf2321bb

i965/miptree: Remove format assertion in alloc_aux

Authored by Nanley Chery <nanley.g.chery@intel.com> on May 16 2018, 8:03 PM.

Description

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>

Details

Committed
Nanley Chery <nanley.g.chery@intel.com>May 18 2018, 6:53 PM
Pushed
pmoreauMay 22 2018, 7:03 PM
Parents
rMESA8007b2d78b42: i965/miptree: Simplify the switch in supports_ccs
Branches
Unknown
Tags
Unknown

Event Timeline

Nanley Chery <nanley.g.chery@intel.com> committed rMESAf88caf2321bb: i965/miptree: Remove format assertion in alloc_aux (authored by Nanley Chery <nanley.g.chery@intel.com>).May 18 2018, 6:53 PM