anv: Always invalidate the VF cache in BeginCommandBuffer
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 2 Dec 2019 18:14:45 +0000 (12:14 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 5 Dec 2019 16:59:10 +0000 (10:59 -0600)
commit7ce39a55c1d7efe0432d4654cafe372b05d99ee2
treede913ade72e053ba4dc53522b7709859f13f591e
parenta500a6b7f138b3fa42debbba8605ec4378ff3569
anv: Always invalidate the VF cache in BeginCommandBuffer

I think the reason why we only do this for primaries is that we didn't
expect to have blorp calls in secondaries.  However, you are allowed to
have a full render pass in a secondary command buffer so resolves and
clears can end up in there.  We should just always invalidate.

Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/genX_cmd_buffer.c