iris: Bail resource creation upon aux creation error
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 25 Oct 2019 22:38:18 +0000 (15:38 -0700)
committerSagar Ghuge <sagar.ghuge@intel.com>
Tue, 29 Oct 2019 21:46:15 +0000 (14:46 -0700)
commitf0ed86c6c621e227ecd7e680deac2e04cb9be9a0
tree4027eb2d3b83992c99379fdb7e91db398570a6d2
parent8b62e3d9788ad72cb74263126d5119db8b379463
iris: Bail resource creation upon aux creation error

The functions used during aux buffer configuration and creation only
return false for exceptional errors. Don't proceed with surface creation
in those cases.

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