Remove prints added in #67 and fix test broken in #64 (#69)

This commit is contained in:
Kai Ninomiya
2017-07-10 10:23:27 -07:00
committed by GitHub
parent cb2d6d8553
commit 563e9e253e
2 changed files with 2 additions and 2 deletions

View File

@@ -400,14 +400,12 @@ namespace backend {
}
// Assumes we have a pipeline already
if (!bindgroupsSet.all()) {
printf("%s:%d\n", __FUNCTION__, __LINE__);
return false;
}
for (size_t i = 0; i < bindgroups.size(); ++i) {
if (auto* bindgroup = bindgroups[i]) {
// TODO(kainino@chromium.org): bind group compatibility
if (bindgroup->GetLayout() != lastPipeline->GetLayout()->GetBindGroupLayout(i)) {
printf("%s:%d: i=%zu\n", __FUNCTION__, __LINE__, i);
return false;
}
}