anv: Re-capture all batch and state buffers
authorJason Ekstrand <jason@jlekstrand.net>
Sat, 7 Dec 2019 00:11:14 +0000 (18:11 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Sat, 7 Dec 2019 04:03:35 +0000 (04:03 +0000)
commitbce1c3c668223254c4cb4ba4e83aed8c3e22b469
tree50066b75a323bf817c103e89f4c0b6cbf3b3d750
parent865ffe4e02038104481530e156380a9b0ae20fa1
anv: Re-capture all batch and state buffers

When we moved from allocating BOs directly to using the BO cache, we
lost the EXEC_OBJECT_CAPTURE flag on all our state buffers.

Fixes: 3119b96bdf57 "anv: Allocate block pool BOs from the cache"
Fixes: ee77938733cd "anv: Allocate batch and fence buffers from..."
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/intel/vulkan/anv_allocator.c