test: Add missing stage attributes to IO test

Change-Id: I7f69de9c3b6fe226e0688f56a8d076dc6ec4a81f
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/55281
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: James Price <jrprice@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
James Price
2021-06-19 01:12:45 +00:00
committed by Tint LUCI CQ
parent 960aa2ee75
commit a865b375aa
5 changed files with 108 additions and 41 deletions

View File

@@ -7,10 +7,12 @@ fn foo(x : f32) -> VertexOutput {
return VertexOutput(vec4<f32>(x, x, x, 1.0), 42);
}
[[stage(vertex)]]
fn vert_main1() -> VertexOutput {
return foo(0.5);
}
[[stage(vertex)]]
fn vert_main2() -> VertexOutput {
return foo(0.25);
}