dawn-cmake/test/tint/builtins/modf/scalar/const.wgsl.expected.fxc.hlsl

12 lines
216 B
HLSL
Raw Normal View History

struct modf_result {
float fract;
float whole;
};
[numthreads(1, 1, 1)]
void main() {
const modf_result res = {0.230000019f, 1.0f};
const float fract = res.fract;
const float whole = res.whole;
return;
}