anv: Only add END_OF_PIPE_SYNC if we actually have AUX_INVAL
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 18 Mar 2020 18:29:06 +0000 (13:29 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 19 Mar 2020 21:58:49 +0000 (21:58 +0000)
commit3252041a7872c49e53bb02ffe8b079b5fc43f15e
treea1ee50846170a114bcc1eb8b89f508b9ead04067
parent5b57aa79e2bd244079639bcc696251ce0f7af7c7
anv: Only add END_OF_PIPE_SYNC if we actually have AUX_INVAL

Fixes: 43dc842cb91c "anv: Wait for the GPU to be idle before..."
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: D Scott Phillips <d.scott.phillips@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4234>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4234>
src/intel/vulkan/genX_cmd_buffer.c