Sign in
dawn
/
dawn
/
096f7148b5de6b967bcf94ae869f9dda543a32fa
/
.
/
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
;
}