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