mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-12-01 11:13:30 +00:00
8 lines
162 B
WebGPU Shading Language
8 lines
162 B
WebGPU Shading Language
@vertex
|
|
fn vs() -> @builtin(position) @invariant vec4<f32> {
|
|
return vec4<f32>(0.0);
|
|
}
|
|
|
|
@fragment
|
|
fn fs(@builtin(position) @invariant position: vec4<f32>) { }
|