nak: Don't print a range for one register
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998>
This commit is contained in:
committed by
Marge Bot
parent
f29b714ec9
commit
4ec66f3e5c
@@ -611,7 +611,7 @@ impl fmt::Display for RegRef {
|
||||
RegFile::Mem => write!(f, "M")?,
|
||||
}
|
||||
write!(f, "{}", self.base_idx())?;
|
||||
if self.comps() >= 1 {
|
||||
if self.comps() > 1 {
|
||||
write!(f, "..{}", self.idx_range().end)?;
|
||||
}
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user