Sign in
dawn
/
dawn
/
096f7148b5de6b967bcf94ae869f9dda543a32fa
/
.
/
test
/
tint
/
builtins
/
modf
/
scalar
/
const.wgsl.expected.ir.fxc.hlsl
blob: bbb6870623b20d39c6c95912c1319a4e5cae9071 [
file
] [
log
] [
blame
]
struct
modf_result_f32
{
float
fract
;
float
whole
;
};
[
numthreads
(
1
,
1
,
1
)]
void
main
()
{
modf_result_f32 v
=
{
0.25f
,
1.0f
};
modf_result_f32 res
=
v
;
float
fract
=
res
.
fract
;
modf_result_f32 v_1
=
v
;
float
whole
=
v_1
.
whole
;
}