2022-01-18 18:58:16 +00:00
|
|
|
struct Input {
|
2022-01-19 22:46:57 +00:00
|
|
|
@location(0) color: vec4<f32>;
|
2022-01-18 18:58:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct Output {
|
2022-01-19 22:46:57 +00:00
|
|
|
@location(0) color: vec4<f32>;
|
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);
|
|
|
|
}
|