mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 21:47:47 +00:00
Require vertex shaders to return builtin(position)
Fixup many tests that were just returning void. Change-Id: Ic93db5b187c679dc1c24a356b48a64e41ba9a823 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/48560 Commit-Queue: James Price <jrprice@google.com> Auto-Submit: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
98c2cf0e91
commit
2dd393729c
@@ -36,7 +36,7 @@ TEST_F(ParserTest, Parses) {
|
||||
Source::File file("test.wgsl", R"(
|
||||
[[location(0)]] var<out> gl_FragColor : vec4<f32>;
|
||||
|
||||
[[stage(vertex)]]
|
||||
[[stage(fragment)]]
|
||||
fn main() {
|
||||
gl_FragColor = vec4<f32>(.4, .2, .3, 1.);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user