dawn-cmake/test/tint/builtins/gen/literal/trunc/117396.wgsl.expected.wgsl

20 lines
275 B
WebGPU Shading Language
Raw Normal View History

fn trunc_117396() {
var res = trunc(vec3(1.5));
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
trunc_117396();
return vec4<f32>();
}
@fragment
fn fragment_main() {
trunc_117396();
}
@compute @workgroup_size(1)
fn compute_main() {
trunc_117396();
}