Sign in
dawn
/
dawn
/
3d64565e2eb8fe4a377b18e288edac70d28d586f
/
.
/
test
/
tint
/
expressions
/
binary
/
mod
/
scalar-vec3
/
f32.wgsl.expected.ir.fxc.hlsl
blob: 0a76ed1f0acc0b85b886e52e7de7f1b6eff411f0 [
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 r
=
(
a
-
((((
v
<
(
0.0f
).
xxx
))
?
(
ceil
(
v
))
:
(
floor
(
v
)))
*
b
));
}