dawn-cmake/test/tint/builtins/gen/literal/modf/4bfced.wgsl.expected.wgsl

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

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