dawn-cmake/test/tint/builtins/gen/literal/floor/3bccc4.wgsl.expected.wgsl

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

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