blob: 138fd2ad2c60f0974594cd8103d0abf156b7ee5c [file] [log] [blame]
fn trunc_c12555() {
var res = trunc(vec2(1.5));
}
@fragment
fn fragment_main() {
trunc_c12555();
}
@compute @workgroup_size(1)
fn compute_main() {
trunc_c12555();
}
struct VertexOutput {
@builtin(position)
pos : vec4<f32>,
}
@vertex
fn vertex_main() -> VertexOutput {
var out : VertexOutput;
out.pos = vec4<f32>();
trunc_c12555();
return out;
}