Reset the bindings on the push constant change

This commit is contained in:
Dzmitry Malyshau 2021-02-11 14:47:35 -05:00
parent c71091b2e6
commit 692e82d521

View File

@ -179,9 +179,7 @@ impl Binder {
if let Some(old_id) = old_id_opt { if let Some(old_id) = old_id_opt {
let old = &guard[old_id]; let old = &guard[old_id];
// root constants are the base compatibility property // root constants are the base compatibility property
if old.push_constant_ranges != new.push_constant_ranges if old.push_constant_ranges != new.push_constant_ranges {
&& bind_range.end != bind_range.start
{
bind_range.start = 0; bind_range.start = 0;
} }
} }