Sign in
dawn
/
dawn
/
refs/heads/chromium/5146
/
.
/
test
/
tint
/
expressions
/
binary
/
div_by_zero
/
by_expression
/
scalar-scalar
/
i32.wgsl.expected.msl
blob: c319da32811a1dafeb3780fd4b19e1394d4eca33 [
file
] [
log
] [
blame
] [
edit
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
int
a
=
1
;
int
b
=
0
;
int
const
r
=
(
a
/
as_type
<int>
((
as_type
<uint>
(
b
)
+
as_type
<uint>
(
b
))));
return
;
}