nak/opt_out: fix comparison in try_combine_outs

clippy complained it was comparing the same thing

Fixes: 5b355ff25a ("nak: Fix opt_out")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27216>
(cherry picked from commit 0a414ecdf5)
This commit is contained in:
Karol Herbst 2024-01-23 17:01:15 +01:00 committed by Eric Engestrom
parent e2178ddc07
commit 725af5b50c
2 changed files with 2 additions and 2 deletions

View file

@ -684,7 +684,7 @@
"description": "nak/opt_out: fix comparison in try_combine_outs",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "5b355ff25a769193cfe83af669e69d9e51f109ec",
"notes": null

View file

@ -24,7 +24,7 @@ fn try_combine_outs(emit: &mut Instr, cut: &Instr) -> bool {
return false;
}
if emit.stream != emit.stream {
if emit.stream != cut.stream {
return false;
}