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