anv: change pipe control in genX_pipeline to use pc helper

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23583>
This commit is contained in:
Tapani Pälli 2023-06-08 09:35:22 +03:00 committed by Marge Bot
parent c232269db4
commit e70cf3ea98

View file

@ -1075,9 +1075,7 @@ emit_3dstate_streamout(struct anv_graphics_pipeline *pipeline,
#if GFX_VERx10 == 125
/* Wa_14015946265: Send PC with CS stall after SO_DECL. */
anv_batch_emit(batch, GENX(PIPE_CONTROL), pc) {
pc.CommandStreamerStallEnable = true;
}
genX(batch_emit_pipe_control)(batch, device->info, ANV_PIPE_CS_STALL_BIT);
#endif
}