Skip to content

Commit

Permalink
Populate sampling pairs for validation (#2188)
Browse files Browse the repository at this point in the history
  • Loading branch information
kvark committed Dec 2, 2021
1 parent f2bb581 commit eb3dbda
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions wgpu-core/src/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -927,6 +927,11 @@ impl Interface {
}
}

for key in info.sampling_set.iter() {
ep.sampling_pairs
.insert((resource_mapping[&key.image], resource_mapping[&key.sampler]));
}

entry_points.insert((entry_point.stage, entry_point.name.clone()), ep);
}

Expand Down

0 comments on commit eb3dbda

Please sign in to comment.