mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 03:00:11 +01:00
nak: remove unnecessary use of format!()
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38807>
This commit is contained in:
parent
0a529a908f
commit
91496f6d68
1 changed files with 5 additions and 2 deletions
|
|
@ -549,7 +549,10 @@ pub fn test_texture() {
|
||||||
nodep: true,
|
nodep: true,
|
||||||
channel_mask: ChannelMask::for_comps(3),
|
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 {
|
let instr = OpTxd {
|
||||||
dsts: [Dst::Reg(r0), Dst::Reg(r2)],
|
dsts: [Dst::Reg(r0), Dst::Reg(r2)],
|
||||||
|
|
@ -567,7 +570,7 @@ pub fn test_texture() {
|
||||||
};
|
};
|
||||||
c.push(
|
c.push(
|
||||||
instr,
|
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 {
|
for tex_query in tex_queries {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue