dawn-cmake/test/tint/expressions/binary/add/scalar-vec3/f32.wgsl.expected.hlsl

8 lines
142 B
HLSL

[numthreads(1, 1, 1)]
void f() {
const float a = 4.0f;
const float3 b = float3(1.0f, 2.0f, 3.0f);
const float3 r = (a + b);
return;
}