mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
anv: hand over ANV_PIPE_RT_BTI_CHANGE to pipe control
There are issues when using resource barrier for this.
Fixes: 24e9afb0b7 ("anv: implement resource barrier emissions")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14533
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/39132>
This commit is contained in:
parent
ee5e6245ce
commit
4b2b824112
1 changed files with 6 additions and 0 deletions
|
|
@ -1964,6 +1964,12 @@ can_use_resource_barrier(const struct intel_device_info *devinfo,
|
||||||
ANV_PIPE_CS_STALL_BIT))
|
ANV_PIPE_CS_STALL_BIT))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
/* There are issues with resource barrier and ANV_PIPE_RT_BTI_CHANGE,
|
||||||
|
* see https://gitlab.freedesktop.org/mesa/mesa/-/issues/14533
|
||||||
|
*/
|
||||||
|
if (bits & ANV_PIPE_RT_BTI_CHANGE)
|
||||||
|
return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue