wgpu/tests/in/math-functions.wgsl
2022-04-15 18:02:48 +01:00

10 lines
163 B
WebGPU Shading Language

@vertex
fn main() {
let f = 1.0;
let v = vec4<f32>(0.0);
let a = degrees(f);
let b = radians(f);
let c = degrees(v);
let d = radians(v);
}