nak: Print names of missing instructions
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24998>
This commit is contained in:
committed by
Marge Bot
parent
cb50296e3d
commit
2bd71dd0f0
@@ -379,7 +379,7 @@ impl<'a> ShaderFromNir<'a> {
|
||||
srcs[1],
|
||||
));
|
||||
}
|
||||
_ => panic!("Unsupported ALU instruction"),
|
||||
_ => panic!("Unsupported ALU instruction: {}", alu.info().name()),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -489,7 +489,10 @@ impl<'a> ShaderFromNir<'a> {
|
||||
self.instrs.push(Instr::new_ast(addr, data, vtx, offset))
|
||||
}
|
||||
}
|
||||
_ => panic!("Unsupported intrinsic instruction"),
|
||||
_ => panic!(
|
||||
"Unsupported intrinsic instruction: {}",
|
||||
intrin.info().name()
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user