Sign in
dawn
/
dawn
/
93d2c7f83a67404504da80411d8c8eb809616f70
/
.
/
test
/
tint
/
builtins
/
modf
/
scalar
/
const.wgsl.expected.fxc.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
;
}