blob: 3d52b2be9a59946c334a5a9ae67fc5039c31b4e6 [file] [log] [blame] [edit]
enable chromium_internal_dual_source_blending;
struct FragOutput {
@location(0) @index(0) color : vec4<f32>,
@location(0) @index(1) blend : vec4<f32>,
};
@fragment
fn frag_main() -> FragOutput {
var output : FragOutput;
output.color = vec4<f32>(0.5, 0.5, 0.5, 1.0);
output.blend = vec4<f32>(0.5, 0.5, 0.5, 1.0);
return output;
}