mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-23 07:51:08 +01:00
Merge pull request #1773 from pythonesque/patch-1
Fix dynamic offset handling for render bundles
This commit is contained in:
1 file changed
+1
-1
@@ -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..];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user