mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 00:11:11 +01:00
10 lines
173 B
WebGPU Shading Language
10 lines
173 B
WebGPU Shading Language
[[stage(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);
|
|
}
|