mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 03:38:06 +02:00
intel/fs: don't try to rebuild sequences of non ssa values
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes:04777171e0("intel/fs: try to rematerialize surface computation code") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9378 Reviewed-by: Illia Polishchuk <illia.a.polishchuk@globallogic.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24228> (cherry picked from commit8cbf730145)
This commit is contained in:
parent
20dbe71b13
commit
33c8fe16ac
2 changed files with 4 additions and 2 deletions
|
|
@ -24544,7 +24544,7 @@
|
|||
"description": "intel/fs: don't try to rebuild sequences of non ssa values",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "04777171e01e9cf1a4e1d5de68922392ba8e7002",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -4062,7 +4062,9 @@ fs_visitor::try_rebuild_resource(const brw::fs_builder &bld, nir_ssa_def *resour
|
|||
if (nir_op_infos[alu->op].num_inputs != 2)
|
||||
break;
|
||||
|
||||
if (alu->src[0].negate ||
|
||||
if (!alu->src[0].src.is_ssa ||
|
||||
!alu->src[1].src.is_ssa ||
|
||||
alu->src[0].negate ||
|
||||
alu->src[0].abs ||
|
||||
alu->src[0].swizzle[0] != 0 ||
|
||||
alu->src[1].negate ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue