Fix ComputeCopyStorageBufferTests tests

BUG=dawn:709

Change-Id: Ib829a834546588a2948179f487fc75b1bf09cf06
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/44901
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
This commit is contained in:
Ryan Harrison 2021-03-16 19:34:41 +00:00 committed by Commit Bot service account
parent 92a0588ac8
commit cc84ee24fc
1 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ TEST_P(ComputeCopyStorageBufferTests, SizedArrayOfBasic) {
[[stage(compute)]] fn main() -> void {
var index : u32 = GlobalInvocationID.x;
if (index >= 4) { return; }
if (index >= 4u) { return; }
dst.s[index] = src.s[index];
})");
}
@ -131,7 +131,7 @@ TEST_P(ComputeCopyStorageBufferTests, SizedArrayOfStruct) {
[[stage(compute)]] fn main() -> void {
var index : u32 = GlobalInvocationID.x;
if (index >= 4) { return; }
if (index >= 4u) { return; }
dst.s[index] = src.s[index];
})");
}
@ -154,7 +154,7 @@ TEST_P(ComputeCopyStorageBufferTests, UnsizedArrayOfBasic) {
[[stage(compute)]] fn main() -> void {
var index : u32 = GlobalInvocationID.x;
if (index >= 4) { return; }
if (index >= 4u) { return; }
dst.s[index] = src.s[index];
})");
}