iced/examples/integration_wgpu/src/shader/frag.wgsl
2022-07-02 15:39:42 +08:00

4 lines
92 B
WebGPU Shading Language

@fragment
fn main() -> @location(0) vec4<f32> {
return vec4<f32>(1.0, 0.0, 0.0, 1.0);
}