dawn-cmake/test/tint/builtins/gen/var/round/8fdca3.wgsl.expected.wgsl

21 lines
298 B
WebGPU Shading Language
Raw Normal View History

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