dawn-cmake/test/intrinsics/gen/floor/3bccc4.wgsl.expected.wgsl

20 lines
310 B
WebGPU Shading Language

fn floor_3bccc4() {
var res : vec4<f32> = floor(vec4<f32>());
}
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
floor_3bccc4();
return vec4<f32>();
}
@stage(fragment)
fn fragment_main() {
floor_3bccc4();
}
@stage(compute) @workgroup_size(1)
fn compute_main() {
floor_3bccc4();
}