anv: reset all dynamic state after secondary execution
We don't know in what state the secondary buffer will leave the HW when it ends. It's easier to consider everything needs to be reemitted for now. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16220>
This commit is contained in:
parent
7d87478124
commit
5048f15737
|
@ -1982,6 +1982,7 @@ genX(CmdExecuteCommands)(
|
|||
primary->state.current_pipeline = UINT32_MAX;
|
||||
primary->state.current_l3_config = NULL;
|
||||
primary->state.current_hash_scale = 0;
|
||||
primary->state.gfx.dirty |= ANV_CMD_DIRTY_DYNAMIC_ALL;
|
||||
|
||||
/* Each of the secondary command buffers will use its own state base
|
||||
* address. We need to re-emit state base address for the primary after
|
||||
|
|
Loading…
Reference in New Issue