Sign in
dawn
/
dawn
/
2710affeaeca38dbaf3039b95903f113de88b11a
/
.
/
test
/
tint
/
expressions
/
binary
/
mod
/
scalar-vec3
/
f32.wgsl.expected.ir.dxc.hlsl
blob: cfc737a71370374add59375eb5faec981ccc5bcd [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
f
()
{
float
a
=
4.0f
;
float3 b
=
float3
(
1.0f
,
2.0f
,
3.0f
);
float3 v
=
(
a
/
b
);
float3 v_1
=
floor
(
v
);
float3 r
=
(
a
-
((((
v
<
(
0.0f
).
xxx
))
?
(
ceil
(
v
))
:
(
v_1
))
*
b
));
}