Skip to content

Commit

Permalink
criterion benchmark: promise a modern MSL back end.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimblandy committed Sep 25, 2023
1 parent 119af94 commit a245467
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion benches/criterion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,10 @@ fn backends(c: &mut Criterion) {
group.bench_function("msl", |b| {
b.iter(|| {
let mut string = String::new();
let options = naga::back::msl::Options::default();
let options = naga::back::msl::Options {
lang_version: (2, 1),
.. Default::default()
};
for &(ref module, ref info) in inputs.iter() {
let pipeline_options = naga::back::msl::PipelineOptions::default();
let mut writer = naga::back::msl::Writer::new(&mut string);
Expand Down

0 comments on commit a245467

Please sign in to comment.