mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 09:30:11 +01:00
nak: Only write deps.delay when set
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26291>
This commit is contained in:
parent
3f027f7dcc
commit
32d6720bb0
1 changed files with 4 additions and 2 deletions
|
|
@ -4530,7 +4530,9 @@ impl InstrDeps {
|
|||
|
||||
impl fmt::Display for InstrDeps {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
write!(f, "delay={}", self.delay)?;
|
||||
if self.delay > 0 {
|
||||
write!(f, " delay={}", self.delay)?;
|
||||
}
|
||||
if self.wt_bar_mask != 0 {
|
||||
write!(f, " wt={:06b}", self.wt_bar_mask)?;
|
||||
}
|
||||
|
|
@ -4800,7 +4802,7 @@ impl fmt::Display for Instr {
|
|||
if !self.pred.is_true() {
|
||||
write!(f, "@{} ", self.pred)?;
|
||||
}
|
||||
write!(f, "{} {}", self.op, self.deps)
|
||||
write!(f, "{}{}", self.op, self.deps)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue