blob: 89577e06f8ec4ec186d43969db68875532c67a8a [file] [log] [blame]
enable dual_source_blending;
struct FragInput {
@location(0) a : vec4<f32>,
@location(1) b : vec4<f32>,
};
struct FragOutput {
@location(0) @blend_src(0) color : vec4<f32>,
@location(0) @blend_src(1) blend : vec4<f32>,
};
@fragment
fn frag_main(in : FragInput) -> FragOutput {
var output : FragOutput;
output.color = in.a;
output.blend = in.b;
return output;
}