iris: Disallow incomplete resource creation
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 2 Aug 2019 22:38:36 +0000 (15:38 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Mon, 28 Oct 2019 17:47:06 +0000 (10:47 -0700)
commitd298740a1c1c7798d21a0978d6fa5f72ee97b9fe
treeaeb39343d59a925f8a726e7f65feb20c34382a8b
parentf2fc5dece93019f0bab203247985cf350d541156
iris: Disallow incomplete resource creation

If a modifier specifies an aux, it must be created.

Fixes: 75a3947af46 ("iris/resource: Fall back to no aux if creation fails")
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_resource.c