iris: Determine aux offsets within configure_aux
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 25 Oct 2019 22:07:42 +0000 (15:07 -0700)
committerSagar Ghuge <sagar.ghuge@intel.com>
Tue, 29 Oct 2019 21:46:15 +0000 (14:46 -0700)
commitff5bc81b51abc0cd64eaf36ccf2121235250bd56
tree9130a08576a959156e2759d647ccf65c09155edb
parentf0ed86c6c621e227ecd7e680deac2e04cb9be9a0
iris: Determine aux offsets within configure_aux

If a resource has a modifier, the main and aux surfaces will share a BO.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/iris/iris_resource.c