Sign in
dawn
/
dawn
/
0330f5020ba02d3a018fa987beec9ee5083bbaed
/
.
/
test
/
tint
/
bug
/
tint
/
1083.wgsl.expected.ir.fxc.hlsl
blob: 9874c80b25b91bcb4ee184f502c10707cf0e6588 [
file
] [
log
] [
blame
]
int
tint_div_i32
(
int
lhs
,
int
rhs
)
{
return
(
lhs
/
((((
rhs
==
0
)
|
((
lhs
==
-
2147483648
)
&
(
rhs
==
-
1
))))
?
(
1
)
:
(
rhs
)));
}
[
numthreads
(
1
,
1
,
1
)]
void
f
()
{
int
a
=
1
;
int
b
=
0
;
int
c
=
tint_div_i32
(
a
,
b
);
}