mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-17 20:00:20 +01:00
anv: use anv_add_pending_pipe_bits for event reset
Nicer tracking with INTEL_DEBUG=pc Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38707>
This commit is contained in:
parent
8834ef8bcd
commit
47bc9da064
1 changed files with 4 additions and 1 deletions
|
|
@ -6395,7 +6395,10 @@ void genX(CmdResetEvent2)(
|
|||
|
||||
case INTEL_ENGINE_CLASS_RENDER:
|
||||
case INTEL_ENGINE_CLASS_COMPUTE: {
|
||||
cmd_buffer->state.pending_pipe_bits |= ANV_PIPE_POST_SYNC_BIT;
|
||||
anv_add_pending_pipe_bits(cmd_buffer,
|
||||
stageMask, 0,
|
||||
ANV_PIPE_POST_SYNC_BIT,
|
||||
"event reset");
|
||||
genX(cmd_buffer_apply_pipe_flushes)(cmd_buffer);
|
||||
|
||||
enum anv_pipe_bits pc_bits = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue