mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 13:40:16 +01:00
anv: Add missing untyped data port flush on PIPELINE_SELECT
See the comments in emit_apply_pipe_flushes(). Flushing HDC is not
sufficient in GPGPU mode, and we need to set the untyped data port flush
bit as well.
Fixes many dEQP-VK failures with INTEL_COMPUTE_CLASS=1 on Alchemist.
Fixes: 1067ec90a5 ("anv: Update PIPELINE_CONTROL flush when switching pipeline mode in TGL+")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20774>
This commit is contained in:
parent
bc07b1a0bf
commit
a8108f1d44
1 changed files with 2 additions and 0 deletions
|
|
@ -6436,6 +6436,8 @@ genX(flush_pipeline_select)(struct anv_cmd_buffer *cmd_buffer,
|
||||||
if (cmd_buffer->state.current_pipeline == _3D) {
|
if (cmd_buffer->state.current_pipeline == _3D) {
|
||||||
bits |= ANV_PIPE_RENDER_TARGET_CACHE_FLUSH_BIT |
|
bits |= ANV_PIPE_RENDER_TARGET_CACHE_FLUSH_BIT |
|
||||||
ANV_PIPE_DEPTH_CACHE_FLUSH_BIT;
|
ANV_PIPE_DEPTH_CACHE_FLUSH_BIT;
|
||||||
|
} else {
|
||||||
|
bits |= ANV_PIPE_UNTYPED_DATAPORT_CACHE_FLUSH_BIT;
|
||||||
}
|
}
|
||||||
anv_add_pending_pipe_bits(cmd_buffer, bits, "flush PIPELINE_SELECT");
|
anv_add_pending_pipe_bits(cmd_buffer, bits, "flush PIPELINE_SELECT");
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue