2022-01-18 18:58:16 +00:00
|
|
|
struct Input {
|
2022-01-19 22:46:57 +00:00
|
|
|
@location(0)
|
2022-01-18 18:58:16 +00:00
|
|
|
color : vec4<f32>;
|
2022-01-19 18:11:17 +00:00
|
|
|
}
|
2022-01-18 18:58:16 +00:00
|
|
|
|
|
|
|
struct Output {
|
2022-01-19 22:46:57 +00:00
|
|
|
@location(0)
|
2022-01-18 18:58:16 +00:00
|
|
|
color : vec4<f32>;
|
2022-01-19 18:11:17 +00:00
|
|
|
}
|
2022-01-18 18:58:16 +00:00
|
|
|
|
2022-01-19 22:46:57 +00:00
|
|
|
@stage(fragment)
|
2022-01-18 18:58:16 +00:00
|
|
|
fn main(in : Input) -> Output {
|
|
|
|
return Output(in.color);
|
|
|
|
}
|