fix bind group state tracking on pipeline switch
This commit is contained in:
parent
ed54ec0c71
commit
29477375a6
|
@ -280,6 +280,8 @@ namespace backend {
|
|||
for (uint32_t i = 0; i < kMaxBindGroups; ++i) {
|
||||
if (lastLayout->GetBindGroupLayout(i) == layout->GetBindGroupLayout(i)) {
|
||||
bindgroupsSet |= uint64_t(1) << i;
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue