mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
Merge pull request #1773 from pythonesque/patch-1
Fix dynamic offset handling for render bundles
This commit is contained in:
commit
7798534d42
@ -633,7 +633,7 @@ impl RenderBundle {
|
||||
&pipeline_layout_guard[pipeline_layout_id.unwrap()].raw,
|
||||
index as u32,
|
||||
&bind_group.raw,
|
||||
&offsets[num_dynamic_offsets as usize..],
|
||||
&offsets[..num_dynamic_offsets as usize],
|
||||
);
|
||||
offsets = &offsets[num_dynamic_offsets as usize..];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user