intel/isl: Return surface creation success from aux helpers
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 17 Feb 2017 21:48:11 +0000 (13:48 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 23 Feb 2017 20:10:42 +0000 (12:10 -0800)
commit3885375195c9c62f7450beabb070a0e47cc11c58
tree50680251d74066eb81c9e9035846d1318538edc5
parente6e8475b0f17e605e1c8251a076cc1d48734873b
intel/isl: Return surface creation success from aux helpers

The isl_surf_init call that each of these helpers make can, in theory,
fail.  We should propagate that up to the caller rather than just
silently ignoring it.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/intel/isl/isl.c
src/intel/isl/isl.h
src/intel/vulkan/anv_image.c