mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 21:10:12 +01:00
nouveau/mme: Don't allow WaW dependencies in the same Turing instruction
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
parent
5560f5f4ff
commit
83142c825f
1 changed files with 3 additions and 1 deletions
|
|
@ -276,7 +276,9 @@ mme_tu104_alus_have_dependency(const struct mme_tu104_alu *first,
|
|||
const struct mme_tu104_alu *second)
|
||||
{
|
||||
if (first->dst != MME_TU104_REG_ZERO &&
|
||||
(first->dst == second->src[0] || first->dst == second->src[1]))
|
||||
(first->dst == second->dst ||
|
||||
first->dst == second->src[0] ||
|
||||
first->dst == second->src[1]))
|
||||
return true;
|
||||
|
||||
/* TODO: This could be more detailed */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue