anv:gpu_memcpy: Emit 3DSTATE_VF_INDEXING on Gen8+
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 24 Apr 2020 17:27:21 +0000 (12:27 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 18 May 2020 21:42:05 +0000 (21:42 +0000)
commit164aed6c8142a995c6ac1c36ee7a16896f675163
treedf744eb3a91bbcb997718b396415eb8158ce4e6d
parent6a6c36e9776a5f1df2e84aead670b215712f4094
anv:gpu_memcpy: Emit 3DSTATE_VF_INDEXING on Gen8+

If this gets run right after something which uses
VK_VERTEX_INPUT_RATE_INSTANCE on its first vertex binding, we could end
up in serious trouble.

Fixes: 3d9747780b "anv: Add a helper for doing buffer copies with..."
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5090>
src/intel/vulkan/genX_gpu_memcpy.c