Sign in
dawn
/
dawn
/
18b966321bca9ed2a7787c0adbbb18d013fac43e
/
.
/
test
/
tint
/
expressions
/
binary
/
mod_by_zero
/
by_identifier
/
vec3-vec3
/
i32.wgsl.expected.hlsl
blob: 97e59e62545810c986af08a883b56305404d1b4a [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
f
()
{
int3 a
=
int3
(
1
,
2
,
3
);
int3 b
=
int3
(
0
,
5
,
0
);
const
int3 r
=
(
a
%
(
b
==
int3
(
0
,
0
,
0
)
?
int3
(
1
,
1
,
1
)
:
b
));
return
;
}