mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 21:47:47 +00:00
Fix indexing error
This commit is contained in:
@@ -132,7 +132,7 @@ namespace backend {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!IsAligned(bufferViews[i]->GetOffset(), 256)) {
|
if (!IsAligned(bufferViews[j]->GetOffset(), 256)) {
|
||||||
HandleError("Buffer view offset for bind group needs to be 256-byte aligned");
|
HandleError("Buffer view offset for bind group needs to be 256-byte aligned");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user