mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +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> (cherry picked from commitac48334ecd)
This commit is contained in:
parent
49f7130c49
commit
289dc50798
2 changed files with 3 additions and 1 deletions
|
|
@ -526,7 +526,7 @@
|
|||
"description": "aco/optimizer_postRA: check overwritten_subdword in is_overwritten_since()",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "3d29779a25a98898163b1dc9c687e6e6211d13c5"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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