mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-16 12:21:35 +00:00
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…
x
Reference in New Issue
Block a user