anv: Fix the target_bo assertion in anv_reloc_list_add
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 17 Sep 2020 12:21:52 +0000 (07:21 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 17 Sep 2020 12:25:05 +0000 (07:25 -0500)
commita163cba1e3a20536377d9b0f9617f8433d580114
tree72df72d9eb1de12a4ffdf23eaa5030b96cdb22b6
parent85cc2950a045ca0fe153498fb7d48322d2906482
anv: Fix the target_bo assertion in anv_reloc_list_add

Fixes: b75a92e2010e "anv: assert that the target bo is valid..."
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3528
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6759>
src/intel/vulkan/anv_batch_chain.c