anv: anv: refactor error handling in anv_shader_bin_write_to_blob()
authorTapani Pälli <tapani.palli@intel.com>
Thu, 14 Feb 2019 08:12:49 +0000 (10:12 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 20 Feb 2019 13:39:19 +0000 (15:39 +0200)
commit886cee1f96b41b786f9699d57d0048151b3f8c8e
treeb21b3e7b2abcd9c7f101ff0cca7f1337062c4c3e
parent30a01cd9232ed83a0259d184b82e050bae219ed3
anv: anv: refactor error handling in anv_shader_bin_write_to_blob()

v2: blob manages error state internally, just return
    true if errors did not occur (Jason)

CID: 1442546
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_pipeline_cache.c