dawn-cmake/test/tint/builtins/gen/var/sign/c8289c.wgsl.expected.wgsl

21 lines
285 B
WebGPU Shading Language
Raw Normal View History

fn sign_c8289c() {
const arg_0 = 1;
var res = sign(arg_0);
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
sign_c8289c();
return vec4<f32>();
}
@fragment
fn fragment_main() {
sign_c8289c();
}
@compute @workgroup_size(1)
fn compute_main() {
sign_c8289c();
}