dawn-cmake/test/expressions/binary/add/scalar-scalar/f32.wgsl.expected.msl

11 lines
154 B
Plaintext

#include <metal_stdlib>
using namespace metal;
kernel void f() {
float const a = 1.0f;
float const b = 2.0f;
float const r = (a + b);
return;
}