mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
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 commit0a414ecdf5)
This commit is contained in:
parent
e2178ddc07
commit
725af5b50c
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue