anv/meta: Simplify failure handling during clear init
authorChad Versace <chad.versace@intel.com>
Wed, 27 Jan 2016 22:02:57 +0000 (14:02 -0800)
committerChad Versace <chad.versace@intel.com>
Thu, 28 Jan 2016 01:01:56 +0000 (17:01 -0800)
commiteb6fb65fd1562aa61ea5a0ec82a6e248bf5b2423
tree8b30c9251e00b559d857cbd7f0a0411dfcc08e76
parent4085f1f230cef4ea3387978239a55fd78ef077cb
anv/meta: Simplify failure handling during clear init

Remove all the fine-grained cleanup in
anv_device_init_meta_clear_state(). Instead, if anything fails during
initialization, simply call anv_device_finish_meta_clear_state() and let
it clean up the partially initialized anv_meta_state::clear.
src/vulkan/anv_meta_clear.c