20 lines
324 B
WebGPU Shading Language
20 lines
324 B
WebGPU Shading Language
fn smoothStep_cb0bfb() {
|
|
var res : f32 = smoothStep(1.0, 1.0, 1.0);
|
|
}
|
|
|
|
[[stage(vertex)]]
|
|
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
|
smoothStep_cb0bfb();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
[[stage(fragment)]]
|
|
fn fragment_main() {
|
|
smoothStep_cb0bfb();
|
|
}
|
|
|
|
[[stage(compute)]]
|
|
fn compute_main() {
|
|
smoothStep_cb0bfb();
|
|
}
|