nak: remove unnecessary use of format!()

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38807>
This commit is contained in:
Eric Engestrom 2025-10-06 17:02:47 +02:00
parent 0a529a908f
commit 91496f6d68

View file

@ -549,7 +549,10 @@ pub fn test_texture() {
nodep: true,
channel_mask: ChannelMask::for_comps(3),
};
c.push(instr, format!("tmml.b.lod.nodep r2, r0, r1, r3, 2d, 0x7;"));
c.push(
instr,
"tmml.b.lod.nodep r2, r0, r1, r3, 2d, 0x7;".to_string(),
);
let instr = OpTxd {
dsts: [Dst::Reg(r0), Dst::Reg(r2)],
@ -567,7 +570,7 @@ pub fn test_texture() {
};
c.push(
instr,
format!("txd.b.ef.nodep p0, r2, r0, r1, r3, 2d, 0x7;"),
"txd.b.ef.nodep p0, r2, r0, r1, r3, 2d, 0x7;".to_string(),
);
for tex_query in tex_queries {