iris: assert isl_surf_init success in resource_from_handle
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 29 May 2019 20:27:39 +0000 (16:27 -0400)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 2 Jul 2019 22:39:44 +0000 (15:39 -0700)
commite0054704665917a23e7d19c838059dab20d8d2b9
tree933e5d4d1872ef5f42d9b41e575da9a9fc4b6a24
parente708261cb7c31b40313a5d46276c8370bdfc6d41
iris: assert isl_surf_init success in resource_from_handle

this can fail unexpectedly due to bugs, so it's good to provide feedback
when this occurs

Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/gallium/drivers/iris/iris_resource.c