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:
parent
92a0588ac8
commit
cc84ee24fc
|
@ -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];
|
||||
})");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue