mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Reset the bindings on the push constant change
This commit is contained in:
parent
c71091b2e6
commit
692e82d521
@ -179,9 +179,7 @@ impl Binder {
|
||||
if let Some(old_id) = old_id_opt {
|
||||
let old = &guard[old_id];
|
||||
// root constants are the base compatibility property
|
||||
if old.push_constant_ranges != new.push_constant_ranges
|
||||
&& bind_range.end != bind_range.start
|
||||
{
|
||||
if old.push_constant_ranges != new.push_constant_ranges {
|
||||
bind_range.start = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user