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;
|
||||
}
|
||||
|
||||
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");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user