mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 06:44:14 +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>) { }
|