dawn-cmake/test/tint/expressions/splat/expression/f16.wgsl

7 lines
170 B
WebGPU Shading Language

enable f16;
fn f() {
var v2 : vec2<f16> = vec2<f16>(1.0h + 2.0h);
var v3 : vec3<f16> = vec3<f16>(1.0h + 2.0h);
var v4 : vec4<f16> = vec4<f16>(1.0h + 2.0h);
}