anv/gen7: Add memory barrier to vkCmdWaitEvents call
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 12 Apr 2016 17:15:38 +0000 (10:15 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 17 May 2016 20:04:03 +0000 (13:04 -0700)
commitaa41de080dad1996877fe7faaa8fed5e63d2f622
tree967331bed9c014430892de2a86d52a3fd3e7b636
parent8ee31828c656d456bfe067cfae512b1fbbd0bbd6
anv/gen7: Add memory barrier to vkCmdWaitEvents call

We also have this barrier call for gen8 vkCmdWaitEvents.

We don't implement waiting on events for gen7 yet, but this barrier at
least helps to not regress CTS cases when data caching is enabled.
Without this, the tests would intermittently report a failure when the
data cache was enabled.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/gen7_cmd_buffer.c