mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[spv-in] patch calls from the entry points
This commit is contained in:
committed by
Dzmitry Malyshau
parent
c5fe1d53c7
commit
9846a85174
@@ -1809,8 +1809,9 @@ impl<I: Iterator<Item = u32>> Parser<I> {
|
||||
for (_, fun) in module.functions.iter_mut() {
|
||||
self.patch_function_calls(fun)?;
|
||||
}
|
||||
// Note: we aren't patching the entry point functions, because they are simply
|
||||
// wrappers behind real functions, and are already resolved.
|
||||
for ep in module.entry_points.iter_mut() {
|
||||
self.patch_function_calls(&mut ep.function)?;
|
||||
}
|
||||
|
||||
// Check all the images and samplers to have consistent comparison property.
|
||||
for (handle, flags) in self.handle_sampling.drain() {
|
||||
|
||||
Reference in New Issue
Block a user