dawn-cmake/test/tint/builtins/gen/floor/60d7ea.wgsl.expected.wgsl

20 lines
310 B
WebGPU Shading Language

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