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