dawn-cmake/test/tint/builtins/gen/literal/mix/e46a83.wgsl.expected.wgsl

22 lines
322 B
WebGPU Shading Language

enable f16;
fn mix_e46a83() {
var res : vec2<f16> = mix(vec2<f16>(f16()), vec2<f16>(f16()), f16());
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
mix_e46a83();
return vec4<f32>();
}
@fragment
fn fragment_main() {
mix_e46a83();
}
@compute @workgroup_size(1)
fn compute_main() {
mix_e46a83();
}