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

11 lines
157 B
Plaintext

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