dawn-cmake/test/intrinsics/gen/floor/5fc9ac.wgsl.expected.wgsl

20 lines
303 B
WebGPU Shading Language

fn floor_5fc9ac() {
var res : vec2<f32> = floor(vec2<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
floor_5fc9ac();
return vec4<f32>();
}
[[stage(fragment)]]
fn fragment_main() {
floor_5fc9ac();
}
[[stage(compute)]]
fn compute_main() {
floor_5fc9ac();
}