Sign in
dawn
/
dawn
/
6ef419d29c1385ec0b8bfd313698cfc0c380588f
/
.
/
test
/
tint
/
expressions
/
binary
/
div_by_zero
/
by_constant
/
scalar-vec3
/
i32.wgsl.expected.fxc.hlsl
blob: 99ed924ffe74dbc95951d15ebfaa24ca9e73bbed [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
f
()
{
const
int
a
=
4
;
const
int3 b
=
int3
(
0
,
2
,
0
);
const
int3 r
=
(
a
/
(
b
==
int3
(
0
,
0
,
0
)
?
int3
(
1
,
1
,
1
)
:
b
));
return
;
}