Sign in
dawn
/
dawn
/
669e15e1390960b58a705fa2116c36c868730ef3
/
.
/
test
/
tint
/
builtins
/
modf.wgsl.expected.dxc.hlsl
blob: 241119041853904dbd57087bdbf650bbf2dcd4ad [
file
] [
log
] [
blame
]
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
;
}