21 lines
291 B
WebGPU Shading Language
21 lines
291 B
WebGPU Shading Language
|
fn sign_0799fd() {
|
||
|
const arg_0 = vec2(1);
|
||
|
var res = sign(arg_0);
|
||
|
}
|
||
|
|
||
|
@vertex
|
||
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
||
|
sign_0799fd();
|
||
|
return vec4<f32>();
|
||
|
}
|
||
|
|
||
|
@fragment
|
||
|
fn fragment_main() {
|
||
|
sign_0799fd();
|
||
|
}
|
||
|
|
||
|
@compute @workgroup_size(1)
|
||
|
fn compute_main() {
|
||
|
sign_0799fd();
|
||
|
}
|