Sign in
dawn
/
dawn
/
34a2d6574f5cac23a470da7d6496153cfacb09ed
/
.
/
test
/
tint
/
builtins
/
modf
/
scalar
/
const.wgsl.expected.ir.fxc.hlsl
blob: aa0e5f87f151d6569c2c20c6873fdca66611c885 [
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
;
}