Sign in
dawn
/
dawn
/
a532ca42a219ce986809727d98f480109d07653f
/
.
/
test
/
tint
/
expressions
/
binary
/
mod
/
scalar-vec3
/
f32.wgsl.expected.ir.dxc.hlsl
blob: a6cd51c89f2e8f7a8536982c8109935e521ce569 [
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
);
}