mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
aco/optimizer_postRA: check overwritten_subdword in is_overwritten_since()
Fixes crash for
dEQP-VK.mesh_shader.ext.in_out.with_f16.permutation_0.mesh_only and
similar tests on GFX11.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Fixes: 3d29779a25 ("aco/optimizer_postRA: Distinguish overwritten untrackable and subdword.")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25223>
This commit is contained in:
parent
92012c9bec
commit
ac48334ecd
1 changed files with 2 additions and 0 deletions
|
|
@ -211,6 +211,8 @@ is_overwritten_since(pr_opt_ctx& ctx, PhysReg reg, RegClass rc, const Idx& since
|
|||
return true;
|
||||
else if (i == overwritten_untrackable || i == not_written_yet)
|
||||
continue;
|
||||
else if (i == overwritten_subdword)
|
||||
return true;
|
||||
|
||||
assert(i.found());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue