i965/miptree: Fall back to no aux if creation fails
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 24 Apr 2019 20:34:15 +0000 (13:34 -0700)
committerNanley Chery <nanleychery@gmail.com>
Tue, 14 May 2019 16:23:12 +0000 (16:23 +0000)
commitcf758c41827d959e62953284c520807e2d281e86
tree5bbb2c8e501da5a8064468f5b685612ea0f1dafc
parentfc455797c1b20d989e705d05bb165fa32bc360d0
i965/miptree: Fall back to no aux if creation fails

No surface requires an auxiliary surface to operate correctly. Fall back
to an uncompressed surface if mesa fails to create and allocate an
auxiliary surface. This enables adding more restrictions to ISL without
having to update i965.

Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c