Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23814>
}
}
+ /* TODO: Figure out why MTL needs ANV_PIPE_DATA_CACHE_FLUSH_BIT in order
+ * to not lose the availability bit.
+ */
anv_add_pending_pipe_bits(cmd_buffer,
- ANV_PIPE_END_OF_PIPE_SYNC_BIT,
+ ANV_PIPE_END_OF_PIPE_SYNC_BIT |
+ ANV_PIPE_DATA_CACHE_FLUSH_BIT,
"after write acceleration struct props");
genX(cmd_buffer_apply_pipe_flushes)(cmd_buffer);