dawn-cmake/test/tint/benchmark/simple-fragment.wgsl

13 lines
183 B
WebGPU Shading Language
Raw Normal View History

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);
}