dawn-cmake/test/tint/bug/chromium/1236161.wgsl.expected.msl

19 lines
285 B
Plaintext
Raw Normal View History

#include <metal_stdlib>
using namespace metal;
struct modf_result {
float fract;
float whole;
};
modf_result tint_modf(float param_0) {
modf_result result;
result.fract = modf(param_0, result.whole);
return result;
}
void i() {
float const s = tint_modf(1.0f).whole;
}