Skip to content

Commit

Permalink
Fix Criterion benchmark build.
Browse files Browse the repository at this point in the history
As of gfx-rs#1889, the GLSL back end takes an additional argument specifying
the bounds checks policies to use.
  • Loading branch information
jimblandy committed Jun 1, 2022
1 parent e461d30 commit 48d0501
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions benches/criterion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ fn backends(c: &mut Criterion) {
info,
&options,
&pipeline_options,
naga::proc::BoundsCheckPolicies::default(),
) {
Ok(mut writer) => {
let _ = writer.write(); // can error if unsupported
Expand Down

0 comments on commit 48d0501

Please sign in to comment.