mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-21 22:34:34 +00:00
compile fix
This commit is contained in:
parent
24f9137a6b
commit
19051b7a11
@ -698,7 +698,7 @@ impl SampleImplRewriter {
|
||||
fn add_regs(&self, t: &mut Vec<TokenTree>) {
|
||||
for i in 0..SAMPLE_PARAM_COUNT {
|
||||
if self.0 & (1 << i) != 0 {
|
||||
let s = format!("{0} = in(reg) ¶m.{0},", SAMPLE_PARAM_NAMES[i]);
|
||||
let s = format!("{0} = in(reg) ¶ms.{0},", SAMPLE_PARAM_NAMES[i]);
|
||||
let ts: proc_macro2::TokenStream = s.parse().unwrap();
|
||||
t.extend(ts);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user