mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 00:50:07 +01:00
anv: disable task redistribution
If task redistribution is enabled, then some mesh shaders read
garbage from task payload.
It may be a hardware bug, or it may be our bug. Who knows :(
This change will probably negatively affect performance of task
shader-enabled workloads on multi-slice GPUs, because mesh shaders
will be executed only on the slice where task shader was spawned.
Fixes: ef04caea9b ("anv: Implement Mesh Shading pipeline")
Acked-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16197>
This commit is contained in:
parent
6c0215eb09
commit
4eaecd7965
1 changed files with 6 additions and 1 deletions
|
|
@ -2216,7 +2216,12 @@ emit_task_state(struct anv_graphics_pipeline *pipeline)
|
|||
redistrib.SmallTaskThreshold = 1; /* 2^N */
|
||||
redistrib.TargetMeshBatchSize = devinfo->num_slices > 2 ? 3 : 5; /* 2^N */
|
||||
redistrib.TaskRedistributionLevel = TASKREDISTRIB_BOM;
|
||||
redistrib.TaskRedistributionMode = TASKREDISTRIB_RR_STRICT;
|
||||
|
||||
/* TODO: We have an unknown issue with Task Payload when task redistribution
|
||||
* is enabled. Disable it for now.
|
||||
* See https://gitlab.freedesktop.org/mesa/mesa/-/issues/7141
|
||||
*/
|
||||
redistrib.TaskRedistributionMode = TASKREDISTRIB_OFF;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue