radv: Use the meta fast clear destructor on construction failure.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 23 Dec 2017 11:37:13 +0000 (12:37 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 29 Dec 2017 11:21:35 +0000 (12:21 +0100)
commit8abaa3aeaa0c146676ccef50075e550ceea6271a
treee4225ffefb641221324396b9eaeb60b8a2de9cc3
parente5feeec1404d5223cfed6921de2d5936dbfae95d
radv: Use the meta fast clear destructor on construction failure.

Simplifies failure paths. The caller already calls
radv_device_finish_meta_fast_clear_flush_state on failure.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/amd/vulkan/radv_meta_fast_clear.c