i965: Make get_ccs_surf succeed in alloc_aux

Graphics / Mesa 3D Graphics Library / Mesa - Nanley Chery [intel.com] - 18 May 2018 16:53 EDT

Synchronize the requirements listed in isl_surf_get_ccs_surf with intel_miptree_supports_ccs by importing a restriction from ISL. Some implications:
- We successfully create every aux_surf in alloc_aux
- We only return false from alloc_aux if we run out of memory

da98441fef i965: Make get_ccs_surf succeed in alloc_aux
src/mesa/drivers/dri/i965/brw_blorp.c | 5 +----
src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 16 ++++++++++------
2 files changed, 11 insertions(+), 10 deletions(-)

Upstream: cgit.freedesktop.org


  • Share