Fix test/compute_builds.wgsl

The shader was failing new binary operator validation

Bug: tint:354
Change-Id: I779d96c19b12675ccd5dc348fa0d8be3aadf38c1
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/45121
Auto-Submit: Ben Clayton <bclayton@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
Ben Clayton 2021-03-17 18:43:53 +00:00 committed by Commit Bot service account
parent e8bf942fef
commit 7862da9901

View File

@ -81,7 +81,7 @@ fn comp_main() -> void {
var pos : vec2<f32>;
var vel : vec2<f32>;
for(var i : u32 = 0u; i < 5u; i = i + 1) {
for(var i : u32 = 0u; i < 5u; i = i + 1u) {
if (i == index) {
continue;
}