dawn-cmake/test/benchmark/simple_fragment.wgsl.expect...

15 lines
196 B
WebGPU Shading Language

struct Input {
[[location(0)]]
color : vec4<f32>;
}
struct Output {
[[location(0)]]
color : vec4<f32>;
}
[[stage(fragment)]]
fn main(in : Input) -> Output {
return Output(in.color);
}