HomePhabricator
Diffusion Mesa da98441fefd0

i965: Make get_ccs_surf succeed in alloc_aux

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

Description

i965: Make get_ccs_surf succeed in alloc_aux

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

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
rMESA42aee8f4f68d: llvmpipe: fix check for a no-op shader
Branches
Unknown
Tags
Unknown

Event Timeline

Nanley Chery <nanley.g.chery@intel.com> committed rMESAda98441fefd0: i965: Make get_ccs_surf succeed in alloc_aux (authored by Nanley Chery <nanley.g.chery@intel.com>).May 18 2018, 6:53 PM