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

20 lines
293 B
WebGPU Shading Language
Raw Permalink Normal View History

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