Skip to content

Commit 19051b7

Browse files
committed
compile fix
1 parent 24f9137 commit 19051b7

File tree

1 file changed

+1
-1
lines changed
  • crates/spirv-std/macros/src

1 file changed

+1
-1
lines changed

crates/spirv-std/macros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ impl SampleImplRewriter {
698698
fn add_regs(&self, t: &mut Vec<TokenTree>) {
699699
for i in 0..SAMPLE_PARAM_COUNT {
700700
if self.0 & (1 << i) != 0 {
701-
let s = format!("{0} = in(reg) &param.{0},", SAMPLE_PARAM_NAMES[i]);
701+
let s = format!("{0} = in(reg) &params.{0},", SAMPLE_PARAM_NAMES[i]);
702702
let ts: proc_macro2::TokenStream = s.parse().unwrap();
703703
t.extend(ts);
704704
}

0 commit comments

Comments
 (0)