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