blob: 42e4b1a3e871be6a35931e78f53e3ab6ba5baa62 [file] [log] [blame]
struct modf_result_vec2 {
float2 fract;
float2 whole;
};
[numthreads(1, 1, 1)]
void main() {
const modf_result_vec2 res = {float2(0.230000019f, 0.450000048f), float2(1.0f, 3.0f)};
const float2 fract = res.fract;
const float2 whole = res.whole;
return;
}