wgpu/naga/tests/in/invariant.wgsl
2023-10-25 14:25:04 -04:00

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>) { }