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