mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 15:46:28 +00:00
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:
committed by
Tint LUCI CQ
parent
960aa2ee75
commit
a865b375aa
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user