dawn-cmake/test/tint/builtins/gen/literal/ceil/bb2ca2.wgsl.expected.wgsl

20 lines
270 B
WebGPU Shading Language

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