dawn-cmake/test/tint/expressions/binary/add/scalar-scalar/f16.wgsl.expected.dxc.hlsl

8 lines
154 B
HLSL

[numthreads(1, 1, 1)]
void f() {
const float16_t a = float16_t(1.0h);
const float16_t b = float16_t(2.0h);
const float16_t r = (a + b);
return;
}