nak: Fix printing of OpASt

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998>
This commit is contained in:
Faith Ekstrand 2023-09-23 16:44:52 -05:00 committed by Marge Bot
parent a7eb42119a
commit 97c249a353

View file

@ -3276,7 +3276,7 @@ pub struct OpASt {
impl fmt::Display for OpASt {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "ALD a")?;
write!(f, "AST a")?;
if !self.vtx.is_zero() {
write!(f, "[{}]", self.vtx)?;
}