Sign in
dawn
/
dawn
/
3ddc07a18b8a22570ffe1e93f0a11d036462c192
/
.
/
test
/
tint
/
builtins
/
modf
/
scalar
/
const.wgsl.expected.dxc.hlsl
blob: 4a50022cd4c94a63d7512d874cdff2ba3d8f6adb [
file
] [
log
] [
blame
]
struct
modf_result_f32
{
float
fract
;
float
whole
;
};
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
modf_result_f32 res
=
{
0.25f
,
1.0f
};
float
fract
=
res
.
fract
;
float
whole
=
res
.
whole
;
return
;
}