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

19 lines
298 B
HLSL
Raw Normal View History

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;
}
[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
void i() {
const float s = tint_modf(1.0f).whole;
}