Sign in
dawn
/
tint
/
9943de6813695e831a9e6aa43ae36322e81ae3e6
/
.
/
test
/
expressions
/
binary
/
mod_by_zero
/
by_identifier
/
vec3-vec3
/
u32.wgsl.expected.hlsl
blob: b041731b55ab90d2b24a64cd94b1e9bffe7d5bcf [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
f
()
{
uint3 a
=
uint3
(
1u
,
2u
,
3u
);
uint3 b
=
uint3
(
0u
,
5u
,
0u
);
const
uint3 r
=
(
a
%
(
b
==
uint3
(
0u
,
0u
,
0u
)
?
uint3
(
1u
,
1u
,
1u
)
:
b
));
return
;
}