Sign in
dawn
/
dawn
/
ac03c4031e4975e929b326589d7cc1940cabe834
/
.
/
test
/
tint
/
expressions
/
binary
/
div_by_zero
/
by_constant
/
vec3-vec3
/
i32.wgsl.expected.fxc.hlsl
blob: 30d26ca22f4eb3ff76cb3aeaae4fc312096a39e9 [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
f
()
{
const
int3 a
=
int3
(
1
,
2
,
3
);
const
int3 b
=
int3
(
0
,
5
,
0
);
const
int3 r
=
(
a
/
(
b
==
int3
(
0
,
0
,
0
)
?
int3
(
1
,
1
,
1
)
:
b
));
return
;
}